2023-12-17 11:53:26 -07:00
|
|
|
[package]
|
|
|
|
|
name = "cosmic-term"
|
|
|
|
|
version = "0.1.0"
|
2024-02-28 08:45:45 -07:00
|
|
|
authors = ["Jeremy Soller <jeremy@system76.com>"]
|
2023-12-17 11:53:26 -07:00
|
|
|
edition = "2021"
|
2024-02-28 08:45:45 -07:00
|
|
|
license = "GPL-3.0-only"
|
2025-02-20 16:51:31 +01:00
|
|
|
rust-version = "1.80"
|
2023-12-17 11:53:26 -07:00
|
|
|
|
2024-02-27 21:20:00 -07:00
|
|
|
[build-dependencies]
|
|
|
|
|
vergen = { version = "8", features = ["git", "gitcl"] }
|
2023-12-17 11:53:26 -07:00
|
|
|
|
|
|
|
|
[dependencies]
|
2024-08-21 19:20:05 +03:00
|
|
|
alacritty_terminal = { git = "https://github.com/alacritty/alacritty", rev = "cacdb5bb3b72bad2c729227537979d95af75978f" }
|
2025-02-19 17:54:26 +01:00
|
|
|
env_logger = "0.11"
|
2024-02-22 09:55:46 -07:00
|
|
|
hex_color = { version = "3", features = ["serde"] }
|
2024-01-11 23:22:39 +03:00
|
|
|
indexmap = "2"
|
2023-12-18 13:54:08 -07:00
|
|
|
log = "0.4"
|
2025-02-19 17:54:26 +01:00
|
|
|
open = "5.3.2"
|
2024-02-22 09:55:46 -07:00
|
|
|
palette = { version = "0.7", features = ["serde"] }
|
2024-02-28 08:45:45 -07:00
|
|
|
paste = "1.0"
|
2024-02-22 09:55:46 -07:00
|
|
|
ron = "0.8"
|
2024-05-17 08:58:23 -06:00
|
|
|
serde = { version = "1", features = ["serde_derive"] }
|
2024-02-09 15:45:46 -07:00
|
|
|
shlex = "1"
|
2023-12-22 14:31:01 -07:00
|
|
|
tokio = { version = "1", features = ["sync"] }
|
2025-06-23 19:22:32 -04:00
|
|
|
# CLI arguments
|
|
|
|
|
clap_lex = "0.7"
|
2023-12-22 14:31:01 -07:00
|
|
|
# Internationalization
|
2025-02-19 17:54:26 +01:00
|
|
|
i18n-embed = { version = "0.15", features = [
|
2024-05-31 11:28:49 -04:00
|
|
|
"fluent-system",
|
|
|
|
|
"desktop-requester",
|
|
|
|
|
] }
|
2025-02-19 17:54:26 +01:00
|
|
|
i18n-embed-fl = "0.9"
|
2024-07-10 03:22:23 -04:00
|
|
|
icu_collator = "1.5"
|
|
|
|
|
icu_provider = { version = "1.5", features = ["sync"] }
|
2024-02-28 08:45:45 -07:00
|
|
|
rust-embed = "8"
|
2024-08-03 20:33:55 -06:00
|
|
|
url = "2.5"
|
2025-02-20 16:51:31 +01:00
|
|
|
# TODO: required by 1.80
|
|
|
|
|
home = "=0.5.9"
|
2023-12-17 17:49:39 -07:00
|
|
|
|
2024-02-22 09:55:46 -07:00
|
|
|
[dependencies.cosmic-files]
|
2024-02-28 08:45:45 -07:00
|
|
|
git = "https://github.com/pop-os/cosmic-files.git"
|
2024-02-22 09:55:46 -07:00
|
|
|
default-features = false
|
2024-02-05 14:18:19 -05:00
|
|
|
|
2023-12-17 17:49:39 -07:00
|
|
|
[dependencies.cosmic-text]
|
|
|
|
|
git = "https://github.com/pop-os/cosmic-text.git"
|
2024-07-31 10:13:01 -06:00
|
|
|
features = ["monospace_fallback", "shape-run-cache"]
|
2023-12-18 13:54:08 -07:00
|
|
|
|
2023-12-20 13:31:10 -07:00
|
|
|
[dependencies.libcosmic]
|
2024-01-22 16:40:38 +01:00
|
|
|
git = "https://github.com/pop-os/libcosmic.git"
|
2023-12-20 13:31:10 -07:00
|
|
|
default-features = false
|
2025-07-10 15:29:41 -06:00
|
|
|
#TODO: a11y feature crashes file chooser dialog
|
|
|
|
|
features = ["multi-window", "tokio", "winit", "surface-message"]
|
2024-02-22 09:55:46 -07:00
|
|
|
|
2024-02-28 08:45:45 -07:00
|
|
|
[target.'cfg(unix)'.dependencies]
|
2025-02-19 17:54:26 +01:00
|
|
|
fork = "0.2"
|
2024-02-28 08:45:45 -07:00
|
|
|
|
|
|
|
|
[features]
|
2025-06-18 12:22:37 -04:00
|
|
|
default = ["wgpu", "wayland"]
|
2024-02-28 08:45:45 -07:00
|
|
|
wgpu = ["libcosmic/wgpu", "cosmic-files/wgpu"]
|
2025-06-18 12:22:37 -04:00
|
|
|
wayland = ["libcosmic/wayland", "cosmic-files/wayland"]
|
2024-02-28 08:45:45 -07:00
|
|
|
|
2023-12-21 09:05:59 -07:00
|
|
|
[profile.release-with-debug]
|
|
|
|
|
inherits = "release"
|
|
|
|
|
debug = true
|
2025-03-19 12:27:00 -04:00
|
|
|
[patch.crates-io]
|
2025-04-17 08:36:48 -06:00
|
|
|
# https://github.com/smol-rs/polling/pull/235
|
|
|
|
|
polling = { git = "https://github.com/jackpot51/polling.git", branch = "master" }
|
2025-03-19 12:27:00 -04:00
|
|
|
xdg-mime = { git = "https://github.com/ellieplayswow/xdg-mime-rs", branch = "feature/get-same-as" }
|
2024-05-06 15:21:28 -06:00
|
|
|
|
2024-05-31 11:28:49 -04:00
|
|
|
# [patch.'https://github.com/pop-os/libcosmic']
|
|
|
|
|
# libcosmic = { path = "../libcosmic" }
|
|
|
|
|
# cosmic-config = { path = "../libcosmic/cosmic-config" }
|
|
|
|
|
# cosmic-theme = { path = "../libcosmic/cosmic-theme" }
|