Registry / utility / konst
library0.4.3rscratesunverified

Provides const equivalents of standard library features like comparison, destructuring, iteration, and parsing.

# Cargo.toml [dependencies] konst = "0.4.3"
INSTALL
IMPORT
SIG · KONST
K
konst
utilityrustv0.4.3
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.

ConstCmp
use konst::compare::ConstCmp;

Compare two values at compile time.

use konst::compare::ConstCmp; fn main() { let result = ConstCmp::cmp(&1, &2); println!("{:?}", result); }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.4.3latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
8 hits · last 30 days
node
8
Resources
konst — cargo add konst · libregistry