fork/ubjson

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

Mathieu AmiotAdd a bit of documentation and publish prepc747f88

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