[[example]]
name = "base"
required-features = ["autoconvert", "f32", "si"]
[[example]]
name = "mks"
required-features = ["f32"]
[[example]]
name = "si"
required-features = ["f32", "si"]
[badges.coveralls]
repository = "iliekturtles/uom"
[badges.maintenance]
status = "actively-developed"
[badges.travis-ci]
repository = "iliekturtles/uom"
[dependencies.num-bigint]
default-features = false
features = ["std"]
optional = true
version = "0.3"
[dependencies.num-rational]
default-features = false
optional = true
version = "0.3"
[dependencies.num-traits]
default-features = false
version = "0.2"
[dependencies.serde]
default-features = false
optional = true
version = "1.0"
[dependencies.typenum]
version = "1.9"
[dev-dependencies.approx]
version = "0.3"
[dev-dependencies.quickcheck]
version = "0.9.2"
[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"]
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"]
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"]
[package]
authors = ["Mike Boutin <mike.boutin@gmail.com>"]
autobenches = true
autobins = true
autoexamples = true
autotests = true
categories = ["no-std", "science", "value-formatting"]
description = "Units of measurement"
documentation = "https://docs.rs/uom"
edition = "2018"
keywords = ["units", "measurement", "SI", "dimensional-analysis", "no_std"]
license = "Apache-2.0/MIT"
name = "uom"
readme = "README.md"
repository = "https://github.com/iliekturtles/uom"
version = "0.30.0"
[package.metadata.docs.rs]
all-features = true