mirror of
https://github.com/rustfs/rustfs.git
synced 2026-01-17 01:30:33 +00:00
* chore(ci): upgrade protoc from 30.2 to 31.1 - Update protoc version in GitHub Actions setup workflow - Use arduino/setup-protoc@v3 to install the latest protoc version - Ensure compatibility with current project requirements - Improve proto file compilation performance and stability This upgrade aligns our development environment with the latest protobuf standards. * modify package version * refactor(deps): centralize crate versions in root Cargo.toml - Move all dependency versions to workspace.dependencies section - Standardize AWS SDK and related crates versions - Update tokio, bytes, and futures crates to latest stable versions - Ensure consistent version use across all workspace members - Implement workspace inheritance for common dependencies This change simplifies dependency management and ensures version consistency across the project. * fix * modify
40 lines
900 B
TOML
40 lines
900 B
TOML
[package]
|
|
name = "crypto"
|
|
edition.workspace = true
|
|
license.workspace = true
|
|
repository.workspace = true
|
|
rust-version.workspace = true
|
|
version.workspace = true
|
|
|
|
[lints]
|
|
workspace = true
|
|
|
|
[dependencies]
|
|
aes-gcm = { workspace = true, features = ["std"], optional = true }
|
|
argon2 = { workspace = true, features = ["std"], optional = true }
|
|
cfg-if = { workspace = true }
|
|
chacha20poly1305 = { workspace = true, optional = true }
|
|
jsonwebtoken = { workspace = true }
|
|
pbkdf2 = { workspace = true, optional = true }
|
|
rand = { workspace = true, optional = true }
|
|
sha2 = { workspace = true, optional = true }
|
|
thiserror.workspace = true
|
|
serde_json.workspace = true
|
|
|
|
|
|
[dev-dependencies]
|
|
test-case.workspace = true
|
|
time.workspace = true
|
|
|
|
[features]
|
|
default = ["crypto", "fips"]
|
|
fips = []
|
|
crypto = [
|
|
"dep:aes-gcm",
|
|
"dep:argon2",
|
|
"dep:chacha20poly1305",
|
|
"dep:pbkdf2",
|
|
"dep:rand",
|
|
"dep:sha2",
|
|
]
|