-
Notifications
You must be signed in to change notification settings - Fork 30
/
Cargo.toml
52 lines (40 loc) · 1.42 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
52
[package]
name = "dlib-face-recognition"
version = "0.3.2"
authors = [
"Ashley <[email protected]>",
"Ho Kim <[email protected]>",
"João Pedro Sanches Dovichi <[email protected]>",
]
edition = "2021"
description = "Unofficial Rust wrappers to the C++ library dlib, face recognition tools"
homepage = "https://github.com/podo-os"
repository = "https://github.com/podo-os/dlib-face-recognition"
readme = "README.md"
license = "BSD-3-Clause"
build = "build.rs"
include = ["src/**/*.rs", "build.rs", "Cargo.toml", "LICENSE"]
[package.metadata.docs.rs]
features = ["build-native"] # otherwise the build will fail in docs.rs
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[features]
build-native = ["dlib-face-recognition-sys"]
openblas = []
embed-all = ["embed-fd-nn", "embed-fe-nn", "embed-lp"]
embed-any = ["reqwest", "bzip2"]
embed-fd-nn = ["embed-any"]
embed-fe-nn = ["embed-any"]
embed-lp = ["embed-any"]
[dependencies]
cpp = "0.5"
dlib-face-recognition-sys = { path = "sys", version = "19.24.0-rc.1", default-features = false, optional = true }
image = { version = "0.24", default-features = false }
bzip2 = { version = "0.4", optional = true }
reqwest = { version = "0.11", optional = true, features = ["blocking"] }
[build-dependencies]
cpp_build = "0.5"
sys-info = "0.9"
[dev-dependencies]
lazy_static = "1.4"
[workspace]
members = [".", "./cv", "./sys"]