Skip to content

Commit

Permalink
0.7 - bumped dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
l1npengtul committed Oct 16, 2021
1 parent fd45683 commit d4942f7
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 13 deletions.
18 changes: 9 additions & 9 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "nokhwa"
version = "0.6.0"
version = "0.7.0"
authors = ["l1npengtul <[email protected]>"]
edition = "2018"
description = "A Simple-to-use, cross-platform Rust Webcam Capture Library"
Expand Down Expand Up @@ -46,7 +46,7 @@ version = "0.8.24"
optional = true

[dependencies.image]
version = "0.23.14"
version = "^0.23"
default-features = false

[target.'cfg(target_os = "linux")'.dependencies.v4l]
Expand All @@ -70,11 +70,11 @@ version = "0.1.2"
optional = true

[dependencies.wgpu]
version = "0.10.1"
version = "^0.11"
optional = true

[dependencies.opencv]
version = "0.54.0"
version = "0.55.0"
features = ["clang-runtime"]
optional = true

Expand Down Expand Up @@ -107,7 +107,7 @@ version = "1.4.6"
optional = true

[dependencies.web-sys]
version = "0.3.51"
version = "^0.3"
# why
features = [
"console",
Expand All @@ -128,23 +128,23 @@ features = [
optional = true

[dependencies.js-sys]
version = "0.3.52"
version = "^0.3"
optional = true

[dependencies.wasm-bindgen]
version = "0.2.75"
version = "^0.2"
optional = true

[dependencies.wasm-bindgen-futures]
version = "0.4.25"
version = "^0.4"
optional = true

[dependencies.wee_alloc]
version = "0.4.5"
optional = true

[dependencies.parking_lot]
version = "0.11.2"
version = "^0.11"
optional = true

[profile.release]
Expand Down
8 changes: 4 additions & 4 deletions src/backends/capture/uvc_backend.rs
Original file line number Diff line number Diff line change
Expand Up @@ -61,17 +61,17 @@ pub struct UVCCaptureDevice<'a> {
stream_handle_init: Cell<bool>,
active_stream_init: Cell<bool>,
context: Context<'a>,
#[borrows(context)]
#[not_covariant]
#[borrows(context)]
device: Device<'this>,
#[borrows(device)]
#[not_covariant]
#[borrows(device)]
device_handle: DeviceHandle<'this>,
#[borrows(device_handle)]
#[not_covariant]
#[borrows(device_handle)]
stream_handle: RefCell<MaybeUninit<StreamHandle<'this>>>,
#[borrows(stream_handle)]
#[not_covariant]
#[borrows(stream_handle)]
active_stream: RefCell<MaybeUninit<ActiveStream<'this, Arc<AtomicUsize>>>>,
}

Expand Down

0 comments on commit d4942f7

Please sign in to comment.