[package] name = "att_adblock" version = "0.1.0" edition = "2021" publish = false # A thin C API over Brave's adblock-rust, linked into att as a static library # (see src/adblock.h for the C++ side and att_adblock.h for the declarations). [lib] crate-type = ["staticlib"] [dependencies] # Without the default "single-thread" feature the Engine is Send + Sync, so it # can be built on a worker thread and queried from QtWebEngine's IO thread. adblock = { version = "0.13.3", default-features = false, features = ["embedded-domain-resolver", "full-regex-handling"] } [profile.release] lto = true codegen-units = 1