# 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 believe there's an error in this file please file an # issue against the rust-lang/cargo repository. If you're # editing this file be aware that the upstream Cargo.toml # will likely look very different (and much more reasonable) [package] edition = "2018" name = "rust_decimal" version = "1.7.0" authors = ["Paul Mason "] description = "A Decimal Implementation written in pure Rust suitable for financial calculations." documentation = "https://docs.rs/rust_decimal/" readme = "./README.md" keywords = ["decimal", "financial", "fixed", "precision"] categories = ["science", "data-structures"] license = "MIT" repository = "https://github.com/paupino/rust-decimal" [dependencies.byteorder] version = "1.3" optional = true [dependencies.bytes] version = "0.5" optional = true [dependencies.diesel] version = "1.4" features = ["postgres"] optional = true default-features = false [dependencies.num-traits] version = "0.2" [dependencies.postgres] version = "0.17" optional = true [dependencies.serde] version = "1.0" optional = true [dependencies.tokio-postgres] version = "0.5" optional = true [dev-dependencies.bincode] version = "1.3" [dev-dependencies.bytes] version = "0.5" [dev-dependencies.futures] version = "0.3" [dev-dependencies.rand] version = "0.7" [dev-dependencies.serde_derive] version = "1.0" [dev-dependencies.serde_json] version = "1.0" [dev-dependencies.tokio] version = "0.2" features = ["rt-threaded", "test-util", "macros"] [features] db-diesel-postgres = ["diesel"] db-postgres = ["postgres", "bytes", "byteorder"] db-tokio-postgres = ["postgres", "tokio-postgres", "bytes", "byteorder"] default = ["serde"] serde-bincode = ["serde"] serde-float = ["serde"] tokio-pg = ["db-tokio-postgres"]