2023-02-07 13:00:49 -07:00
|
|
|
[package]
|
2023-10-23 09:36:38 -06:00
|
|
|
name = "cosmic-edit"
|
2023-02-07 13:00:49 -07:00
|
|
|
version = "0.1.0"
|
|
|
|
|
authors = ["Jeremy Soller <jeremy@system76.com>"]
|
|
|
|
|
edition = "2021"
|
2023-02-10 07:42:05 -07:00
|
|
|
license = "GPL-3.0-only"
|
2023-02-07 13:00:49 -07:00
|
|
|
|
|
|
|
|
[dependencies]
|
2023-10-19 10:33:42 -06:00
|
|
|
env_logger = "0.10.0"
|
2023-11-29 14:33:17 -07:00
|
|
|
grep = "0.3.1"
|
|
|
|
|
ignore = "0.4.21"
|
2023-10-19 10:33:42 -06:00
|
|
|
lazy_static = "1.4.0"
|
2024-01-05 09:48:39 -07:00
|
|
|
lexical-sort = "0.3.1"
|
2023-10-19 10:33:42 -06:00
|
|
|
log = "0.4.20"
|
2023-12-01 13:19:56 -07:00
|
|
|
patch = "0.7.0"
|
2023-11-21 11:57:11 -07:00
|
|
|
notify = "6.1.1"
|
2023-11-17 09:37:53 -07:00
|
|
|
#TODO: this is using gtk for file dialogues
|
2023-11-15 09:06:32 -07:00
|
|
|
rfd = { version = "0.12.0", optional = true }
|
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
|
2023-11-06 09:30:07 -07:00
|
|
|
syntect = "5.1.0"
|
|
|
|
|
two-face = "0.3.0"
|
2023-10-30 09:34:36 -06:00
|
|
|
# Internationalization
|
2023-12-26 17:15:20 -05:00
|
|
|
i18n-embed = { version = "0.14", features = ["fluent-system", "desktop-requester"] }
|
|
|
|
|
i18n-embed-fl = "0.7"
|
|
|
|
|
rust-embed = "8"
|
2023-02-07 13:00:49 -07:00
|
|
|
|
2023-12-22 10:55:49 -07:00
|
|
|
[dependencies.cosmic-syntax-theme]
|
|
|
|
|
git = "https://github.com/pop-os/cosmic-syntax-theme"
|
|
|
|
|
|
2023-02-07 13:00:49 -07:00
|
|
|
[dependencies.cosmic-text]
|
2023-03-17 18:48:56 -06:00
|
|
|
git = "https://github.com/pop-os/cosmic-text"
|
2023-12-15 15:08:39 -07:00
|
|
|
branch = "refactor"
|
2023-11-06 09:30:07 -07:00
|
|
|
features = ["syntect", "vi"]
|
2023-10-20 14:21:23 -06:00
|
|
|
#path = "../cosmic-text"
|
2023-02-07 13:00:49 -07:00
|
|
|
|
|
|
|
|
[dependencies.libcosmic]
|
2023-10-26 11:25:14 -06:00
|
|
|
git = "https://github.com/pop-os/libcosmic"
|
2023-10-20 14:21:23 -06:00
|
|
|
default-features = false
|
2023-11-29 14:33:17 -07:00
|
|
|
features = ["tokio", "winit"]
|
2023-10-26 11:25:14 -06:00
|
|
|
#path = "../libcosmic"
|
2023-02-07 13:00:49 -07:00
|
|
|
|
2023-11-17 13:28:39 -07:00
|
|
|
#TODO: clean up and send changes upstream
|
|
|
|
|
[dependencies.systemicons]
|
|
|
|
|
git = "https://github.com/jackpot51/systemicons"
|
|
|
|
|
|
2023-11-28 12:03:30 -07:00
|
|
|
[target.'cfg(unix)'.dependencies]
|
|
|
|
|
fork = "0.1"
|
|
|
|
|
|
2023-11-15 09:06:32 -07:00
|
|
|
[features]
|
2023-12-15 15:24:42 -07:00
|
|
|
default = ["rfd", "wgpu"]
|
|
|
|
|
wgpu = ["libcosmic/wgpu"]
|
2023-11-15 09:06:32 -07:00
|
|
|
|
2023-10-31 19:42:51 -06:00
|
|
|
[patch.crates-io]
|
|
|
|
|
smithay-client-toolkit = { git = "https://github.com/pop-os/client-toolkit", branch = "wayland-resize" }
|
2023-11-14 09:04:34 -07:00
|
|
|
|
|
|
|
|
[profile.release-with-debug]
|
|
|
|
|
inherits = "release"
|
|
|
|
|
debug = true
|