-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathCargo.toml
39 lines (34 loc) · 976 Bytes
/
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
[package]
name = "clash_rules"
version = "0.1.19"
edition = "2021"
categories = ["data-structures", "config", "algorithms"]
keywords = ["clash", "yaml", "radix_trie", "Aho-Corasick"]
license = "MIT OR Apache-2.0"
readme = "README.md"
description = "a clash yaml rule parser and matching algorithms provider"
homepage = "https://github.com/e1732a364fed/clash_rules"
repository = "https://github.com/e1732a364fed/clash_rules"
[dependencies]
aho-corasick = "1"
ipnet = "2"
prefix-trie = "0.6"
radix_trie = "0.2"
serde = { version = "1", features = ["derive"] }
serde_yaml_ng = { version = "0.10", optional = true }
maxminddb = { version = "0.24", optional = true }
rusqlite = { version = "0.33", features = [
"serialize",
"bundled",
], optional = true }
regex = "1.11.1"
thiserror = "2.0.11"
[dev-dependencies]
rand = "0.9"
criterion = "0.5"
bloomfilter = "3"
[features]
default = ["maxminddb", "rusqlite", "serde_yaml_ng"]
[[bench]]
name = "algorithms"
harness = false