-
Notifications
You must be signed in to change notification settings - Fork 6
/
Cargo.toml
64 lines (57 loc) · 1.61 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
[package]
name = "fixnum"
version = "0.9.2"
description = "Fixed-point numbers with explicit rounding"
keywords = ["fixed", "decimal", "numbers"]
authors = ["Paul Loyd <[email protected]>"]
repository = "https://github.com/loyd/fixnum"
license = "MIT OR Apache-2.0"
readme = "README.md"
edition = "2021"
categories = ["no-std"]
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]
[[bench]]
name = "ops"
path = "benches/ops.rs"
harness = false
[[bench]]
name = "serde"
path = "benches/serde.rs"
harness = false
required-features = ["serde"]
[[example]]
name = "usage"
path = "examples/usage.rs"
required-features = ["i64"]
[features]
default = ["std"]
std = ["derive_more/error"]
i16 = []
i32 = []
i64 = []
i128 = []
serde = ["dep:serde"]
schemars = ["dep:schemars"]
parity = ["parity-scale-codec"]
quick-xml = ["serde?/derive", "serde?/alloc"] # FIXME: quick-xml#473
[dependencies]
serde = { version = "1.0", default-features = false, optional = true }
schemars = { version = "0.8", default-features = false, optional = true }
typenum = "1.12.0"
derive_more = { version = "0.99.9", default-features = false }
parity-scale-codec = { version = "3", default-features = false, optional = true }
static_assertions = "1.1.0"
itoa = "1.0.1"
[dev-dependencies]
anyhow = { version = "1.0.38", default-features = false }
colored = "2.0.0"
criterion = "0.5"
derive_more = "0.99.9"
trybuild = "1.0.85"
serde_json = "1"
proptest = "1.0.0"
rust_decimal = "1.22.0"
quick-xml = { version = "0.24.0", features = ["serialize"] }
serde = { version = "1.0", default-features = false, features = ["derive"] } # FIXME: quick-xml#473