-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
39 lines (33 loc) · 1.07 KB
/
Copy pathCargo.toml
File metadata and controls
39 lines (33 loc) · 1.07 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
[package]
name = "pylon-shimload"
description = "Rust wrapper of the Pylon libraries for Basler cameras"
license = "MIT OR Apache-2.0"
version = "0.1.1"
authors = [
"Andrew Straw <strawman@astraw.com>",
"Falco Hirschenberger <falco.hirschenberger@gmail.com>",
]
edition = "2018"
repository = "https://github.com/strawlab/pylon-shimload"
keywords = ["basler", "camera", "bindings", "pylon", "image"]
categories = [
"api-bindings",
"external-ffi-bindings",
"hardware-support",
"multimedia::images",
]
[dependencies]
libloading = "0.9"
tokio = { version = "1", features = ["rt", "macros", "net"], optional = true }
tokio-stream = { version = "0.1.8", optional = true }
[target.'cfg(target_os = "windows")'.dependencies]
winapi = { version = "0.3.9", optional = true, features = ["winbase", "winerror", "synchapi"]}
[package.metadata.docs.rs]
rustdoc-args = ["--cfg", "docsrs"]
[dev-dependencies]
anyhow = "1"
[features]
stream = ["dep:tokio", "dep:tokio-stream", "dep:winapi"]
[[example]]
name = "async-grab"
required-features = ["stream", "tokio/rt-multi-thread"]