2024-01-03 15:27:32 -07:00
|
|
|
[package]
|
|
|
|
|
name = "cosmic-files"
|
|
|
|
|
version = "0.1.0"
|
2024-02-28 09:29:05 -07:00
|
|
|
authors = ["Jeremy Soller <jeremy@system76.com>"]
|
2024-01-03 15:27:32 -07:00
|
|
|
edition = "2021"
|
2024-02-28 09:29:05 -07:00
|
|
|
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
|
|
|
|
2024-02-28 09:29:05 -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"] }
|
2025-01-24 11:55:56 -07:00
|
|
|
cosmic-mime-apps = { git = "https://github.com/pop-os/cosmic-mime-apps.git", optional = true }
|
2024-01-03 15:27:32 -07:00
|
|
|
dirs = "5.0.1"
|
2024-01-28 06:23:40 -05:00
|
|
|
env_logger = "0.11"
|
2024-09-11 14:40:49 -06:00
|
|
|
freedesktop_entry_parser = "1.3"
|
2024-09-10 11:50:14 -06:00
|
|
|
gio = { version = "0.20", optional = true }
|
|
|
|
|
glib = { version = "0.20", optional = true }
|
2024-07-03 12:24:35 -06:00
|
|
|
glob = "0.3"
|
2024-07-12 02:20:41 -04:00
|
|
|
icu_collator = "1.5"
|
|
|
|
|
icu_provider = { version = "1.5", features = ["sync"] }
|
2024-08-26 13:24:13 -06:00
|
|
|
ignore = "0.4"
|
2024-11-11 09:14:03 -07:00
|
|
|
image = "0.25"
|
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"
|
2024-03-20 11:54:37 -06:00
|
|
|
notify-debouncer-full = "0.3"
|
2024-08-26 13:31:01 -06:00
|
|
|
notify-rust = { version = "4", optional = true }
|
2024-08-26 13:24:13 -06:00
|
|
|
once_cell = "1.19"
|
|
|
|
|
open = "5.0.2"
|
2024-01-14 18:55:15 -07:00
|
|
|
paste = "1.0"
|
2024-05-31 14:54:19 -06:00
|
|
|
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" }
|
2024-09-25 11:30:17 -06:00
|
|
|
tempfile = "3"
|
2024-11-15 11:10:30 -07:00
|
|
|
tikv-jemallocator = { version = "0.6", optional = true }
|
2024-11-11 11:18:15 -07:00
|
|
|
tokio = { version = "1", features = ["process", "sync"] }
|
2024-09-18 08:31:30 -06:00
|
|
|
trash = { git = "https://github.com/jackpot51/trash-rs.git", branch = "cosmic" }
|
2024-08-26 13:24:13 -06:00
|
|
|
url = "2.5"
|
2024-09-05 17:34:03 -05:00
|
|
|
walkdir = "2.5.0"
|
2024-08-20 13:26:10 -06:00
|
|
|
wayland-client = { version = "0.31.5", optional = true }
|
2024-03-01 16:10:30 -07:00
|
|
|
xdg = { version = "2.5.2", optional = true }
|
2024-03-04 11:16:25 -07:00
|
|
|
xdg-mime = "0.3"
|
2024-09-17 12:31:54 -06:00
|
|
|
# Compression
|
|
|
|
|
bzip2 = { version = "0.4", optional = true } #TODO: replace with pure Rust crate
|
|
|
|
|
flate2 = "1.0"
|
|
|
|
|
liblzma = { version = "0.3", optional = true } #TODO: replace with pure Rust crate
|
|
|
|
|
tar = "0.4.41"
|
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"
|
2024-08-15 12:32:12 -05:00
|
|
|
zip = "2.1.6"
|
2024-08-21 13:52:52 -07:00
|
|
|
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-11-13 14:36:11 -07:00
|
|
|
#TODO: a11y feature crashes
|
|
|
|
|
features = ["multi-window", "tokio", "winit"]
|
2024-01-03 15:27:32 -07:00
|
|
|
|
|
|
|
|
[features]
|
2024-10-21 14:23:32 -06:00
|
|
|
default = ["bzip2", "desktop", "gvfs", "liblzma", "notify", "wgpu"]
|
2025-01-24 11:55:56 -07:00
|
|
|
desktop = ["libcosmic/desktop", "dep:cosmic-mime-apps", "dep:xdg"]
|
2024-09-10 11:50:14 -06:00
|
|
|
gvfs = ["dep:gio", "dep:glib"]
|
2024-11-15 11:10:30 -07:00
|
|
|
jemalloc = ["dep:tikv-jemallocator"]
|
2024-08-26 13:31:01 -06:00
|
|
|
notify = ["dep:notify-rust"]
|
2024-08-20 13:26:10 -06:00
|
|
|
wayland = ["libcosmic/wayland", "dep:wayland-client"]
|
2024-01-03 15:27:32 -07:00
|
|
|
wgpu = ["libcosmic/wgpu"]
|
|
|
|
|
|
2024-04-10 11:41:25 -04:00
|
|
|
[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"
|
2024-02-01 16:29:10 +00:00
|
|
|
|
|
|
|
|
[dev-dependencies]
|
|
|
|
|
# cap-std = "3"
|
|
|
|
|
# cap-tempfile = "3"
|
|
|
|
|
fastrand = "2"
|
|
|
|
|
test-log = "0.2"
|
2024-05-13 22:32:47 -04:00
|
|
|
tokio = { version = "1", features = ["rt", "macros"] }
|
2024-04-10 11:41:25 -04:00
|
|
|
|
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" }
|
|
|
|
|
|
2024-07-09 11:23:01 -06:00
|
|
|
# [patch.'https://github.com/pop-os/cosmic-text']
|
|
|
|
|
# cosmic-text = { path = "../cosmic-text" }
|
|
|
|
|
|
2024-04-10 11:41:25 -04:00
|
|
|
# [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"]
|