Skip to content

Commit

Permalink
behind a feature flag
Browse files Browse the repository at this point in the history
Signed-off-by: tison <[email protected]>
  • Loading branch information
tisonkun committed Jan 23, 2024
1 parent 31d1455 commit 7d885c5
Show file tree
Hide file tree
Showing 11 changed files with 453 additions and 457 deletions.
168 changes: 84 additions & 84 deletions bindings/c/Cargo.lock

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions bindings/c/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,10 @@ crate-type = ["cdylib", "staticlib"]
doc = false

[build-dependencies]
cbindgen = "0.25.0"
cbindgen = "0.26.0"

[dependencies]
bytes = "1.4.0"
once_cell = "1.17.1"
opendal = { path = "../../core" }
opendal = { path = "../../core", features = ["layers-blocking"] }
tokio = { version = "1.27", features = ["fs", "macros", "rt-multi-thread"] }
5 changes: 4 additions & 1 deletion bindings/java/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ crate-type = ["cdylib"]
doc = false

[features]
# Enable all opendal default feature by default.
default = [
# Enable all opendal default feature by default.
"services-azblob",
"services-azdls",
"services-cos",
Expand All @@ -48,6 +48,9 @@ default = [
"services-s3",
"services-webdav",
"services-webhdfs",

# Enable blocking layer for blocking ops support.
"opendal/layers-blocking",
]

services-all = [
Expand Down
5 changes: 4 additions & 1 deletion bindings/nodejs/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ rust-version.workspace = true
version.workspace = true

[features]
# Enable all opendal default feature by default.
default = [
# Enable all opendal default feature by default.
"services-azblob",
"services-azdls",
"services-cos",
Expand All @@ -44,6 +44,9 @@ default = [
"services-s3",
"services-webdav",
"services-webhdfs",

# Enable blocking layer for blocking ops support.
"opendal/layers-blocking",
]

services-all = [
Expand Down
Loading

0 comments on commit 7d885c5

Please sign in to comment.