98 lines
3.2 KiB
TOML
98 lines
3.2 KiB
TOML
[package]
|
|
name = "fselect"
|
|
version = "0.10.2"
|
|
authors = ["jhspetersson <jhspetersson@gmail.com>"]
|
|
description = "Find files with SQL-like queries"
|
|
keywords = ["find", "files", "sql", "query", "tool"]
|
|
categories = ["filesystem", "command-line-utilities", "command-line-interface"]
|
|
documentation = "https://github.com/jhspetersson/fselect/blob/master/docs/usage.md"
|
|
homepage = "https://github.com/jhspetersson/fselect"
|
|
repository = "https://github.com/jhspetersson/fselect"
|
|
readme = "README.md"
|
|
license = "MIT OR Apache-2.0"
|
|
edition = "2024"
|
|
|
|
[features]
|
|
default = ["git", "users", "update-notifications", "interactive"]
|
|
git = ["dep:git2"]
|
|
update-notifications = ["dep:update-informer"]
|
|
users = ["dep:uzers"]
|
|
interactive = ["dep:rustyline", "dep:directories"]
|
|
everything = []
|
|
plocate = []
|
|
|
|
[dependencies]
|
|
bytecount = "0.6"
|
|
chrono = "0.4"
|
|
chrono-english = "0.1"
|
|
csv = "1.0"
|
|
directories = { version = "6.0", optional = true }
|
|
git2 = { version = "0.21", default-features = false, optional = true }
|
|
human-time = "0.1.6"
|
|
humansize = "2.0"
|
|
imagesize = "0.14"
|
|
kamadak-exif = "0.6"
|
|
lofty = "0.24"
|
|
lscolors = { version = "0.21", features = [ "nu-ansi-term" ] }
|
|
matroska = "0.30"
|
|
memchr = "2"
|
|
mp4parse = "0.17"
|
|
nu-ansi-term = "0.50"
|
|
rand = "0.10"
|
|
rbase64 = "2.0"
|
|
regex = "1.1"
|
|
rustyline = { version = "18", optional = true }
|
|
serde = "1.0"
|
|
serde_derive = "1.0"
|
|
serde_json = "1.0"
|
|
sha1 = "0.11"
|
|
sha2 = "0.11"
|
|
sha3 = "0.12"
|
|
svg = "0.18"
|
|
toml = "1"
|
|
tree_magic_mini = { version = "3.0", features = [ "with-gpl-data" ] }
|
|
update-informer = { version = "1.1.0", optional = true }
|
|
wana_kana = "5.0"
|
|
zip = "8"
|
|
|
|
[target.'cfg(unix)'.dependencies]
|
|
uzers = { version = "0.12", optional = true }
|
|
xattr = "1.0"
|
|
|
|
[target.'cfg(target_os = "linux")'.dependencies]
|
|
libc = "0.2"
|
|
|
|
[target.'cfg(windows)'.dependencies]
|
|
windows-sys = { version = "0.61", features = ["Win32_Security_Authorization", "Win32_Security", "Win32_Foundation", "Win32_Storage_FileSystem", "Win32_System_LibraryLoader"] }
|
|
|
|
[profile.release]
|
|
lto = true
|
|
codegen-units = 1
|
|
|
|
[package.metadata.deb]
|
|
section = "utility"
|
|
extended-description = """\
|
|
* SQL-like (not real SQL, but highly relaxed!) grammar easily understandable by humans
|
|
* complex queries, compare results in several directories with subqueries
|
|
* aggregate, statistics, date, and other functions
|
|
* search within archives
|
|
* .gitignore, .hgignore, and .dockerignore support (experimental)
|
|
* search by width and height of images, EXIF metadata
|
|
* search by audio metadata (MP3, FLAC, Ogg, Opus, M4A, WAV, and more)
|
|
* search by extended file attributes, POSIX ACLs, and Linux capabilities
|
|
* search by file hashes
|
|
* search by MIME type
|
|
* shortcuts to common file types
|
|
* interactive mode
|
|
* support for plocate and Everything indexes for lightning-fast search
|
|
* various output formatting (CSV, JSON, and others)"""
|
|
|
|
[package.metadata.generate-rpm]
|
|
release = "1"
|
|
assets = [
|
|
{ source = "target/release/fselect", dest = "/usr/bin/fselect", mode = "755" },
|
|
{ source = "LICENSE-MIT", dest = "/usr/share/doc/fselect/LICENSE-MIT", mode = "644", doc = true },
|
|
{ source = "LICENSE-APACHE", dest = "/usr/share/doc/fselect/LICENSE-APACHE", mode = "644", doc = true },
|
|
{ source = "README.md", dest = "/usr/share/doc/fselect/README.md", mode = "644", doc = true },
|
|
]
|