86 lines
2 KiB
TOML
86 lines
2 KiB
TOML
[package]
|
|
name = "cosmic-files"
|
|
version = "0.1.0"
|
|
authors = ["Jeremy Soller <jeremy@system76.com>"]
|
|
edition = "2021"
|
|
license = "GPL-3.0-only"
|
|
rust-version = "1.71"
|
|
|
|
[build-dependencies]
|
|
vergen = { version = "8", features = ["git", "gitcl"] }
|
|
|
|
[dependencies]
|
|
chrono = { version = "0.4", features = ["unstable-locales"] }
|
|
dirs = "5.0.1"
|
|
env_logger = "0.11"
|
|
freedesktop_entry_parser = { version = "1.3", optional = true }
|
|
fs_extra = "1.3"
|
|
gio = { version = "0.19", optional = true }
|
|
ignore = "0.4"
|
|
image = "0.24"
|
|
once_cell = "1.19"
|
|
open = "5.0.2"
|
|
lexical-sort = "0.3.1"
|
|
libc = "0.2"
|
|
log = "0.4"
|
|
mime_guess = "2"
|
|
notify-debouncer-full = "0.3"
|
|
paste = "1.0"
|
|
rayon = "1"
|
|
regex = "1"
|
|
serde = { version = "1", features = ["serde_derive"] }
|
|
shlex = { version = "1.3" }
|
|
tokio = { version = "1", features = ["sync"] }
|
|
trash = "5.0"
|
|
xdg = { version = "2.5.2", optional = true }
|
|
xdg-mime = "0.3"
|
|
url = "2.5"
|
|
# Internationalization
|
|
i18n-embed = { version = "0.14", features = [
|
|
"fluent-system",
|
|
"desktop-requester",
|
|
] }
|
|
i18n-embed-fl = "0.7"
|
|
rust-embed = "8"
|
|
slotmap = "1.0.7"
|
|
|
|
[dependencies.libcosmic]
|
|
git = "https://github.com/pop-os/libcosmic.git"
|
|
default-features = false
|
|
features = ["a11y", "multi-window", "tokio", "winit"]
|
|
|
|
[dependencies.smol_str]
|
|
version = "0.2.1"
|
|
features = ["serde"]
|
|
|
|
[features]
|
|
default = ["desktop", "gvfs", "wgpu"]
|
|
desktop = ["libcosmic/desktop", "dep:freedesktop_entry_parser", "dep:xdg"]
|
|
gvfs = ["dep:gio"]
|
|
wgpu = ["libcosmic/wgpu"]
|
|
|
|
[profile.dev]
|
|
opt-level = 1
|
|
|
|
[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"] }
|
|
|
|
# [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" }
|