-
Notifications
You must be signed in to change notification settings - Fork 3
/
Cargo.toml
51 lines (44 loc) · 1.46 KB
/
Cargo.toml
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
42
43
44
45
46
47
48
49
50
51
[package]
name = "opencv-ros-camera"
version = "0.15.0"
authors = ["Andrew Straw <[email protected]>"]
edition = "2018"
description = "Geometric models of OpenCV/ROS cameras for photogrammetry"
license = "MIT OR Apache-2.0"
readme = "README.md"
repository = "https://github.com/strawlab/opencv-ros-camera"
keywords = ["computer", "vision", "photogrammetry"]
categories = [
"algorithms",
"computer-vision",
"no-std",
"science",
"science::robotics",
]
[dependencies]
nalgebra = { version = "0.33.0", default-features = false, features = ["libm"] }
cam-geom = { version = "0.15.0", default-features = false }
serde = { version = "1.0", default-features = false, features = [
"derive",
], optional = true }
serde_yaml = { version = "0.9", default-features = false, optional = true }
thiserror = { version = "1.0", optional = true }
[dev-dependencies]
approx = { version = "0.5", default-features = false }
[features]
default = ["std"]
# It would be nice if our serde-serialize feature did not
# depend on std. Then we could use serde in no_std contexts.
# The serde crate supports this. However, the following
# are obstacles to this goal:
# - serde_yaml requires std (as of serde_yaml 0.8)
# - nalgebra/serde-serialize requires std (as of nalgebra 0.20)
std = ["nalgebra/std", "cam-geom/std", "thiserror"]
serde-serialize = [
"std",
"dep:serde",
"dep:serde_yaml",
"nalgebra/serde-serialize",
]
[package.metadata.docs.rs]
features = ["serde-serialize"]