[[bench]]
harness = false
name = "bench_fraction"
[dependencies.byteorder]
optional = true
version = "1"
[dependencies.bytes]
optional = true
version = "1"
[dependencies.juniper]
optional = true
version = "0.15"
[dependencies.lazy_static]
optional = true
version = "1"
[dependencies.num]
default-features = false
version = "0.4.2"
[dependencies.postgres-types]
optional = true
version = "0.2"
[dependencies.serde]
optional = true
version = "1"
[dependencies.serde_derive]
optional = true
version = "1"
[dev-dependencies.criterion]
version = "0.4"
[dev-dependencies.rand]
version = "0.8.5"
[features]
default = ["with-bigint", "with-decimal", "with-dynaint"]
with-approx = ["with-bigint"]
with-bigint = ["num/num-bigint", "num/std", "lazy_static"]
with-decimal = []
with-dynaint = []
with-juniper-support = ["juniper"]
with-postgres-support = ["postgres-types", "byteorder", "bytes"]
with-serde-support = ["serde", "serde_derive", "num/serde"]
with-unicode = []
[package]
authors = ["dnsl48 <dnsl48@gmail.com>"]
categories = ["data-structures"]
description = "Lossless fractions and decimals; drop-in float replacement"
documentation = "https://docs.rs/fraction/"
exclude = ["src/tests/division/*"]
homepage = "https://github.com/dnsl48/fraction.git"
keywords = ["fraction", "decimal", "float", "numeric"]
license = "MIT/Apache-2.0"
name = "fraction"
readme = "README.md"
repository = "https://github.com/dnsl48/fraction.git"
version = "0.15.3"
[package.metadata.docs.rs]
all-features = true
[profile.test]
opt-level = 3