133 lines
3.1 KiB
TOML
133 lines
3.1 KiB
TOML
[workspace]
|
|
members = ["crates/*"]
|
|
resolver = "2"
|
|
|
|
[workspace.package]
|
|
rust-version = "1.94.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" }
|
|
pile-value = { path = "crates/pile-extractor" }
|
|
|
|
# Clients & servers
|
|
tantivy = "0.25.0"
|
|
axum = { version = "0.8.8", features = ["macros", "multipart"] }
|
|
utoipa = { version = "5.4.0", features = [
|
|
"axum_extras",
|
|
"chrono",
|
|
"url",
|
|
"uuid",
|
|
] }
|
|
utoipa-swagger-ui = { version = "9.0.2", features = [
|
|
"axum",
|
|
"debug-embed",
|
|
"vendored",
|
|
] }
|
|
|
|
# Async & Parallelism
|
|
tokio = { version = "1.49.0", features = ["full"] }
|
|
tokio-stream = "0.1"
|
|
async-trait = "0.1"
|
|
aws-sdk-s3 = "1"
|
|
aws-config = "1"
|
|
|
|
# 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"
|
|
toml_edit = "0.25.4"
|
|
sha2 = "0.11.0-rc.5"
|
|
blake3 = "1.8.3"
|
|
|
|
# Extractors
|
|
pdf = "0.10.0"
|
|
id3 = "1.16.4"
|
|
epub = "1.2.2"
|
|
kamadak-exif = "0.6.1"
|
|
pdfium-render = "0.8"
|
|
image = { version = "0.25", default-features = false, features = ["png"] }
|
|
|
|
# Misc helpers
|
|
thiserror = "2.0.18"
|
|
anyhow = "1.0.102"
|
|
itertools = "0.14.0"
|
|
rand = "0.10.0"
|
|
strum = { version = "0.27.2", features = ["derive"] }
|
|
walkdir = "2.5.0"
|
|
mime = "0.3.17"
|
|
mime_guess = "2.0.5"
|
|
paste = "1.0.15"
|
|
smartstring = "1.0.1"
|
|
chrono = "0.4.43"
|
|
parking_lot = "0.12.5"
|
|
rayon = "1.11.0"
|