mirror of
https://github.com/EasyTier/EasyTier.git
synced 2026-09-02 09:09:17 +00:00
Add config server client support for the C FFI and Android JNI bindings. Reuse the existing easytier::web_client::run_web_client path and NetworkInstanceManager; OHOS is unchanged. Report successful remote config apply/delete operations through a callback, with one JSON event per affected instance. Keep the config server client and FFI data plane mutually exclusive: once either side is in use, the other side returns an error instead of sharing lifecycle state.
18 lines
383 B
TOML
18 lines
383 B
TOML
[package]
|
|
name = "easytier-android-jni"
|
|
version = "0.1.0"
|
|
edition.workspace = true
|
|
|
|
[lib]
|
|
crate-type = ["cdylib"]
|
|
|
|
[dependencies]
|
|
jni = "0.21"
|
|
once_cell = "1.18.0"
|
|
log = "0.4"
|
|
android_logger = "0.13"
|
|
serde = { version = "1.0.220", features = ["derive"] }
|
|
serde_json = "1.0"
|
|
easytier = { path = "../../easytier" }
|
|
easytier-ffi = { path = "../easytier-ffi", default-features = false }
|