/
Cargo.toml
50 lines (43 loc) · 1.03 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
[package]
name = "cirru_parser"
version = "0.1.29"
authors = ["jiyinyiyong <jiyinyiyong@gmail.com>"]
edition = "2021"
license = "MIT"
description = "Parser for Cirru text syntax"
homepage = "http://cirru.org"
documentation = "https://docs.rs/crate/cirru_parser/"
repository = "https://github.com/Cirru/parser.rs"
readme = "README.md"
exclude = [
"tests/cirru/*",
"tests/data/*",
"tests/writer_cirru/*",
"tests/writer_data/*",
"src/main.rs",
"/wasm-example",
"examples/",
".github/"
]
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[features]
default = []
use-serde = ["serde", "serde_json"]
# ['cfg(features = "use-serde")'.dependencies]
[dependencies]
serde = { version = "1.0.147", optional = true }
serde_json = { version = "1.0.87", optional = true }
bincode = "2.0.0-rc.3"
[dev-dependencies]
criterion = "0.4.0"
[lib]
name = "cirru_parser"
path = "src/parser.rs"
test = true
doctest = true
bench = true
[profile.release]
debug = true
[[bench]]
name = "parsing"
harness = false