-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
75 lines (70 loc) · 2.04 KB
/
Copy pathCargo.toml
File metadata and controls
75 lines (70 loc) · 2.04 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
[package]
name = "media-ls"
version = "0.0.3"
edition = "2024"
description = "Media LS — terminal-native audio/video file browser with metadata columns, TUI preview, and structured JSON output"
license = "MIT"
repository = "https://github.com/thepushkarp/mls"
homepage = "https://github.com/thepushkarp/mls"
authors = ["Pushkar Patel"]
keywords = ["media", "tui", "video", "audio", "cli"]
categories = ["command-line-utilities", "multimedia"]
readme = "README.md"
[[bin]]
name = "mls"
path = "src/main.rs"
[dependencies]
anyhow = "1.0.102"
chrono = { version = "0.4.44", features = ["serde"] }
clap = { version = "4.5.60", features = ["derive"] }
crossterm = { version = "0.29.0", features = ["event-stream"] }
lru = "0.16.3"
ratatui = "0.30.0"
serde = { version = "1.0.228", features = ["derive"] }
serde_json = "1.0.149"
thiserror = "2.0.18"
nucleo-matcher = "0.3.1"
image = { version = "0.25.9", default-features = false, features = [
"jpeg", "png", "webp", "gif", "bmp", "tiff",
] }
kamadak-exif = "0.6.1"
ratatui-image = { version = "10.0.6", default-features = false, features = ["crossterm"] }
tokio = { version = "1.49.0", features = ["full"] }
lopdf = { version = "0.39.0", default-features = false }
zip = { version = "8.2.0", default-features = false, features = ["deflate"] }
quick-xml = "0.37.5"
cfb = "0.10.0"
tracing = "0.1.44"
tracing-subscriber = { version = "0.3.22", features = ["env-filter"] }
[dev-dependencies]
assert_cmd = "2.1.2"
predicates = "3.1.4"
tempfile = "3.19.1"
[lints.clippy]
pedantic = { level = "warn", priority = -1 }
# Panic prevention
unwrap_used = "deny"
expect_used = "warn"
panic = "deny"
panic_in_result_fn = "deny"
unimplemented = "deny"
# No cheating
allow_attributes = "warn"
# Code hygiene
dbg_macro = "deny"
todo = "deny"
print_stdout = "deny"
print_stderr = "deny"
# Safety
await_holding_lock = "deny"
large_futures = "deny"
exit = "warn"
mem_forget = "deny"
# Pedantic relaxations (too noisy)
module_name_repetitions = "allow"
similar_names = "allow"
[profile.release]
lto = true
codegen-units = 1
strip = true
panic = "abort"