Skip to content

Rust library that's used by AdGuard apps to manage filter lists

License

Notifications You must be signed in to change notification settings

AdguardTeam/FilterListManager

Repository files navigation

AdGuard filter list manager

This repository contains a library for managing AdGuard filter lists and its tools and wrappers.

This library is used by different AdGuard applications to integrate filter registries (FiltersRegistry and HostlistsRegistry), check for updates and download them, implement differential updates, etc.

Crates

  • Filter List Manager: Filter List Manager library core. The main module containing the library itself. This section also contains the main documentation for using the library.
  • FFI: FFI interface for the library. In other words, this is a wrapper for integrating the library into programs written in other programming languages.
  • CLI: CLI tools for the library.

Development

Install rust.

Requirements

Rust 1.75 (versions 1.76+ don't support Windows 7)

Linters

  • Run cargo fmt --all -- --check to check the code formatting.
  • Run npx markdownlint-cli . to lint the documentation.

Tests

Read here how to run tests with coverage.