# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g. crates.io) dependencies
#
# If you believe there's an error in this file please file an
# issue against the rust-lang/cargo repository. If you're
# editing this file be aware that the upstream Cargo.toml
# will likely look very different (and much more reasonable)

[package]
edition = "2018"
name = "adblock"
version = "0.1.28"
authors = ["Andrius Aucinas <aaucinas@brave.com>"]
exclude = ["data/requests.json", "data/matching-tests-requests.json", "data/ublock-matches.tsv", "data/easylist-parse-errors.log"]
description = "Native Rust module for Adblock Plus syntax (e.g. EasyList, EasyPrivacy) filter parsing and matching."
readme = "README.md"
license = "MPL-2.0"
repository = "https://github.com/brave/adblock-rust/"

[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
[dependencies.addr]
version = "0.2"

[dependencies.base64]
version = "0.10"

[dependencies.bincode]
version = "1.1"

[dependencies.bitflags]
version = "1.0"

[dependencies.flate2]
version = "1.0.9"
features = ["rust_backend"]
default-features = false

[dependencies.hashbrown]
version = "0.3"
features = ["serde"]
default-features = false

[dependencies.idna]
version = "0.1"

[dependencies.itertools]
version = "0.8"

[dependencies.lazy_static]
version = "1.3"

[dependencies.lifeguard]
version = "0.6"
optional = true

[dependencies.matches]
version = "0.1"

[dependencies.memoffset]
version = "0.5.1"

[dependencies.regex]
version = "1"

[dependencies.rmp-serde]
version = "0.13.7"

[dependencies.seahash]
version = "3"

[dependencies.serde]
version = "1.0.92"
features = ["derive", "rc"]

[dependencies.tempfile]
version = "~3.0.8"

[dependencies.twoway]
version = "0.2"

[dependencies.url]
version = "1.7"
[dev-dependencies.criterion]
version = "0.2"

[dev-dependencies.csv]
version = "1"

[dev-dependencies.serde_json]
version = "1.0"

[features]
default = ["full-regex-handling", "object-pooling"]
full-domain-matching = []
full-regex-handling = []
metrics = []
object-pooling = ["lifeguard"]
