-
Notifications
You must be signed in to change notification settings - Fork 3
/
Cargo.toml
97 lines (80 loc) · 1.86 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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
[package]
name = "value-bag"
version = "1.10.0"
authors = ["Ashley Mannix <ashleymannix@live.com.au>"]
edition = "2021"
license = "Apache-2.0 OR MIT"
documentation = "https://docs.rs/value-bag"
description = "Anonymous structured values"
repository = "https://github.com/sval-rs/value-bag"
readme = "README.md"
keywords = ["serialization", "no_std"]
categories = ["encoding", "no-std"]
exclude = [
".github/*",
]
[package.metadata.docs.rs]
features = ["std", "error", "sval", "serde", "test", "owned", "seq"]
[workspace]
members = [
"meta/serde1",
"meta/sval2",
]
[features]
# Store 128bit numbers inline instead of as references
# This may increase the size of `ValueBag` on some platforms
inline-i128 = []
# Use the standard library
std = [
"alloc",
"value-bag-sval2?/std",
"value-bag-serde1?/std",
]
# Assume an allocator
alloc = [
"value-bag-sval2?/alloc",
"value-bag-serde1?/alloc",
]
# Support owned values
owned = [
"alloc",
"value-bag-serde1?/owned",
]
# Utilities for working with sequences
seq = []
# Add support for `sval`
sval = ["sval2"]
sval2 = [
"value-bag-sval2",
]
# Add support for `serde`
serde = ["serde1"]
serde1 = [
"alloc",
"value-bag-serde1",
"value-bag-sval2?/serde1",
]
# Add support for `std::error`
error = [
"std",
]
# Add support for testing the contents of a value bag
test = ["std"]
[dependencies.value-bag-sval2]
version = "1.10.0"
path = "meta/sval2"
optional = true
[dependencies.value-bag-serde1]
version = "1.10.0"
path = "meta/serde1"
optional = true
[dev-dependencies.value-bag-sval2]
path = "meta/sval2"
features = ["test", "json"]
[dev-dependencies.value-bag-serde1]
path = "meta/serde1"
features = ["test", "json"]
[target.'cfg(target_arch = "wasm32")'.dev-dependencies.wasm-bindgen]
version = "0.2"
[target.'cfg(target_arch = "wasm32")'.dev-dependencies.wasm-bindgen-test]
version = "0.3"