You've already forked KernelSU-Next
mirror of
https://github.com/KernelSU-Next/KernelSU-Next.git
synced 2025-08-27 23:46:34 +00:00
35 lines
980 B
TOML
35 lines
980 B
TOML
[package]
|
|
name = "ksuinit"
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
|
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
|
|
[dependencies]
|
|
|
|
# for elf parsing
|
|
goblin = { git = "https://github.com/tiann/goblin" }
|
|
scroll = "0.12"
|
|
|
|
anyhow = "1"
|
|
# If you want to use the following dependencies, please use aarch64-unknown-linux-musl & x86_64-unknown-linux-musl to compile statically
|
|
# rustix = { git = "https://github.com/bytecodealliance/rustix", rev = "7b44528", features = ["mount", "fs", "runtime", "system", "process"] }
|
|
rustix = { git = "https://github.com/Kernel-SU/rustix.git", rev = "4a53fbc", features = ["mount", "fs", "runtime", "system", "process"] }
|
|
|
|
syscalls = { version = "0.6", default-features = false, features = [
|
|
"aarch64",
|
|
"x86_64",
|
|
] }
|
|
|
|
# for kmsg logging
|
|
log = "0.4"
|
|
kernlog = { git = "https://github.com/tiann/kernlog.rs" }
|
|
|
|
obfstr = "0.4"
|
|
|
|
[profile.release]
|
|
strip = true
|
|
lto = true
|
|
opt-level = "z"
|
|
panic = "abort"
|