# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2018" rust-version = "1.65.0" name = "uom" version = "0.36.0" authors = ["Mike Boutin "] autobins = true autoexamples = true autotests = true autobenches = true description = "Units of measurement" documentation = "https://docs.rs/uom" readme = "README.md" keywords = [ "units", "measurement", "SI", "dimensional-analysis", "no_std", ] categories = [ "no-std", "science", "value-formatting", ] license = "Apache-2.0 OR MIT" repository = "https://github.com/iliekturtles/uom" [package.metadata.docs.rs] features = [ "usize", "u32", "u64", "isize", "i32", "i64", "bigint", "biguint", "rational", "rational32", "rational64", "bigrational", "serde", ] [[example]] name = "base" required-features = [ "autoconvert", "f32", "si", ] [[example]] name = "mks" required-features = ["f32"] [[example]] name = "si" required-features = [ "f32", "si", ] [[example]] name = "unit" required-features = [ "f32", "si", ] [dependencies.num-bigint] version = "0.4" features = ["std"] optional = true default-features = false [dependencies.num-complex] version = "0.4" features = ["std"] optional = true default-features = false [dependencies.num-rational] version = "0.4" optional = true default-features = false [dependencies.num-traits] version = "0.2" default-features = false [dependencies.serde] version = "1.0" optional = true default-features = false [dependencies.typenum] version = "1.13" [dev-dependencies.approx] version = "0.5" [dev-dependencies.quickcheck] version = "1.0" [dev-dependencies.serde_json] version = "1.0" [dev-dependencies.static_assertions] version = "1.1" [features] autoconvert = [] bigint = ["bigint-support"] bigint-support = [ "num-bigint", "num-rational/num-bigint-std", ] bigrational = ["bigint-support"] biguint = ["bigint-support"] complex-support = ["num-complex"] complex32 = ["complex-support"] complex64 = ["complex-support"] default = [ "autoconvert", "f32", "f64", "si", "std", ] f32 = [] f64 = [] i128 = ["rational-support"] i16 = ["rational-support"] i32 = ["rational-support"] i64 = ["rational-support"] i8 = ["rational-support"] isize = ["rational-support"] rational = ["rational-support"] rational-support = ["num-rational"] rational32 = ["rational-support"] rational64 = ["rational-support"] serde = [ "dep:serde", "num-rational?/serde", "num-bigint?/serde", "num-complex?/serde", ] si = [] std = ["num-traits/std"] try-from = [] u128 = ["rational-support"] u16 = ["rational-support"] u32 = ["rational-support"] u64 = ["rational-support"] u8 = ["rational-support"] use_serde = ["serde"] usize = ["rational-support"] [badges.maintenance] status = "actively-developed"