[package]
name = "adblock"
version = "0.1.15"
authors = ["Andrius Aucinas <aaucinas@brave.com>"]
edition = "2018"
description = "Native Rust module for Adblock Plus syntax (e.g. EasyList, EasyPrivacy) filter parsing and matching."
repository = "https://github.com/brave/adblock-rust/"
license = "MPL-2.0"
readme = "README.md"
exclude = [
"data/requests.json",
"data/matching-tests-requests.json",
"data/ublock-matches.tsv",
"data/easylist-parse-errors.log",
]
[dependencies]
addr = "0.2"
url = "1.7"
matches = "0.1"
lazy_static = "1.3"
regex = "1"
bitflags = "1.0"
itertools = "0.8"
idna = "0.1"
serde = { version = "1.0", features = ["derive", "rc"] }
bincode = "1.1"
flate2 = { version = "1.0", features = ["rust_backend"], default-features = false }
seahash = "3"
twoway = "0.2"
[dev-dependencies]
criterion = "0.2"
csv = "1"
serde_json = "1.0"
[lib]
bench = false
[[bench]]
name = "bench_regex"
harness = false
[[bench]]
name = "bench_matching"
harness = false
[[bench]]
name = "bench_url"
harness = false
[[bench]]
name = "bench_rules"
harness = false
[features]
full-domain-matching = []