34 lines
948 B
TOML
34 lines
948 B
TOML
[package]
|
|
name = "ascii-names"
|
|
version.workspace = true
|
|
edition.workspace = true
|
|
license.workspace = true
|
|
repository.workspace = true
|
|
description = "Sequential ASCII filename cleanup for removable drives"
|
|
|
|
[features]
|
|
default = ["desktop"]
|
|
desktop = ["dep:eframe", "dep:rfd"]
|
|
|
|
[dependencies]
|
|
clap = { version = "4", features = ["derive"] }
|
|
unicode-normalization = "0.1"
|
|
eframe = { version = "0.31", optional = true, default-features = false, features = ["default_fonts", "glow", "x11", "wayland"] }
|
|
rfd = { version = "0.15", optional = true }
|
|
|
|
[target.'cfg(any(target_os = "linux", target_vendor = "apple"))'.dependencies]
|
|
rustix = { version = "1", features = ["fs"] }
|
|
|
|
[dev-dependencies]
|
|
libc = "0.2.191"
|
|
tempfile = "3"
|
|
|
|
[target.'cfg(windows)'.dependencies]
|
|
windows-sys = { version = "0.61", features = ["Win32_Storage_FileSystem"] }
|
|
|
|
[target.'cfg(target_os = "freebsd")'.dependencies]
|
|
libc = "0.2.191"
|
|
|
|
[build-dependencies]
|
|
winresource = "0.1.17"
|