Skip to content

Commit 3cff3a1

Browse files
committed
Remove Rust async feature
1 parent 6fce988 commit 3cff3a1

10 files changed

Lines changed: 8 additions & 388 deletions

File tree

bindings/rust/Cargo.lock

Lines changed: 0 additions & 217 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

bindings/rust/Cargo.toml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,7 @@ readme = "README.md"
1313
keywords = ["camera", "capture", "v4l2", "directshow", "avfoundation"]
1414
categories = ["multimedia::video", "api-bindings"]
1515

16-
[package.metadata.docs.rs]
17-
# Build docs with async API enabled so users can see `ccap::r#async::*` on docs.rs.
18-
features = ["async"]
16+
1917

2018
[lib]
2119
# Keep the Rust crate name as `ccap` so users can write:
@@ -25,15 +23,13 @@ name = "ccap"
2523

2624
[dependencies]
2725
thiserror = "1.0"
28-
tokio = { version = "1.0", features = ["full"], optional = true }
2926

3027
[build-dependencies]
3128
bindgen = "0.68"
3229
cc = "1.0"
3330

3431
[features]
3532
default = ["build-source"]
36-
async = ["tokio"]
3733
static-link = [] # Link against pre-built static library (for development)
3834
build-source = [] # Build from source using cc crate (for distribution)
3935

0 commit comments

Comments
 (0)