Update rust_highlight/Cargo.toml
Browse files
rust_highlight/Cargo.toml
CHANGED
|
@@ -1,4 +1,5 @@
|
|
| 1 |
-
|
|
|
|
| 2 |
[package]
|
| 3 |
name = "rust_highlight"
|
| 4 |
version = "0.1.0"
|
|
@@ -9,10 +10,6 @@ name = "rust_highlight"
|
|
| 9 |
crate-type = ["cdylib"]
|
| 10 |
|
| 11 |
[dependencies]
|
| 12 |
-
pyo3 = { version = "0.
|
| 13 |
-
opencv = { version = "0.
|
| 14 |
-
|
| 15 |
-
[profile.release]
|
| 16 |
-
opt-level = 3
|
| 17 |
-
codegen-units = 1
|
| 18 |
-
lto = true
|
|
|
|
| 1 |
+
|
| 2 |
+
|
| 3 |
[package]
|
| 4 |
name = "rust_highlight"
|
| 5 |
version = "0.1.0"
|
|
|
|
| 10 |
crate-type = ["cdylib"]
|
| 11 |
|
| 12 |
[dependencies]
|
| 13 |
+
pyo3 = { version = "0.20", features = ["extension-module"] }
|
| 14 |
+
opencv = { version = "0.88", default-features = false, features = ["imgproc", "highgui", "videoio", "imgcodecs"] }
|
| 15 |
+
rayon = "1.8"
|
|
|
|
|
|
|
|
|
|
|
|