2023-12-17 11:53:26 -07:00
|
|
|
[package]
|
|
|
|
|
name = "cosmic-term"
|
2026-02-05 15:23:47 -07:00
|
|
|
version = "1.0.6"
|
2024-02-28 08:45:45 -07:00
|
|
|
authors = ["Jeremy Soller <jeremy@system76.com>"]
|
2025-09-10 14:33:46 +02:00
|
|
|
edition = "2024"
|
2024-02-28 08:45:45 -07:00
|
|
|
license = "GPL-3.0-only"
|
2025-09-10 14:33:46 +02:00
|
|
|
rust-version = "1.85"
|
2023-12-17 11:53:26 -07:00
|
|
|
|
|
|
|
|
[dependencies]
|
2025-11-06 12:33:54 +01:00
|
|
|
alacritty_terminal = "0.25.1"
|
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"
|
2026-02-05 11:25:53 -07:00
|
|
|
regex = "1"
|
2025-09-11 16:25:29 +02:00
|
|
|
ron = "0.11"
|
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-09-11 16:25:29 +02:00
|
|
|
i18n-embed = { version = "0.16", features = [
|
2024-05-31 11:28:49 -04:00
|
|
|
"fluent-system",
|
|
|
|
|
"desktop-requester",
|
|
|
|
|
] }
|
2025-09-11 16:25:29 +02:00
|
|
|
i18n-embed-fl = "0.10"
|
2025-11-06 12:33:54 +01:00
|
|
|
icu = { version = "2.1.1", features = ["compiled_data"] }
|
2024-02-28 08:45:45 -07:00
|
|
|
rust-embed = "8"
|
2024-08-03 20:33:55 -06:00
|
|
|
url = "2.5"
|
2025-11-20 18:05:13 -05:00
|
|
|
secret-service = { version = "5.1.0", features = [
|
|
|
|
|
"rt-tokio-crypto-rust",
|
|
|
|
|
], optional = true }
|
2024-02-09 09:35:24 +01:00
|
|
|
thiserror = { version = "2.0", optional = true }
|
|
|
|
|
secstr = { version = "0.5", optional = true }
|
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
|
2025-09-11 16:25:29 +02:00
|
|
|
features = ["about", "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-11-06 12:33:54 +01:00
|
|
|
fork = "0.4"
|
2024-02-28 08:45:45 -07:00
|
|
|
|
2026-02-12 15:23:04 -07:00
|
|
|
[build-dependencies]
|
|
|
|
|
xdgen = "0.1"
|
|
|
|
|
|
2024-02-28 08:45:45 -07:00
|
|
|
[features]
|
2024-02-09 09:35:24 +01:00
|
|
|
default = ["dbus-config", "wgpu", "wayland", "password_manager"]
|
2025-09-11 16:25:29 +02:00
|
|
|
dbus-config = ["libcosmic/dbus-config"]
|
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"]
|
2025-11-20 18:05:13 -05:00
|
|
|
password_manager = ["secret-service", "thiserror", "secstr"]
|
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-09-11 16:25:29 +02:00
|
|
|
|
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" }
|