新增Base36编码和解码功能,支持字节数据与Base36字符串之间的相互转换, 并提供对i64整数的Base36编解码支持。同时更新了相关依赖版本以提升安全性 和性能。 - 新增 `base36` 模块,实现完整的Base36编解码逻辑 - 支持去除填充字符 `=` 后的容错处理 - 提供 `encode`, `decode`, `encode_int64`, `decode_to_int64` 等公共接口 - 更新 Cargo.toml 中多项依赖至最新稳定版本
33 lines
743 B
TOML
33 lines
743 B
TOML
[package]
|
|
name = "rs_toolbox"
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
|
|
[lib]
|
|
crate-type = ["dylib", "rlib"]
|
|
|
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
|
|
[dependencies]
|
|
aes = "0.8.4"
|
|
base64 = "0.22.1"
|
|
blake2b_simd = "1.0.3"
|
|
blake3 = { version = "1.8.2", features = ["serde", "digest"] }
|
|
blockhash = "1.0.0"
|
|
cbc = { version = "0.1.2", features = ["std"] }
|
|
chrono = "0.4.26"
|
|
cipher = "0.4.4"
|
|
des = "0.8.1"
|
|
hex = "0.4.3"
|
|
hmac-sha256 = "1.1.12"
|
|
hmac-sha512 = "1.1.7"
|
|
image = "0.25.8"
|
|
md-5 = "0.10.6"
|
|
once_cell = "1.21.3"
|
|
rand = "0.8.5"
|
|
rsa = { version = "0.9.2", features = ["sha2"] }
|
|
sha1 = "0.10.6"
|
|
sha2 = "0.10.9"
|
|
thiserror = "2.0.17"
|
|
uuid = { version = "1.18.1", features = ["v4", "fast-rng"] }
|