36 releases (15 stable)
| 2.3.5 | Nov 20, 2025 |
|---|---|
| 2.2.0 | Oct 8, 2025 |
| 2.0.0-rc.3 | Jul 10, 2025 |
| 1.9.9 | May 27, 2025 |
| 0.8.17 | Nov 7, 2024 |
#1 in #outer
107 downloads per month
5.5MB
44K
SLoC
Contains (Windows DLL, 2MB) AdGuard.Utils.dll, (Windows DLL, 1MB) AdGuard.Utils.Base.dll, (JAR file, 60KB) gradle-wrapper.jar
FFI for AdGuard FLM
This crate is a set of bindings over filter-list-manager and build configurations for FFI bindings to interface with other programming languages.
FFI transport are implemented as C language interface (outer side) using protocol buffers for serialisation. On rust side (inner side) there is a dispatcher that passes the FFI function call to foreign language.
How to build
Re-generate protobuf and headers
You may need regenerate protobuf files for rust and flm_native_interface.h header:
cargo run -p ffi-native-assets-generator.
It's better run this operation from the workspace root.
Build library
cargo run -p adguard-flm-ffi from workspace root
Platforms
FFI-specific symbols
Look at these symbols for better understanding FFI interface.
Library facade
You can check rust facade here for library functions signatures.
Models
Errors
OuterError - flattened enum from adguard_flm::FLMError.
Source
Dependencies
~36–53MB
~825K SLoC