-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
96 lines (82 loc) · 1.81 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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
[package]
name = "binator"
authors = ["Stargateur <plaskowski.stanislas@gmail.com>"]
version = "0.3.0"
description = "Parser Combinator"
license = "Zlib"
repository = "https://github.com/binator/self"
readme = "readme.md"
keywords = ["parsing", "combinator", "utils"]
categories = ["parsing"]
edition = "2021"
include = [
"readme.md",
"license.md",
"Cargo.toml",
"build.rs",
"rustfmt.toml",
"src/**/*.rs",
]
[package.metadata.docs.rs]
all-features = true
[profile.release]
lto = true
codegen-units = 1
opt-level = 3
[profile.bench]
lto = true
codegen-units = 1
opt-level = 3
[features]
default = ["stack", "tree", "alloc", "radix", "serde", "hashmap", "std", "smallvec/serde",
"either", "tracing"]
std = ["alloc"]
alloc = []
hashmap = ["std"]
stack = ["smallvec"]
tree = ["smallvec", "alloc"]
radix = ["num-traits"]
serde = ["dep:serde"]
either = ["dep:either"]
tracing = ["dep:tracing"]
[dependencies.paste]
version = "1"
default-features = false
[dependencies.owo-colors]
version = "3"
default-features = false
[dependencies.num-traits]
version = "0.2"
optional = true
default-features = false
[dependencies.tracing]
version = "0.1"
optional = true
default-features = false
features = ["attributes"]
[dependencies.serde]
version = "1.0"
optional = true
default-features = false
features = ["derive"]
[dependencies.either]
version = "1.7"
optional = true
default-features = false
[dependencies.smallvec]
version = "1.7"
optional = true
default-features = false
features = ["const_new", "union", "const_generics"]
[dev-dependencies]
derive_more = "0.99"
derive-new = "0.5"
rand = "0.8.4"
tracing = "0.1"
tracing-subscriber = {version = "0.3", features = ["env-filter", "fmt"]}
env_logger = "0.9"
test-log = { version = "0.2.10", features = ["trace"] }
[build-dependencies]
quote = "1"
rustfmt-wrapper = "0.1"
syn = "1"