mirror of
https://github.com/topjohnwu/Magisk.git
synced 2025-12-11 07:22:35 +00:00
36 lines
882 B
TOML
36 lines
882 B
TOML
[package]
|
|
name = "magisk"
|
|
version.workspace = true
|
|
edition.workspace = true
|
|
|
|
[lib]
|
|
crate-type = ["staticlib"]
|
|
path = "lib.rs"
|
|
|
|
[features]
|
|
default = ["check-signature", "check-client", "su-check-db"]
|
|
|
|
# Disable these features for easier debugging during development
|
|
check-signature = []
|
|
check-client = []
|
|
su-check-db = []
|
|
|
|
[lints]
|
|
workspace = true
|
|
|
|
[build-dependencies]
|
|
cxx-gen = { workspace = true }
|
|
pb-rs = { workspace = true }
|
|
|
|
[dependencies]
|
|
base = { workspace = true, features = ["selinux"] }
|
|
cxx = { workspace = true }
|
|
num-traits = { workspace = true }
|
|
num-derive = { workspace = true }
|
|
quick-protobuf = { workspace = true }
|
|
bytemuck = { workspace = true, features = ["derive"] }
|
|
thiserror = { workspace = true }
|
|
bit-set = { workspace = true }
|
|
nix = { workspace = true, features = ["fs", "mount", "poll", "signal", "term", "user", "zerocopy"] }
|
|
bitflags = { workspace = true }
|