cosmic-edit/Cargo.toml

77 lines
2.1 KiB
TOML
Raw 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.9"
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]
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
[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]
2024-02-28 08:57:24 -07:00
git = "https://github.com/pop-os/cosmic-text.git"
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"
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
[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"]
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
[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" }
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//" }