Initial cli
Some checks failed
CI / Typos (push) Failing after 21s
CI / Build and test (push) Failing after 1m8s
CI / Clippy (push) Failing after 1m17s

This commit is contained in:
2026-02-21 11:18:02 -08:00
parent 08142413e6
commit 70d9dfc173
13 changed files with 3292 additions and 0 deletions

124
Cargo.toml Normal file
View File

@@ -0,0 +1,124 @@
[workspace]
members = ["crates/*"]
resolver = "2"
[workspace.package]
rust-version = "1.91.0"
edition = "2024"
version = "0.0.1"
[workspace.lints.rust]
unused_import_braces = "deny"
unit_bindings = "deny"
single_use_lifetimes = "deny"
non_ascii_idents = "deny"
macro_use_extern_crate = "deny"
elided_lifetimes_in_paths = "deny"
absolute_paths_not_starting_with_crate = "deny"
explicit_outlives_requirements = "warn"
unused_crate_dependencies = "warn"
redundant_lifetimes = "warn"
missing_docs = "allow"
[workspace.lints.clippy]
todo = "deny"
uninlined_format_args = "allow"
result_large_err = "allow"
too_many_arguments = "allow"
upper_case_acronyms = "deny"
needless_return = "allow"
new_without_default = "allow"
tabs_in_doc_comments = "allow"
dbg_macro = "deny"
allow_attributes = "deny"
create_dir = "deny"
filetype_is_file = "deny"
integer_division = "allow"
lossy_float_literal = "deny"
map_err_ignore = "allow"
mutex_atomic = "deny"
needless_raw_strings = "deny"
str_to_string = "deny"
string_add = "deny"
implicit_clone = "deny"
use_debug = "allow"
verbose_file_reads = "deny"
large_types_passed_by_value = "deny"
wildcard_dependencies = "deny"
negative_feature_names = "deny"
redundant_feature_names = "deny"
multiple_crate_versions = "allow"
missing_safety_doc = "warn"
identity_op = "allow"
print_stderr = "deny"
print_stdout = "deny"
comparison_chain = "allow"
unimplemented = "deny"
unwrap_used = "warn"
expect_used = "warn"
type_complexity = "allow"
#
# MARK: dependencies
#
[workspace.dependencies]
pile-toolbox = { path = "crates/pile-toolbox" }
pile-config = { path = "crates/pile-config" }
pile-audio = { path = "crates/pile-audio" }
pile-dataset = { path = "crates/pile-dataset" }
# Clients
reqwest = { version = "0.12.15", features = [
"multipart",
"json",
"rustls-tls",
] }
librqbit = "8.1.1"
librqbit-core = "5.0.0"
tantivy = "0.25.0"
# Async & Parallelism
tokio = { version = "1.44.1", features = ["full"] }
tokio-stream = { version = "0.1.17" }
# CLI & logging
tracing = "0.1.41"
tracing-subscriber = { version = "0.3.19", features = ["env-filter", "json"] }
indicatif = { version = "0.18.0", features = ["improved_unicode"] }
tracing-indicatif = "0.3.13"
anstyle = "1.0.10"
clap = { version = "4.5.37", features = ["derive"] }
# Extra types
url = { version = "2.5.4", features = ["serde"] }
# Serialization & formats
serde = { version = "1.0.219", features = ["derive"] }
serde_json = "1.0.140"
blake3 = "1.8.2"
flate2 = "1.1.2"
base64 = "0.22.1"
binrw = "0.15.0"
brotli = "8.0.2"
toml = "0.9.8"
jsonpath-rust = "1.0.4"
sha2 = "0.11.0-rc.3"
# Misc helpers
thiserror = "2.0.12"
anyhow = "1.0.97"
itertools = "0.14.0"
tempfile = "3.21.0"
signal-hook = "0.3.18"
parking_lot = "0.12.5"
lru = "0.16.1"
rayon = "1.11.0"
rand = "0.9.2"
regex = "1.12.2"
strum = { version = "0.27.2", features = ["derive"] }
walkdir = "2.5.0"
mime = "0.3.17"
paste = "1.0.15"
smartstring = "1.0.1"