2023-02-07 13:00:49 -07:00
|
|
|
[package]
|
2023-10-23 09:36:38 -06:00
|
|
|
name = "cosmic-edit"
|
2026-04-14 11:09:36 -06:00
|
|
|
version = "1.0.11"
|
2023-02-07 13:00:49 -07:00
|
|
|
authors = ["Jeremy Soller <jeremy@system76.com>"]
|
2025-09-10 13:36:02 +02:00
|
|
|
edition = "2024"
|
2023-02-10 07:42:05 -07:00
|
|
|
license = "GPL-3.0-only"
|
2026-03-18 12:23:49 -04:00
|
|
|
rust-version = "1.90"
|
2023-02-07 13:00:49 -07:00
|
|
|
|
|
|
|
|
[dependencies]
|
2025-02-19 17:38:18 +01:00
|
|
|
dirs = "6"
|
2025-09-11 16:24:07 +02:00
|
|
|
env_logger = "0.11.8"
|
2025-02-19 17:38:18 +01:00
|
|
|
grep = "0.3.2"
|
|
|
|
|
ignore = "0.4.23"
|
2025-09-11 16:24:07 +02:00
|
|
|
log = "0.4.28"
|
|
|
|
|
notify = "8.2.0"
|
2025-02-19 17:38:18 +01:00
|
|
|
open = "5.3.2"
|
2025-02-19 07:45:39 +02:00
|
|
|
paste = "1.0.15"
|
2023-12-01 13:19:56 -07:00
|
|
|
patch = "0.7.0"
|
2025-02-19 17:38:18 +01:00
|
|
|
regex = "1.11"
|
2023-11-03 16:16:24 -06:00
|
|
|
serde = { version = "1", features = ["serde_derive"] }
|
2023-12-01 13:19:56 -07:00
|
|
|
tokio = { version = "1", features = ["process", "time"] }
|
2023-11-21 11:57:11 -07:00
|
|
|
# Extra syntax highlighting
|
2025-02-19 17:38:18 +01:00
|
|
|
syntect = "5.2.0"
|
|
|
|
|
two-face = "0.4.3"
|
2023-10-30 09:34:36 -06:00
|
|
|
# Internationalization
|
2025-09-15 23:44:45 +02:00
|
|
|
icu = { version = "2.0.0", features = ["compiled_data"] }
|
2025-10-05 06:39:31 +00:00
|
|
|
unicode-segmentation = "1.12"
|
2025-09-11 16:24:07 +02:00
|
|
|
i18n-embed = { version = "0.16", features = [
|
2025-08-19 16:15:34 +02:00
|
|
|
"fluent-system",
|
|
|
|
|
"desktop-requester",
|
|
|
|
|
] }
|
2025-09-11 16:24:07 +02:00
|
|
|
i18n-embed-fl = "0.10"
|
2023-12-26 17:15:20 -05:00
|
|
|
rust-embed = "8"
|
2023-02-07 13:00:49 -07:00
|
|
|
|
2024-02-13 13:05:49 -07:00
|
|
|
[dependencies.cosmic-files]
|
2024-02-28 08:57:24 -07:00
|
|
|
git = "https://github.com/pop-os/cosmic-files.git"
|
2024-02-13 13:05:49 -07:00
|
|
|
default-features = false
|
|
|
|
|
|
2023-12-22 10:55:49 -07:00
|
|
|
[dependencies.cosmic-syntax-theme]
|
2024-02-28 08:57:24 -07:00
|
|
|
git = "https://github.com/pop-os/cosmic-syntax-theme.git"
|
2023-12-22 10:55:49 -07:00
|
|
|
|
2023-02-07 13:00:49 -07:00
|
|
|
[dependencies.cosmic-text]
|
2024-02-28 08:57:24 -07:00
|
|
|
git = "https://github.com/pop-os/cosmic-text.git"
|
2023-11-06 09:30:07 -07:00
|
|
|
features = ["syntect", "vi"]
|
2023-02-07 13:00:49 -07:00
|
|
|
|
|
|
|
|
[dependencies.libcosmic]
|
2024-02-28 08:57:24 -07:00
|
|
|
git = "https://github.com/pop-os/libcosmic.git"
|
2023-10-20 14:21:23 -06:00
|
|
|
default-features = false
|
2025-07-10 15:29:54 -06:00
|
|
|
#TODO: a11y feature crashes file choser dialog
|
2025-09-13 10:51:33 +02:00
|
|
|
features = ["about", "multi-window", "tokio", "winit", "surface-message"]
|
2023-02-07 13:00:49 -07:00
|
|
|
|
2023-11-28 12:03:30 -07:00
|
|
|
[target.'cfg(unix)'.dependencies]
|
2025-02-19 17:38:18 +01:00
|
|
|
fork = "0.2"
|
2023-11-28 12:03:30 -07:00
|
|
|
|
2026-02-12 15:10:18 -07:00
|
|
|
[build-dependencies]
|
|
|
|
|
xdgen = "0.1"
|
|
|
|
|
|
2023-11-15 09:06:32 -07:00
|
|
|
[features]
|
2025-10-03 15:02:53 -04:00
|
|
|
default = ["dbus-config", "gvfs", "wgpu", "wayland"]
|
2025-09-13 10:51:33 +02:00
|
|
|
dbus-config = ["libcosmic/dbus-config"]
|
2025-04-28 15:34:58 -06:00
|
|
|
gvfs = ["cosmic-files/gvfs"]
|
2024-02-13 13:05:49 -07:00
|
|
|
wgpu = ["libcosmic/wgpu", "cosmic-files/wgpu"]
|
2025-06-18 14:38:52 -04:00
|
|
|
wayland = ["libcosmic/wayland", "cosmic-files/wayland"]
|
2023-11-15 09:06:32 -07:00
|
|
|
|
2023-11-14 09:04:34 -07:00
|
|
|
[profile.release-with-debug]
|
|
|
|
|
inherits = "release"
|
2024-06-20 09:18:37 -06:00
|
|
|
debug = true
|
2024-08-27 08:12:18 -06:00
|
|
|
|
2025-03-25 19:19:09 +00:00
|
|
|
[patch.crates-io]
|
|
|
|
|
onig = { git = "https://github.com/rust-onig/rust-onig.git", branch = "main" }
|
|
|
|
|
onig_sys = { git = "https://github.com/rust-onig/rust-onig.git", branch = "main" }
|
|
|
|
|
|
2024-09-21 07:50:33 -06:00
|
|
|
# [patch.'https://github.com/pop-os/libcosmic']
|
2026-03-18 12:23:49 -04:00
|
|
|
# libcosmic = { git = "https://github.com/pop-os/libcosmic//" }
|
|
|
|
|
# cosmic-config = { git = "https://github.com/pop-os/libcosmic//" }
|
|
|
|
|
# cosmic-theme = { git = "https://github.com/pop-os/libcosmic//" }
|