-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
99 lines (93 loc) · 2.98 KB
/
Copy pathCargo.toml
File metadata and controls
99 lines (93 loc) · 2.98 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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
[workspace]
members = [
"sugarloaf",
"teletypewriter",
"corcovado",
"rio-backend",
"rio-grapheme-width",
"rio-window",
"rio-notifier",
"frontends/rioterm",
]
resolver = "2"
[workspace.package]
version = "0.4.10"
authors = ["Raphael Amorim <rapha850@gmail.com>"]
edition = "2021"
license = "MIT"
keywords = ["graphics", "terminal", "application"]
# Minimal stable rust version (MSRV)
rust-version = "1.96.1"
repository = "https://github.com/raphamorim/rio"
homepage = "https://rioterm.com"
documentation = "https://github.com/raphamorim/rio#readme"
readme = "README.md"
[workspace.dependencies]
# Note: https://doc.rust-lang.org/cargo/reference/specifying-dependencies.html#multiple-locations
# Sugarloaf example uses path when used locally, but uses
# version from crates.io when published.
teletypewriter = { path = "teletypewriter", version = "0.4.10" }
rio-backend = { path = "rio-backend", version = "0.4.10" }
rio-window = { path = "rio-window", version = "0.4.10", default-features = false }
rio-notifier = { path = "rio-notifier", version = "0.4.10" }
rio-grapheme-width = { path = "rio-grapheme-width", version = "0.4.10" }
sugarloaf = { path = "sugarloaf", version = "0.4.10" }
corcovado = { path = "corcovado", version = "0.4.10" }
raw-window-handle = { version = "0.6.2", features = ["std"] }
parking_lot = { version = "0.12.5", features = [
"nightly",
"hardware-lock-elision",
] }
rustc-hash = "2.1.2"
smallvec = "1.15.1"
# unicode-width = "0.2.0"
unicode-width = { package = "unicode-width-16", version = "0.1.0" }
simdutf = "0.7.0"
base64 = "0.22.1"
image_rs = { package = "image", version = "0.25.10", default-features = false, features = [
"gif",
"jpeg",
"ico",
"png",
"pnm",
"webp",
"bmp",
] }
regex = "1.12.3"
onig = { version = "6.5.1", default-features = false }
bytemuck = { version = "1.25.0", features = ["derive"] }
serde = { version = "1.0.228", features = ["derive"] }
wgpu = "30.0.0"
libc = "0.2.185"
smol_str = "0.3.2"
futures = "0.3.31"
zbus = "4.4.0"
wasm-bindgen = "0.2.87"
wasm-bindgen-futures = "0.4.34"
wasm-bindgen-test = "0.3.42"
env_logger = "0.11.8"
console_log = "0.2.2"
bitflags = "2.9.0"
iovec = "0.1.4"
console_error_panic_hook = "0.1.7"
tracing = "0.1.41"
objc = { package = "objc-rs", version = "0.3.1" }
memmap2 = "0.9.5"
url = "2.5.4"
criterion = { version = "0.6.0", features = ["html_reports"] }
dashmap = "6.1.0"
flate2 = "1.0"
lazy_static = "1.5"
[profile.release]
strip = "symbols" # See split-debuginfo - allows us to drop the size by ~65%
split-debuginfo = "packed" # generates a separate *.dwp/*.dSYM so the binary can get stripped
debug = "full" # No one needs an undebuggable release binary
codegen-units = 1
incremental = false
lto = true # reduces binary size by ~14%
panic = "abort" # reduces binary size by ~50% in combination with -Zbuild-std-features=panic_immediate_abort
[profile.dev]
split-debuginfo = "unpacked"
lto = false
incremental = true
opt-level = 0