mirror of
https://github.com/rustfs/rustfs.git
synced 2026-11-02 01:00:09 +00:00
3d3957a248
Run cargo update --verbose and cargo upgrade --verbose twice in the standalone fuzz workspace. Refresh its lockfile, including the fixed rustls-webpki, webpki-root-certs, zstd, and zstd-safe releases. Repeat main's pinned SigV4a fix in the standalone workspace and redirect its shared Smithy types to registry crates, removing crypto-bigint 0.5.5. Keep pkcs1 at 0.8.0-rc.4 to remain compatible with the workspace-pinned rsa 0.10.0-rc.18; rc.5 changes the PKCS#1 key types and fails to compile. Co-authored-by: heihutu <heihutu@gmail.com> Co-authored-by: zhi22915 <qiuzgang@gmail.com>
68 lines
1.6 KiB
TOML
68 lines
1.6 KiB
TOML
[package]
|
|
name = "rustfs-fuzz"
|
|
version = "0.0.0"
|
|
edition = "2024"
|
|
publish = false
|
|
|
|
[package.metadata]
|
|
cargo-fuzz = true
|
|
|
|
[workspace]
|
|
|
|
[dependencies]
|
|
arbitrary = "1"
|
|
libfuzzer-sys = "0.4"
|
|
rustfs-ecstore = { path = "../crates/ecstore" }
|
|
rustfs-filemeta = { path = "../crates/filemeta" }
|
|
rustfs-policy = { path = "../crates/policy" }
|
|
rustfs-security-governance = { path = "../crates/security-governance" }
|
|
rustfs-utils = { path = "../crates/utils", features = ["compress", "path"] }
|
|
serde_json = "1"
|
|
|
|
[patch.crates-io]
|
|
# Standalone workspaces must repeat the root workspace's fixed SigV4a backend.
|
|
aws-sigv4 = { git = "https://github.com/smithy-lang/smithy-rs", rev = "5c1c4bca2ea7af97496e077c9f1a718eaac64bf8" }
|
|
|
|
[patch."https://github.com/smithy-lang/smithy-rs"]
|
|
# Keep the signer's path dependencies on the SDK's existing registry types.
|
|
aws-credential-types = { version = "=1.3.1" }
|
|
aws-smithy-eventstream = { version = "=0.61.6" }
|
|
aws-smithy-http = { version = "=0.64.3" }
|
|
aws-smithy-runtime-api = { version = "=1.19.2" }
|
|
aws-smithy-types = { version = "=1.9.1" }
|
|
|
|
[[bin]]
|
|
name = "bucket_validation"
|
|
path = "fuzz_targets/bucket_validation.rs"
|
|
test = false
|
|
doc = false
|
|
bench = false
|
|
|
|
[[bin]]
|
|
name = "archive_extract"
|
|
path = "fuzz_targets/archive_extract.rs"
|
|
test = false
|
|
doc = false
|
|
bench = false
|
|
|
|
[[bin]]
|
|
name = "local_metadata"
|
|
path = "fuzz_targets/local_metadata.rs"
|
|
test = false
|
|
doc = false
|
|
bench = false
|
|
|
|
[[bin]]
|
|
name = "policy_ingress"
|
|
path = "fuzz_targets/policy_ingress.rs"
|
|
test = false
|
|
doc = false
|
|
bench = false
|
|
|
|
[[bin]]
|
|
name = "path_containment"
|
|
path = "fuzz_targets/path_containment.rs"
|
|
test = false
|
|
doc = false
|
|
bench = false
|