-
Notifications
You must be signed in to change notification settings - Fork 3
/
Cargo.toml
40 lines (33 loc) · 839 Bytes
/
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
[package]
name = "native"
version = "0.1.0"
authors = ["YXL <chenxin.lan.76@gmail.com>"]
edition = "2018"
exclude = ["artifacts.json", "index.node"]
[lib]
name = "native"
crate-type = ["cdylib"]
[dependencies.neon]
git = "https://github.com/neon-bindings/neon"
branch = "main"
default-features = false
features = ["napi-6", "event-queue-api"]
[dependencies.rodio]
git = "https://github.com/YXL76/rodio"
branch = "dev"
default-features = false
features = ["flac", "mp3"]
# [dependencies.curl]
# version = "0.4"
# default-features = false
# features = ["static-curl"]
[target.'cfg(target_os = "linux")'.dependencies.x11]
version = "2.18"
default-features = false
features = ["xlib"]
[target.'cfg(target_os = "windows")'.dependencies.winapi]
version = "0.3"
default-features = false
features = ["winuser"]
[profile.release]
lto = true