cosmic-files/Cargo.toml

115 lines
3 KiB
TOML
Raw Normal View History

2024-01-03 15:27:32 -07:00
[package]
name = "cosmic-files"
version = "0.1.0"
authors = ["Jeremy Soller <jeremy@system76.com>"]
2024-01-03 15:27:32 -07:00
edition = "2021"
license = "GPL-3.0-only"
2024-01-29 09:47:17 -07:00
rust-version = "1.71"
2024-01-03 15:27:32 -07:00
[build-dependencies]
vergen = { version = "8", features = ["git", "gitcl"] }
2024-01-03 15:27:32 -07:00
[dependencies]
2024-01-05 14:44:20 -07:00
chrono = { version = "0.4", features = ["unstable-locales"] }
2024-01-03 15:27:32 -07:00
dirs = "5.0.1"
2024-01-28 06:23:40 -05:00
env_logger = "0.11"
freedesktop_entry_parser = { version = "1.3", optional = true }
flate2 = "1.0"
fs_extra = { git = "https://github.com/pop-os/fs_extra.git" }
gio = { version = "0.20", optional = true }
glib = { version = "0.20", optional = true }
2024-07-03 12:24:35 -06:00
glob = "0.3"
icu_collator = "1.5"
icu_provider = { version = "1.5", features = ["sync"] }
2024-08-26 13:24:13 -06:00
ignore = "0.4"
image = "0.24"
2024-03-04 10:28:16 -07:00
libc = "0.2"
2024-01-03 15:27:32 -07:00
log = "0.4"
2024-02-22 15:04:37 -07:00
mime_guess = "2"
notify-debouncer-full = "0.3"
notify-rust = { version = "4", optional = true }
2024-08-26 13:24:13 -06:00
once_cell = "1.19"
open = "5.0.2"
paste = "1.0"
2024-05-31 14:54:19 -06:00
rayon = "1"
regex = "1"
2024-05-17 08:56:19 -06:00
serde = { version = "1", features = ["serde_derive"] }
2024-03-04 10:28:16 -07:00
shlex = { version = "1.3" }
tar = "0.4.41"
tokio = { version = "1", features = ["sync"] }
2024-07-11 16:20:59 -06:00
trash = { git = "https://github.com/jackpot51/trash-rs.git", branch = "delete-info" }
2024-08-26 13:24:13 -06:00
url = "2.5"
walkdir = "2.5.0"
2024-08-20 13:26:10 -06:00
wayland-client = { version = "0.31.5", optional = true }
xdg = { version = "2.5.2", optional = true }
xdg-mime = "0.3"
2024-01-03 15:27:32 -07:00
# Internationalization
2024-01-24 09:30:06 -05:00
i18n-embed = { version = "0.14", features = [
"fluent-system",
"desktop-requester",
] }
i18n-embed-fl = "0.7"
rust-embed = "8"
2024-04-22 23:14:44 +02:00
slotmap = "1.0.7"
2024-08-27 09:25:30 +02:00
recently-used-xbel = "1.1.0"
zip = "2.1.6"
unix_permissions_ext = "0.1.2"
2024-08-27 07:26:47 -06:00
uzers = "0.12.0"
2024-01-03 15:27:32 -07:00
[dependencies.libcosmic]
2024-03-01 09:22:38 -07:00
git = "https://github.com/pop-os/libcosmic.git"
2024-01-03 15:27:32 -07:00
default-features = false
2024-08-20 13:26:10 -06:00
features = ["a11y", "clipboard", "multi-window", "tokio"]
2024-01-03 15:27:32 -07:00
2024-02-09 07:09:51 -07:00
[dependencies.smol_str]
version = "0.2.1"
features = ["serde"]
2024-01-03 15:27:32 -07:00
[features]
default = ["desktop", "gvfs", "notify", "winit", "wgpu"]
desktop = ["libcosmic/desktop", "dep:freedesktop_entry_parser", "dep:xdg"]
gvfs = ["dep:gio", "dep:glib"]
notify = ["dep:notify-rust"]
2024-08-20 13:26:10 -06:00
wayland = ["libcosmic/wayland", "dep:wayland-client"]
2024-06-27 09:03:44 -06:00
winit = ["libcosmic/winit"]
2024-01-03 15:27:32 -07:00
wgpu = ["libcosmic/wgpu"]
[profile.dev]
opt-level = 1
2024-01-03 15:27:32 -07:00
[profile.release-with-debug]
inherits = "release"
debug = true
[target.'cfg(unix)'.dependencies]
fork = "0.1"
[dev-dependencies]
# cap-std = "3"
# cap-tempfile = "3"
fastrand = "2"
tempfile = "3"
test-log = "0.2"
tokio = { version = "1", features = ["rt", "macros"] }
2024-08-27 08:10:33 -06:00
[patch.crates-io]
# https://github.com/alexcrichton/filetime/pull/104
filetime = { git = "https://github.com/jackpot51/filetime" }
# [patch.'https://github.com/pop-os/cosmic-text']
# cosmic-text = { path = "../cosmic-text" }
# [patch.'https://github.com/pop-os/fs_extra']
# fs_extra = { path = "../fs_extra" }
# [patch.'https://github.com/pop-os/libcosmic']
# libcosmic = { path = "../libcosmic" }
# cosmic-config = { path = "../libcosmic/cosmic-config" }
# cosmic-theme = { path = "../libcosmic/cosmic-theme" }
# [patch.'https://github.com/pop-os/smithay-clipboard']
# smithay-clipboard = { path = "../smithay-clipboard" }
2024-08-20 13:26:10 -06:00
[workspace]
members = ["cosmic-files-applet"]