Skip to content

Commit

Permalink
feat: Added some dep options
Browse files Browse the repository at this point in the history
  • Loading branch information
uttarayan21 committed Sep 24, 2024
1 parent 07316b2 commit b60f296
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 6 deletions.
3 changes: 2 additions & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 4 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,15 @@ version = "0.2.0"
edition = "2021"
license = { workspace = true }

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[workspace.dependencies]
mnn = { version = "0.2.0", path = "." }
error-stack = { version = "0.5" }

[dependencies]
libc = "0.2"
mnn-sys = { version = "0.1", path = "mnn-sys", features = [] }
thiserror = "1.0"
error-stack = { version = "0.5" }
error-stack.workspace = true
oneshot = "0.1"
tracing = { version = "0.1.40", optional = true }
dunce = "1.0.5"
Expand Down
2 changes: 1 addition & 1 deletion mnn-bridge/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ edition = "2021"
license = { workspace = true }

[dependencies]
mnn = { version = "0.1.0", path = "..", default-features = false }
mnn = { workspace = true, default-features = false }
ndarray = { version = "0.16", optional = true }
# opencv = { version = "0.92.3", default-features = false, optional = true }

Expand Down
4 changes: 2 additions & 2 deletions mnn-sync/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@ edition = "2021"
license.workspace = true

[dependencies]
error-stack = "0.5.0"
error-stack.workspace = true
flume = { version = "0.11.0", default-features = false, features = [
"eventual-fairness",
"nanorand",
] }
mnn = { version = "0.1.0", path = ".." }
mnn.workspace = true
oneshot = "0.1.8"
tracing = { version = "0.1", optional = true }

Expand Down

0 comments on commit b60f296

Please sign in to comment.