mirror of
https://github.com/hpd840321/craftlabs-authorization-sdk.git
synced 2026-06-09 10:00:30 +08:00
build(native): rename lib to craftlabs_auth_core, add crypto deps
feat(rust): extend error codes for selfhosted licensing (crypto/license state variants)
This commit is contained in:
@@ -6,13 +6,20 @@ description = "CraftLabs 授权核心库 — Rust 实现,导出 craft_* C ABI
|
||||
|
||||
[lib]
|
||||
crate-type = ["cdylib", "staticlib"]
|
||||
name = "craftlabs_auth_bitanswer"
|
||||
name = "craftlabs_auth_core"
|
||||
|
||||
[dependencies]
|
||||
obfstr = "0.4"
|
||||
sha2 = "0.10"
|
||||
libloading = "0.8"
|
||||
once_cell = "1"
|
||||
rsa = { version = "0.9", features = ["sha2"] }
|
||||
aes-gcm = "0.10"
|
||||
hkdf = "0.12"
|
||||
base64 = "0.22"
|
||||
serde = { version = "1", features = ["derive"] }
|
||||
serde_json = "1"
|
||||
chrono = { version = "0.4", features = ["serde"] }
|
||||
|
||||
[target.'cfg(target_os = "windows")'.dependencies]
|
||||
windows-sys = { version = "0.52", features = ["Win32_System_Diagnostics_Debug"], optional = true }
|
||||
|
||||
Reference in New Issue
Block a user