-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
75 lines (65 loc) · 2.22 KB
/
Copy pathCargo.toml
File metadata and controls
75 lines (65 loc) · 2.22 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
[workspace]
members = ["wasm"]
[package]
name = "audex"
version = "0.2.0"
edition = "2024"
rust-version = "1.85"
authors = ["bakgio"]
license = "MIT OR Apache-2.0"
description = "Audio metadata reading and writing library with flexible I/O and easy wrappers"
repository = "https://github.com/bakgio/audex"
readme = "README.md"
keywords = ["audio", "metadata", "tagging", "id3", "vorbis"]
categories = ["multimedia::audio", "parser-implementations"]
exclude = ["tests/*", "fuzz/*"]
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]
[dependencies]
thiserror = "2.0"
byteorder = "1.5"
globset = "0.4"
flate2 = "1.1"
base64 = "0.22"
# Async dependencies (optional, enabled with "async" feature)
tokio = { version = "1.50", features = ["fs", "io-util", "rt", "rt-multi-thread", "sync"], optional = true }
async-trait = { version = "0.1", optional = true }
futures = { version = "0.3", optional = true }
# Tracing dependency (optional, enabled with "tracing" feature)
tracing = { version = "0.1", optional = true }
# Serde dependency (optional, enabled with "serde" feature)
serde = { version = "1.0", features = ["derive"], optional = true }
serde_json = { version = "1.0", features = ["raw_value"], optional = true }
[features]
default = []
async = ["tokio", "async-trait", "futures"]
tracing = ["dep:tracing"]
serde = ["dep:serde", "dep:serde_json"]
[target.'cfg(windows)'.dependencies]
windows-sys = { version = "0.59", features = ["Win32_Foundation", "Win32_Storage_FileSystem"] }
[dev-dependencies]
regex = "1.10"
tempfile = "3.0"
hex = "0.4"
assert_matches = "1.5"
uuid = { version = "1.0", features = ["v4"] }
chrono = { version = "0.4", features = ["serde"] }
proptest = "1.4"
gag = "1.0"
parking_lot = "0.12"
encoding_rs = "0.8"
rand = "0.8"
base64 = "0.22"
tokio = { version = "1.50", features = ["full", "test-util"] }
tracing-subscriber = { version = "0.3", features = ["env-filter", "fmt"] }
tracing = "0.1"
serde_json = "1.0"
toml = "0.8"
serde = { version = "1.0", features = ["derive"] }
# LTO benefits both native and WASM release builds.
# For WASM, also pass size optimization:
# cargo build --release --target wasm32-unknown-unknown \
# --config 'profile.release.opt-level="s"'
[profile.release]
lto = true