fork/ubjson

git clone https://git.julia.blue/fork/ubjson

Mathieu AmiotWIP5a2d52a

serde
880 B50 linesraw
1[package]
2name = "ubjson"
3description = "UBJSON parser"
4documentation = "https://docs.rs/ubjson"
5homepage = "https://github.com/OtaK/ubjson"
6include = [
7    "**/*.rs",
8    "Cargo.toml",
9]
10keywords = [
11    "ubjson",
12    "ubj",
13    "nom",
14    "serde"
15]
16license = "MIT/Apache-2.0"
17repository = "https://github.com/OtaK/ubjson"
18version = "0.1.0"
19authors = ["Mathieu Amiot <amiot.mathieu@gmail.com>"]
20edition = "2018"
21
22[dependencies]
23nom = "6.0"
24num_enum = "0.5"
25thiserror = "1.0"
26anyhow = "1.0"
27serde = { version = "1.0", optional = true }
28serde_json = { version = "1.0", optional = true }
29
30[features]
31default = []
32
33[dev-dependencies]
34criterion = "0.3"
35serde = "1.0"
36serde_json = "1.0"
37
38[[bench]]
39name = "ubjson"
40path = "bench/ubjson.rs"
41harness = false
42
43[[bench]]
44name = "vs_serde_json"
45path = "bench/vs_serde_json.rs"
46harness = false
47
48[profile.release]
49lto = true
50codegen-units = 1