-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathCargo.toml
More file actions
38 lines (31 loc) · 852 Bytes
/
Copy pathCargo.toml
File metadata and controls
38 lines (31 loc) · 852 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
36
37
38
[package]
name = "uchroma-native"
version = "1.9.90"
edition = "2021"
description = "Native Rust extensions for uchroma"
license = "LGPL-3.0-only"
[lib]
name = "_native"
path = "rust/lib.rs"
crate-type = ["cdylib", "rlib"]
[dependencies]
pyo3 = { version = "0.27", default-features = false, features = ["abi3-py311"] }
numpy = "0.27"
# Async HID support
nusb = { version = "0.2", features = ["tokio"] }
tokio = { version = "1.43", features = ["rt-multi-thread", "sync", "time"] }
pyo3-async-runtimes = { version = "0.27", features = ["tokio-runtime"] }
thiserror = "2.0"
[dev-dependencies]
criterion = "0.6"
[features]
default = ["extension-module"]
extension-module = ["pyo3/extension-module"]
auto-initialize = ["pyo3/auto-initialize"]
[[bench]]
name = "benchmarks"
harness = false
[profile.release]
lto = true
codegen-units = 1
opt-level = 3