Files
2026-08-01 16:11:49 +03:00

112 lines
2.1 KiB
TOML

# 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 = "2015"
name = "bigdecimal"
version = "0.4.10"
authors = ["Andrew Kubera"]
build = "build.rs"
include = [
"LICENSE-APACHE",
"LICENSE-MIT",
"README.md",
"build.rs",
"src/**/*.rs",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Arbitrary precision decimal numbers"
homepage = "https://github.com/akubera/bigdecimal-rs"
documentation = "https://docs.rs/bigdecimal"
readme = "README.md"
keywords = [
"numerics",
"bignum",
"decimal",
"arbitrary-precision",
]
categories = [
"mathematics",
"science",
"no-std",
]
license = "MIT/Apache-2.0"
repository = "https://github.com/akubera/bigdecimal-rs"
[features]
default = ["std"]
serde-json = [
"serde/derive",
"serde_json",
]
std = [
"num-bigint/std",
"num-integer/std",
"num-traits/std",
]
string-only = []
[lib]
name = "bigdecimal"
path = "src/lib.rs"
bench = false
[dependencies.libm]
version = "0.2.6"
[dependencies.num-bigint]
version = "0.4"
default-features = false
[dependencies.num-integer]
version = "0.1"
default-features = false
[dependencies.num-traits]
version = "0.2"
default-features = false
[dependencies.serde]
version = "1.0"
optional = true
default-features = false
[dependencies.serde_json]
version = "1.0"
features = [
"alloc",
"arbitrary_precision",
]
optional = true
default-features = false
[dev-dependencies.paste]
version = "1"
[dev-dependencies.serde_test]
version = "<1.0.176"
[dev-dependencies.siphasher]
version = "0.3.10"
default-features = false
[build-dependencies.autocfg]
version = "1"
[lints.rust.unexpected_cfgs]
level = "allow"
priority = 0
check-cfg = ["cfg(no_track_caller)"]