Cargo Features
[dependencies]
xbytes = { version = "0.1.1", default-features = false, features = ["bits", "u128", "lossless", "no-panic", "case-insensitive"] }
- default = lossless, no-panic, u128
-
These default features are set whenever
xbytes
is added without
somewhere in the dependency tree.default-features = false - bits
- u128 default
-
Affects
xbytes::Int
,unit::decimal.ZETTA_BIT
,unit::decimal.YOTTA_BIT
,unit::decimal.ZETTA_BYTE
,unit::decimal.YOTTA_BYTE
,unit::binary.ZEBI_BIT
,unit::binary.YOBI_BIT
,unit::binary.ZEBI_BYTE
,unit::binary.YOBI_BYTE
… - lossless default no-panic = fraction
-
Affects
xbytes::Float
… - no-panic default = lossless
- case-insensitive
Features from optional dependencies
In crates that don't use the dep:
syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.
- fraction lossless
-
Enables fraction ^0.14.0