80 lines
2.2 KiB
TOML
80 lines
2.2 KiB
TOML
[package]
|
|
name = "iris"
|
|
version.workspace = true
|
|
edition.workspace = true
|
|
|
|
[dependencies]
|
|
iris-core = { workspace = true }
|
|
iris-macro = { workspace = true }
|
|
parley = { workspace = true }
|
|
swash = { workspace = true }
|
|
pollster = { workspace = true }
|
|
wgpu = { workspace = true }
|
|
image = { workspace = true }
|
|
accesskit = { workspace = true }
|
|
tokio = { workspace = true, features = ["sync", "rt", "rt-multi-thread"] }
|
|
# The embedding app installs the logger.
|
|
log = "0.4.34"
|
|
|
|
# winit's Android backend conflicts with android-view, which owns that platform here.
|
|
[target.'cfg(not(target_os = "android"))'.dependencies]
|
|
winit = { workspace = true }
|
|
arboard = { workspace = true, features = ["wayland-data-control"] }
|
|
accesskit_winit = "0.34.0"
|
|
|
|
# Advancing this measured revision requires rechecking rendering, IME, and detach.
|
|
[target.'cfg(target_os = "android")'.dependencies]
|
|
android-view = { git = "https://github.com/rust-mobile/android-view.git", rev = "bec6c62a96cef8239b0fd7fedeef9b184d02e3a1" }
|
|
# 0.8.0 still aborts on detach; `view.rs::raise_if_enabled` mitigates it.
|
|
accesskit_android = "0.8.0"
|
|
send_wrapper = "0.6.0"
|
|
|
|
[features]
|
|
# Forces GL on Vulkan-capable hosts for comparisons. The emulator already falls back
|
|
# to hardware GLES; enabling this there would make its build unlike the phone's.
|
|
force-gles = []
|
|
|
|
[dev-dependencies]
|
|
tokio = { workspace = true, features = ["sync", "rt", "rt-multi-thread", "time"] }
|
|
tabs-ui = { path = "tabs-ui" }
|
|
bytemuck = { workspace = true }
|
|
|
|
[[bench]]
|
|
name = "message_list"
|
|
harness = false
|
|
|
|
[workspace]
|
|
members = [
|
|
"core",
|
|
"macro",
|
|
"tabs-ui",
|
|
"rig-input",
|
|
]
|
|
|
|
[workspace.package]
|
|
version = "0.1.0"
|
|
edition = "2024"
|
|
|
|
# Full DWARF once produced 54 GB of writes and an 88 GB target because every test
|
|
# statically links the renderer stack. Use `RUSTFLAGS="-C debuginfo=2"` when needed.
|
|
[profile.dev]
|
|
debug = "line-tables-only"
|
|
|
|
[profile.test]
|
|
debug = "line-tables-only"
|
|
|
|
[workspace.dependencies]
|
|
pollster = "1.0.1"
|
|
winit = "0.30.13"
|
|
wgpu = "30.0.1"
|
|
bytemuck = "1.25.2"
|
|
image = "0.25.10"
|
|
parley = "0.11.1"
|
|
swash = "0.2.10"
|
|
fxhash = "0.2.1"
|
|
arboard = "3.6.1"
|
|
accesskit = "0.25.0"
|
|
iris-core = { path = "core" }
|
|
iris-macro = { path = "macro" }
|
|
tokio = "1.53.1"
|