Registry / utility / custom-codes

custom-codes

JSON →
library2.0.4rscratesunverified

Simple uniform response and error codes backed by enums.

# Cargo.toml [dependencies] custom_codes = "2.0.4"
INSTALL
IMPORT
SIG · CUSTOM-CODES
C
custom-codes
utilityrustv2.0.4
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Code
use custom_codes::Code;

Creates a success code and prints it.

use custom_codes::Code; fn main() { let code = Code::Success; println!("{}", code); }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
2.0.4latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
10 hits · last 30 days
node
9
Amazon
1
Resources
custom-codes — cargo add custom-codes · libregistry