-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathCargo.toml
More file actions
30 lines (24 loc) · 820 Bytes
/
Copy pathCargo.toml
File metadata and controls
30 lines (24 loc) · 820 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
[package]
edition = "2021"
name = "xosms"
version = "0.0.0"
[lib]
crate-type = ["cdylib"]
[dependencies]
# Default enable napi4 feature, see https://nodejs.org/api/n-api.html#node-api-version-matrix
napi = { version = "2.12.2", default-features = false, features = ["napi9", "async"] }
napi-derive = "2.12.2"
[target.'cfg(target_os = "windows")'.dependencies]
windows = { version = "0.54.0", features = ["Foundation", "Media", "Media_Playback", "Storage", "Storage_Streams"] }
dashmap = "5.5.3"
[target.'cfg(target_os = "linux")'.dependencies]
dbus = { version = "0.9.7", features = ["vendored"] }
dbus-crossroads = "0.5.2"
dashmap = "5.5.3"
float_duration = { version = "0.3.3", default-features = false }
oneshot = "0.1.6"
[build-dependencies]
napi-build = "2.0.1"
[profile.release]
lto = true
strip = "symbols"