Cargo Features
[dependencies]
geo-uom = { version = "0.37.0", default-features = false, features = ["std", "autoconvert", "u128", "i128", "biguint", "rational64", "bigrational", "complex64", "f64", "si", "serde", "try-from", "use_serde", "rational-support", "bigint-support", "complex-support"] }
- default = autoconvert, f32, f64, si, std
-
These default features are set whenever
geo-uom
is added without
somewhere in the dependency tree.default-features = false - std default
-
Enables std of num-traits
- autoconvert default
-
Affects
si::marker.impl_from
… - usize u8 u16 u32 u64 u128 = rational-support
- isize i8 i16 i32 i64 i128 = rational-support
- bigint biguint = bigint-support
- rational rational32 rational64 = rational-support
- bigrational = bigint-support
- complex32 complex64 = complex-support
- f32 f64 default
- si default
-
Affects
geo-uom::si
… - serde use_serde?
-
Enables serde, serde of optional num-bigint, optional num-complex, and optional num-rational
- try-from
-
The try-from feature is deprecated and will be removed in a future release of uom. Functionality previously exposed by the feature is now enabled by default.
- use_serde = serde
-
Deprecated alias for the serde feature. Will be removed in a future release of uom (v0.37.0+)
- rational-support i128? i16? i32? i64? i8? isize? rational? rational32? rational64? u128? u16? u32? u64? u8? usize? = num-rational
-
Internal features to include appropriate num-* crates.
Affects
geo-uom::num.Rational
,geo-uom::num.rational
… - bigint-support bigint? bigrational? biguint? = num-bigint
-
Enables num-bigint-std of num-rational
Affects
geo-uom::num.rational
… - complex-support complex32? complex64? = num-complex
-
Affects
geo-uom::num.complex
…
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.