Files
pile/Cargo.toml
2026-03-05 21:43:56 -08:00

106 lines
2.5 KiB
TOML

[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 = "allow"
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-flac = { path = "crates/pile-flac" }
pile-dataset = { path = "crates/pile-dataset" }
# Clients
tantivy = "0.25.0"
# Async & Parallelism
tokio = { version = "1.49.0", features = ["full"] }
# CLI & logging
tracing = "0.1.44"
tracing-subscriber = { version = "0.3.22", features = ["env-filter", "json"] }
indicatif = { version = "0.18.4", features = ["improved_unicode"] }
tracing-indicatif = "0.3.14"
anstyle = "1.0.13"
clap = { version = "4.5.60", features = ["derive"] }
# Serialization & formats
serde = { version = "1.0.228", features = ["derive"] }
serde_json = "1.0.149"
base64 = "0.22.1"
toml = "1.0.3"
sha2 = "0.11.0-rc.5"
# Misc helpers
thiserror = "2.0.18"
anyhow = "1.0.102"
itertools = "0.14.0"
signal-hook = "0.4.3"
rand = "0.10.0"
strum = { version = "0.27.2", features = ["derive"] }
walkdir = "2.5.0"
mime = "0.3.17"
paste = "1.0.15"
smartstring = "1.0.1"
chrono = "0.4.43"
parking_lot = "0.12.5"
rayon = "1.11.0"