-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
99 lines (79 loc) · 1.99 KB
/
Cargo.toml
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
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
[package]
name = "cdtoc"
version = "0.6.1"
authors = ["Josh Stoik <[email protected]>"]
edition = "2021"
rust-version = "1.83"
description = "Parser and tools for CDTOC metadata tags."
license = "WTFPL"
repository = "https://github.com/Blobfolio/cdtoc"
readme = "README.md"
keywords = [ "cdtoc", "accuraterip", "cddb", "ctdb", "musicbrainz" ]
exclude = [
".github",
".gitignore",
".righteous-sandbox.json",
"doc",
"justfile",
]
[package.metadata.bashman]
name = "CDTOC"
[package.metadata.docs.rs]
rustc-args = ["--cfg", "docsrs"]
rustdoc-args = ["--cfg", "docsrs"]
features = [ "accuraterip", "cddb", "ctdb", "musicbrainz", "serde" ]
default-target = "x86_64-unknown-linux-gnu"
[dev-dependencies]
brunch = "0.8.*"
serde_json = "1.0.*"
[dependencies]
dactyl = "0.9.*"
trimothy = "0.6.*"
[dependencies.faster-hex]
version = "0.10.*"
default-features = false
features = [ "std" ]
[dependencies.itoa]
version = "1.0.*"
optional = true
[dependencies.serde]
version = "1.0.*"
optional = true
[dependencies.sha1]
version = "0.10.*"
optional = true
[features]
default = [ "accuraterip", "cddb", "ctdb", "musicbrainz" ]
# Enable AccurateRip ID calculations.
accuraterip = [ "cddb" ]
# Enable the sha1 crate's "asm" feature. This will speed up CTDB/MusicBrainz ID
# crunching ~5-10%, but otherwise has no effect.
# WARNING: this is *only* compatible with aarch64, x86, and x86_64 targets!
asm = [ "sha1/asm" ]
# Enable CDDB ID calculations.
cddb = [ "itoa" ]
# Enable CUETools Database ID calculations.
ctdb = [ "itoa", "sha1" ]
# Enable MusicBrainz ID calculations.
musicbrainz = [ "sha1" ]
# Enable de/serialization support for most types.
serde = [ "dep:serde" ]
[[bench]]
name = "accuraterip"
required-features = [ "accuraterip" ]
harness = false
[[bench]]
name = "cddb"
required-features = [ "cddb" ]
harness = false
[[bench]]
name = "ctdb"
required-features = [ "ctdb" ]
harness = false
[[bench]]
name = "musicbrainz"
required-features = [ "musicbrainz" ]
harness = false
[[bench]]
name = "toc"
harness = false