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