-
-
Notifications
You must be signed in to change notification settings - Fork 36
/
Cargo.toml
45 lines (38 loc) · 1.08 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
[package]
name = "erased-serde"
version = "0.4.5"
authors = ["David Tolnay <[email protected]>"]
categories = ["encoding", "rust-patterns", "no-std"]
description = "Type-erased Serialize and Serializer traits"
documentation = "https://docs.rs/erased-serde"
edition = "2021"
exclude = ["benches"]
keywords = ["serde", "erasure"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/dtolnay/erased-serde"
rust-version = "1.61"
[dependencies]
serde = { version = "1.0.194", default-features = false }
typeid = "1"
[dev-dependencies]
rustversion = "1.0.13"
serde_cbor = "0.11.2"
serde_derive = "1.0.194"
serde_json = "1.0.99"
trybuild = { version = "1.0.83", features = ["diff"] }
[features]
# Note: at least one of "std" or "alloc" must be enabled.
default = ["std"]
std = ["alloc", "serde/std"]
alloc = ["serde/alloc"]
unstable-debug = []
[[test]]
name = "test"
path = "tests/readme.rs"
[workspace]
members = ["explanation", "tests/crate"]
[lib]
doc-scrape-examples = false
[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]
rustdoc-args = ["--generate-link-to-definition"]