ladybird/Libraries/LibWeb/ContentBlocker/Rust/Cargo.toml
Andreas Kling bcdbdbb5b3 LibWeb: Add adblock-rust FFI hooks
Add adblock-rust to a dedicated LibWeb content blocker Rust crate
and expose FFI entry points for creating an engine, matching network
requests, and producing cosmetic CSS. Export a string result type for
returning generated CSS to C++ callers.

Regenerate the Flatpak cargo source list for the new Rust
dependencies.
2026-05-24 08:16:46 +02:00

19 lines
356 B
TOML

[package]
name = "libweb_content_blocker_rust"
version = "0.1.0"
edition = "2024"
[lib]
crate-type = ["staticlib"]
# After changing dependencies, regenerate the Flatpak sources:
# python3 Meta/CMake/flatpak/generate-cargo-sources.py
[dependencies]
adblock = "0.12.5"
serde_json = "1.0"
[build-dependencies]
cbindgen = "0.29"
[lints]
workspace = true