-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
41 lines (36 loc) · 1.07 KB
/
Cargo.toml
File metadata and controls
41 lines (36 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
40
41
[package]
name = "generic-camera"
version = "0.0.12" # change in readme.md
edition = "2021"
rust-version = "1.68.0"
authors = ["Sunip K. Mukherjee"]
license = "MIT OR Apache-2.0"
keywords = ["camera", "api", "interface"]
readme = "README.MD"
repository = "https://github.com/sunipkm/generic_camera"
homepage = "https://crates.io/crates/generic_camera"
description = """
An efficient and ergonomic interface to capture images using cameras.
"""
exclude = [".github"]
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
documented = "0.6"
rand = { version = "0.8", optional = true }
refimage = { version = ">=1.0.0-pre", default-features = false }
serde = { version = "1.0", features = ["derive"] }
thiserror = "1.0"
[dev-dependencies]
rand = "0.8"
serde_json = "1.0"
[features]
server = ["dep:rand"]
dummy = ["dep:rand"]
# default features
default = []
full = ["server", "dummy"]
[package.metadata.docs.rs]
# document all features
all-features = true
# defines the configuration attribute `docsrs`
rustdoc-args = ["--cfg", "docsrs"]