| 1 |
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO |
| 2 |
# |
| 3 |
# When uploading crates to the registry Cargo will automatically |
| 4 |
# "normalize" Cargo.toml files for maximal compatibility |
| 5 |
# with all versions of Cargo and also rewrite `path` dependencies |
| 6 |
# to registry (e.g., crates.io) dependencies. |
| 7 |
# |
| 8 |
# If you are reading this file be aware that the original Cargo.toml |
| 9 |
# will likely look very different (and much more reasonable). |
| 10 |
# See Cargo.toml.orig for the original contents. |
| 11 |
|
| 12 |
[package] |
| 13 |
edition = "2015" |
| 14 |
name = "bigdecimal" |
| 15 |
version = "0.4.10" |
| 16 |
authors = ["Andrew Kubera"] |
| 17 |
build = "build.rs" |
| 18 |
include = [ |
| 19 |
"LICENSE-APACHE", |
| 20 |
"LICENSE-MIT", |
| 21 |
"README.md", |
| 22 |
"build.rs", |
| 23 |
"src/**/*.rs", |
| 24 |
] |
| 25 |
autolib = false |
| 26 |
autobins = false |
| 27 |
autoexamples = false |
| 28 |
autotests = false |
| 29 |
autobenches = false |
| 30 |
description = "Arbitrary precision decimal numbers" |
| 31 |
homepage = "https://github.com/akubera/bigdecimal-rs" |
| 32 |
documentation = "https://docs.rs/bigdecimal" |
| 33 |
readme = "README.md" |
| 34 |
keywords = [ |
| 35 |
"numerics", |
| 36 |
"bignum", |
| 37 |
"decimal", |
| 38 |
"arbitrary-precision", |
| 39 |
] |
| 40 |
categories = [ |
| 41 |
"mathematics", |
| 42 |
"science", |
| 43 |
"no-std", |
| 44 |
] |
| 45 |
license = "MIT/Apache-2.0" |
| 46 |
repository = "https://github.com/akubera/bigdecimal-rs" |
| 47 |
|
| 48 |
[features] |
| 49 |
default = ["std"] |
| 50 |
serde-json = [ |
| 51 |
"serde/derive", |
| 52 |
"serde_json", |
| 53 |
] |
| 54 |
std = [ |
| 55 |
"num-bigint/std", |
| 56 |
"num-integer/std", |
| 57 |
"num-traits/std", |
| 58 |
] |
| 59 |
string-only = [] |
| 60 |
|
| 61 |
[lib] |
| 62 |
name = "bigdecimal" |
| 63 |
path = "src/lib.rs" |
| 64 |
bench = false |
| 65 |
|
| 66 |
[dependencies.libm] |
| 67 |
version = "0.2.6" |
| 68 |
|
| 69 |
[dependencies.num-bigint] |
| 70 |
version = "0.4" |
| 71 |
default-features = false |
| 72 |
|
| 73 |
[dependencies.num-integer] |
| 74 |
version = "0.1" |
| 75 |
default-features = false |
| 76 |
|
| 77 |
[dependencies.num-traits] |
| 78 |
version = "0.2" |
| 79 |
default-features = false |
| 80 |
|
| 81 |
[dependencies.serde] |
| 82 |
version = "1.0" |
| 83 |
optional = true |
| 84 |
default-features = false |
| 85 |
|
| 86 |
[dependencies.serde_json] |
| 87 |
version = "1.0" |
| 88 |
features = [ |
| 89 |
"alloc", |
| 90 |
"arbitrary_precision", |
| 91 |
] |
| 92 |
optional = true |
| 93 |
default-features = false |
| 94 |
|
| 95 |
[dev-dependencies.paste] |
| 96 |
version = "1" |
| 97 |
|
| 98 |
[dev-dependencies.serde_test] |
| 99 |
version = "<1.0.176" |
| 100 |
|
| 101 |
[dev-dependencies.siphasher] |
| 102 |
version = "0.3.10" |
| 103 |
default-features = false |
| 104 |
|
| 105 |
[build-dependencies.autocfg] |
| 106 |
version = "1" |
| 107 |
|
| 108 |
[lints.rust.unexpected_cfgs] |
| 109 |
level = "allow" |
| 110 |
priority = 0 |
| 111 |
check-cfg = ["cfg(no_track_caller)"] |