cosmic-edit/Cargo.toml

83 lines
2.2 KiB
TOML
Raw Permalink Normal View History

2023-02-07 13:00:49 -07:00
[package]
2023-10-23 09:36:38 -06:00
name = "cosmic-edit"
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"
env_logger = "0.11.8"
2025-02-19 17:38:18 +01:00
grep = "0.3.2"
ignore = "0.4.23"
log = "0.4.28"
notify = "8.2.0"
2025-02-19 17:38:18 +01:00
open = "5.3.2"
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
icu = { version = "2.0.0", features = ["compiled_data"] }
unicode-segmentation = "1.12"
i18n-embed = { version = "0.16", features = [
"fluent-system",
"desktop-requester",
] }
i18n-embed-fl = "0.10"
rust-embed = "8"
2023-02-07 13:00:49 -07:00
2024-02-13 13:05:49 -07:00
[dependencies.cosmic-files]
path = "../cosmic-files"
2024-02-13 13:05:49 -07:00
default-features = false
[dependencies.cosmic-syntax-theme]
2024-02-28 08:57:24 -07:00
git = "https://github.com/pop-os/cosmic-syntax-theme.git"
2023-02-07 13:00:49 -07:00
[dependencies.cosmic-text]
2026-05-25 11:34:38 +02:00
path = "../cosmic-text"
features = ["syntect", "vi"]
2023-02-07 13:00:49 -07:00
# Yoda fork.
[dependencies.libcosmic-yoda]
path = "../libcosmic"
default-features = false
2025-07-10 15:29:54 -06:00
#TODO: a11y feature crashes file choser dialog
features = ["about", "multi-window", "tokio", "wayland", "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
[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"]
dbus-config = ["libcosmic-yoda/dbus-config"]
gvfs = ["cosmic-files/gvfs"]
wgpu = ["libcosmic-yoda/wgpu", "cosmic-files/wgpu"]
wayland = ["libcosmic-yoda/wayland", "cosmic-files/wayland"]
2023-11-15 09:06:32 -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
[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" }
# Yoda wayland cut v5: redirect window_clipboard to the local fork
# (x11 gated behind opt-in feature).
[patch.'https://forge.aditua.com/leyoda/window_clipboard.git']
window_clipboard = { path = "/home/lionel/Projets/COSMIC/window_clipboard" }
dnd = { path = "/home/lionel/Projets/COSMIC/window_clipboard/dnd" }
mime = { path = "/home/lionel/Projets/COSMIC/window_clipboard/mime" }
2026-05-25 11:34:38 +02:00
[patch.'https://github.com/pop-os/cosmic-text.git']
cosmic-text = { path = "../cosmic-text" }