-
Notifications
You must be signed in to change notification settings - Fork 22
/
Cargo.toml
55 lines (46 loc) · 1.06 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
[package]
name = "atc-router"
version = "1.7.0"
edition = "2021"
license = "Apache-2.0"
authors = ["Datong Sun <datong.sun@konghq.com>", "Kong Contributors"]
description = """
Versatile DSL based rule matching engine used by the Kong API Gateway
"""
repository = "https://github.com/Kong/atc-router"
keywords = ["dsl", "atc", "router", "rule", "engine"]
categories = ["compilers"]
[dependencies]
pest = "2.7"
pest_derive = "2.7"
cidr = "0.3"
lazy_static = "1.5"
uuid = "1.8"
regex = "1"
serde = { version = "1.0", features = ["derive"], optional = true }
serde_regex = { version = "1.1", optional = true }
fnv = "1"
bitflags = { version = "2.6", optional = true }
[dev-dependencies]
criterion = "0"
[lib]
crate-type = ["lib", "cdylib", "staticlib"]
[features]
default = ["ffi"]
ffi = ["dep:bitflags"]
serde = ["cidr/serde", "dep:serde", "dep:serde_regex"]
[[bench]]
name = "test"
harness = false
[[bench]]
name = "string"
harness = false
[[bench]]
name = "match_mix"
harness = false
[[bench]]
name = "not_match_mix"
harness = false
[[bench]]
name = "build"
harness = false