-
Notifications
You must be signed in to change notification settings - Fork 26
/
Cargo.toml
56 lines (52 loc) · 1.46 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
[package]
name = "serde-generate"
version = "0.26.0"
description = "Library to generate (de)serialization code in multiple languages"
documentation = "https://docs.rs/serde-generate"
repository = "https://github.com/zefchain/serde-reflection"
authors = ["Mathieu Baudet <[email protected]>"]
license = "MIT OR Apache-2.0"
readme = "README.md"
keywords = ["data-structures", "serialization", "serde"]
categories = ["encoding", "development-tools"]
edition = "2021"
rust-version = "1.60"
exclude = [
# Readme template that doesn't need to be included.
"README.tpl",
]
autotests = false
[dependencies]
heck = "0.3.2"
include_dir = { version = "0.6.0", optional = true }
serde = { version = "1.0.126", features = ["derive"] }
textwrap = "0.13.4"
phf = { version = "0.10", features = ["macros"], optional = true }
serde-reflection = { path = "../serde-reflection", version = "0.4.0" }
[dev-dependencies]
hex = "0.4.3"
lazy_static = "1.4.0"
regex = "1.5.5"
tempfile = "3.2.0"
which = "4.1.0"
serde_bytes = "0.11.5"
serde_yaml = "0.8.17"
bincode = "1.3.3"
bcs = "0.1.3"
maplit = "1.0.2"
[features]
default = ["cpp", "csharp", "dart", "golang", "java", "ocaml", "python3", "rust", "swift", "typescript"]
cpp = []
csharp = ["include_dir"]
dart = ["include_dir"]
golang = []
java = ["include_dir"]
ocaml = ["phf", "include_dir"]
python3 = []
rust = []
swift = ["include_dir"]
typescript = ["include_dir"]
[[test]]
name = "integration_tests"
path = "tests/lib.rs"
harness = true