-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathCargo.toml
73 lines (58 loc) · 1.35 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
65
66
67
68
69
70
71
72
73
[workspace]
members = [
"derive",
"tests/serde",
"tests/fmt",
"json",
"json/benches",
"json/tests",
]
[package]
name = "sval"
version = "0.1.4"
authors = ["Ashley Mannix <[email protected]>"]
edition = "2018"
documentation = "https://docs.rs/sval"
description = "A no-std, object-safe serialization framework"
repository = "https://github.com/sval-rs/sval"
readme = "README.md"
exclude = [
".travis.yml"
]
license = "Apache-2.0 OR MIT"
keywords = ["serialization", "no_std"]
categories = ["encoding", "no-std"]
[package.metadata.docs.rs]
features = ["derive", "serde", "fmt", "test"]
[badges]
travis-ci = { repository = "sval-rs/sval" }
[features]
# Support the standard library
std = []
# Support stacks with an arbitrary depth
arbitrary-depth = ["std", "smallvec"]
# Add a custom derive for `Value`
derive = ["sval_derive"]
# Support streaming values as tokens
# that can be inspected in tests
test = ["std"]
# Support integration with `std::fmt`
fmt = []
# Support integration with `serde`
serde = ["std", "serde_lib/std"]
[dependencies.smallvec]
version = "0.6"
optional = true
[dependencies.serde_lib]
version = "1"
optional = true
default-features = false
package = "serde"
[dependencies.sval_derive]
version = "0.1.4"
path = "./derive"
optional = true
[dev-dependencies.quickcheck]
version = "0.8"
[profile.release]
debug = true