Files
vnt/vnt-jni/Cargo.toml
T
lbl 7d481560e3 规范依赖管理并适配 rand 0.10
- tcp_ip 从 git 依赖切换为 crates.io 0.2(IpStackConfig 改用 builder)
- 公共依赖收拢到 workspace.dependencies 统一版本
- 移除 release profile 的 panic=abort(避免 vnt-jni 中止宿主 JVM)
- vnt-jni 升级 edition 2024(no_mangle 改为 unsafe(no_mangle))
- vnt-ipc 显式声明 tokio features
- 适配 rand 0.10:random_range 移至 RngExt,choose_multiple 改名 sample
- 修复 clippy 警告(type_complexity/collapsible_if/ptr_arg)
2026-08-20 20:58:07 +08:00

22 lines
393 B
TOML

[package]
name = "vnt-jni"
version = "2.0.0"
edition = "2024"
[lib]
crate-type = ["cdylib"]
[dependencies]
vnt-core.workspace = true
jni = "0.21"
tokio = { workspace = true, features = ["full"] }
parking_lot.workspace = true
log.workspace = true
anyhow.workspace = true
serde.workspace = true
serde_json.workspace = true
ipnet.workspace = true
lazy_static = "1.5"
hostname.workspace = true