-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathCargo.toml
More file actions
35 lines (30 loc) · 883 Bytes
/
Cargo.toml
File metadata and controls
35 lines (30 loc) · 883 Bytes
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
[package]
edition = "2021"
name = "node-opencv-rs"
version = "1.0.0"
authors = ["luckyyyyy"]
description = "High-performance OpenCV bindings for Node.js, built in Rust via napi-rs"
repository = "https://github.com/luckyyyyy/node-opencv"
keywords = ["opencv", "computer-vision", "image-processing", "napi", "native"]
categories = ["multimedia::images", "api-bindings"]
license = "MIT"
[lib]
crate-type = ["cdylib", "rlib"]
[dependencies]
napi = { version = "3.8.3", default-features = false, features = ["napi9"] }
napi-derive = "3.5.2"
opencv = { version = "0.98.1", default-features = false, features = [
"clang-runtime",
"imgproc",
"imgcodecs",
"features2d",
"dnn",
"videoio",
] }
[build-dependencies]
napi-build = "2.3.1"
[profile.release]
lto = true
strip = "symbols"
[lints.rust]
unexpected_cfgs = { level = "allow", check-cfg = ['cfg(opencv_4_11_or_later)'] }