Skip to content

Commit

Permalink
chore: Fix build of core (#4137)
Browse files Browse the repository at this point in the history
Signed-off-by: Xuanwo <github@xuanwo.io>
  • Loading branch information
Xuanwo authored Feb 4, 2024
1 parent 0f316b4 commit af2f83e
Show file tree
Hide file tree
Showing 8 changed files with 758 additions and 45 deletions.
759 changes: 738 additions & 21 deletions core/Cargo.lock

Large diffs are not rendered by default.

4 changes: 4 additions & 0 deletions core/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,10 @@ version = "0.45.0"
all-features = true
rustdoc-args = ["--cfg", "docs"]

[workspace]
default-members = ["."]
members = [".", "fuzz", "edge/*", "benches/vs_*"]

[features]
default = [
"rustls",
Expand Down
10 changes: 3 additions & 7 deletions core/benches/vs_fs/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,17 +17,13 @@

[package]
description = "OpenDAL Benchmark vs fs"
edition = "2021"
license = "Apache-2.0"
name = "opendal-benchmark-vs-fs"
publish = false
rust-version = "1.67"
version = "0.0.0"

authors.workspace = true
edition.workspace = true
homepage.workspace = true
license.workspace = true
repository.workspace = true
rust-version.workspace = true

[dependencies]
criterion = { version = "0.5", features = ["async", "async_tokio"] }
opendal = { path = "../..", features = ["tests"] }
Expand Down
10 changes: 3 additions & 7 deletions core/benches/vs_s3/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,17 +17,13 @@

[package]
description = "OpenDAL Benchmark vs s3"
edition = "2021"
license = "Apache-2.0"
name = "opendal-benchmark-vs-s3"
publish = false
rust-version = "1.67"
version = "0.0.0"

authors.workspace = true
edition.workspace = true
homepage.workspace = true
license.workspace = true
repository.workspace = true
rust-version.workspace = true

[dependencies]
aws-config = { version = "1.0.1", features = ["behavior-version-latest"] }
aws-credential-types = { version = "1.0.1", features = [
Expand Down
6 changes: 3 additions & 3 deletions core/edge/file_write_on_full_disk/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,14 @@

[package]
edition = "2021"
license = "Apache-2.0"
name = "edge_test_file_write_on_full_disk"
publish = false
rust-version = "1.67"
version = "0.0.0"

license.workspace = true

[dependencies]
futures = "0.3"
opendal = { workspace = true }
opendal = { path = "../../" }
rand = "0.8"
tokio = { version = "1", features = ["full"] }
6 changes: 3 additions & 3 deletions core/edge/s3_aws_assume_role_with_web_identity/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,13 @@

[package]
edition = "2021"
license = "Apache-2.0"
name = "edge_test_aws_s3_assume_role_with_web_identity"
publish = false
rust-version = "1.67"
version = "0.0.0"

license.workspace = true

[dependencies]
opendal = { workspace = true, features = ["tests"] }
opendal = { path = "../../", features = ["tests"] }
tokio = { version = "1", features = ["full"] }
uuid = { version = "1", features = ["serde", "v4"] }
4 changes: 2 additions & 2 deletions core/edge/s3_read_on_wasm/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,12 @@

[package]
edition = "2021"
license = "Apache-2.0"
name = "edge_test_s3_read_on_wasm"
publish = false
rust-version = "1.67"
version = "0.0.0"

license.workspace = true

[lib]
crate-type = ["cdylib"]

Expand Down
4 changes: 2 additions & 2 deletions core/fuzz/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,12 @@

[package]
edition = "2021"
license = "Apache-2.0"
name = "opendal-fuzz"
publish = false
rust-version = "1.67"
version = "0.0.0"

license.workspace = true

[package.metadata]
cargo-fuzz = true

Expand Down

0 comments on commit af2f83e

Please sign in to comment.