Parse rule files with Rust

This commit is contained in:
topjohnwu
2023-05-24 19:11:56 -07:00
parent 5a94ef9106
commit 18d0cedbe2
16 changed files with 176 additions and 93 deletions

View File

@@ -8,8 +8,9 @@ crate-type = ["staticlib"]
path = "lib.rs"
[build-dependencies]
cxx-gen = { path = "../external/cxx-rs/gen/lib" }
cxx-gen = { workspace = true }
[dependencies]
base = { path = "../base" }
cxx = { path = "../external/cxx-rs" }
magiskpolicy = { path = "../sepolicy" }
cxx = { workspace = true }

View File

@@ -1,4 +1,6 @@
pub use logging::*;
// Has to be pub so all symbols in that crate is included
pub use magiskpolicy;
mod logging;