-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathCargo.toml
49 lines (38 loc) · 1.21 KB
/
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
41
42
43
44
45
46
47
48
49
[package]
name = "epick"
version = "0.9.0"
authors = ["Wojciech Kępka <[email protected]>"]
edition = "2021"
[lib]
crate-type = ["cdylib", "rlib"]
[dependencies]
eframe = { version = "0.19", features = ["persistence"] }
egui = { version = "0.19", features = ["tracing"] }
epaint = "0.19"
anyhow = "1"
serde = { version = "1", features = ["derive"] }
serde_yaml = "0.9"
serde_json = "1"
dirs = "4"
nom = "7"
image = "0.24"
once_cell = "1"
#pretty_env_logger = "0.4"
#tracing-subscriber = { version = "0.3", features = ["fmt", "std"] }
#tracing = "0.1"
[target.'cfg(target_os = "linux")'.dependencies]
x11rb = { version = "0.9", features = ["image", "cursor", "resource_manager"] }
[target.'cfg(windows)'.dependencies]
windows = { version = "0.39", features = ["Win32_Foundation", "Win32_Graphics_Gdi", "Win32_System_LibraryLoader", "Win32_UI_WindowsAndMessaging"] }
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
native-dialog = "0.6"
arboard = "2"
[target.'cfg(target_arch = "wasm32")'.dependencies]
js-sys = "0.3"
[target.'cfg(target_os = "macos")'.dependencies]
objc = {version = "0.2", features = ["exception"]}
core-graphics = {version = "0.22"}
[dev-dependencies]
tempfile = "3"
[profile.release]
opt-level = 2