Modern-Apps.git
Publicgit clone https://git.maproj.org/Modern-Apps.gitModern-Apps.git / library / vision / src / main / rust / Cargo.toml
Cargo.toml20 lines · 633 BRaw
| 1 | [package] |
| 2 | name = "vision_core" |
| 3 | version = "0.1.0" |
| 4 | edition = "2021" |
| 5 | description = "Shared computer-vision primitives: dependency-free linear algebra, image buffers, ORB/FAST/BRIEF features, and homography geometry" |
| 6 | license = "GPL-2.0-only" |
| 7 | |
| 8 | [lib] |
| 9 | name = "vision_core" |
| 10 | crate-type = ["rlib"] |
| 11 | |
| 12 | [features] |
| 13 | default = [] |
| 14 | # JPEG decoding is only needed by the camera app's panorama pipeline. Left off by |
| 15 | # default so consumers that just want the CV primitives (e.g. measure's VIO engine) |
| 16 | # pull no image codecs at all. |
| 17 | jpeg = ["dep:jpeg-decoder"] |
| 18 | |
| 19 | [dependencies] |
| 20 | jpeg-decoder = { workspace = true, default-features = false, optional = true } |