Repository navigation
Expand file tree
/
Copy pathCargo.toml
More file actions
40 lines (36 loc) · 1.61 KB
/
Copy pathCargo.toml
File metadata and controls
40 lines (36 loc) · 1.61 KB
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 = "gitgui"
version = "0.9.0"
edition = "2021"
license = "MIT"
[features]
default = ["sha256"]
# SHA-256 repositories (git init --object-format=sha256). libgit2 calls this
# experimental; the whole read / write path is covered by the test suite.
sha256 = ["git2/unstable-sha256"]
[dependencies]
iced_core = "=0.14.0"
iced_runtime = "=0.14.0"
iced_widget = { version = "=0.14.2", default-features = false, features = ["canvas", "image"] }
tiny-skia = { version = "=0.11.4", default-features = false, features = ["std", "simd"] }
iced_renderer = { version = "=0.14.0", default-features = false, features = ["tiny-skia", "fira-sans", "geometry"] }
libc = "0.2"
base64 = "0.22"
flate2 = "1"
anyhow = "1"
git2 = { version = "=0.21.0", default-features = false }
png = "0.17"
# Desktop window mode (src/window.rs): winit + softbuffer through the iced
# umbrella crate, tiny-skia only, no wgpu. Same App, same widgets.
iced = { version = "=0.14.0", default-features = false, features = ["tiny-skia", "fira-sans", "thread-pool", "image-without-codecs"] }
serde = { version = "1", features = ["derive"] }
serde_json = "1"
# iced_tiny_skia's softbuffer needs a window backend feature on Linux or it
# fails to compile (E0392 in make_dispatch); dlopen variants link nothing.
[target.'cfg(target_os = "linux")'.dependencies]
iced_tiny_skia = { version = "=0.14.0", default-features = false, features = ["x11", "wayland"] }
iced = { version = "=0.14.0", default-features = false, features = ["tiny-skia", "fira-sans", "thread-pool", "image-without-codecs", "x11", "wayland"] }
[profile.release]
opt-level = 3
lto = "thin"
codegen-units = 1