Skip to content

Commit e8dc0bb

Browse files
uklotzdeSerial-ATA
authored andcommitted
Define common package attributes in workspace
1 parent 29404c6 commit e8dc0bb

File tree

6 files changed

+26
-13
lines changed

6 files changed

+26
-13
lines changed

Cargo.toml

+8
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,20 @@ members = [
66
"lofty_attr",
77
"ogg_pager",
88
"fuzz",
9+
"examples/custom_resolver",
910
]
1011

1112
[workspace.package]
13+
edition = "2021"
1214
rust-version = "1.82"
15+
repository = "https://github.com/Serial-ATA/lofty-rs"
16+
license = "MIT OR Apache-2.0"
1317

1418
[workspace.dependencies]
19+
lofty = { path = "lofty" }
20+
lofty_attr = { path = "lofty_attr" }
21+
ogg_pager = { path = "ogg_pager" }
22+
1523
byteorder = "1.5.0"
1624

1725
[workspace.lints.rust]

examples/custom_resolver/Cargo.toml

+4-3
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
[package]
22
name = "custom_resolver"
33
version = "0.1.0"
4-
edition = "2021"
4+
edition.workspace = true
5+
rust-version.workspace = true
56

67
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
78

89
[dependencies]
9-
lofty = { path = "../.." }
10-
lofty_attr = { path = "../../lofty_attr" }
10+
lofty.workspace = true
11+
lofty_attr.workspace = true

fuzz/Cargo.toml

+2-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@ name = "lofty-fuzz"
33
version = "0.0.0"
44
authors = ["Automatically generated"]
55
publish = false
6-
edition = "2018"
6+
edition.workspace = true
7+
rust-version.workspace = true
78

89
[package.metadata]
910
cargo-fuzz = true

lofty/Cargo.toml

+4-3
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,15 @@
22
name = "lofty"
33
version = "0.22.2"
44
authors = ["Serial <[email protected]>"]
5-
edition = "2021"
6-
license = "MIT OR Apache-2.0"
75
description = "Audio metadata library"
8-
repository = "https://github.com/Serial-ATA/lofty-rs"
96
keywords = ["tags", "audio", "metadata", "id3", "vorbis"]
107
categories = ["multimedia", "multimedia::audio", "parser-implementations"]
118
readme = "../README.md"
129
include = ["src", "LICENSE-APACHE", "LICENSE-MIT", "SUPPORTED_FORMATS.md"]
10+
edition.workspace = true
11+
rust-version.workspace = true
12+
repository.workspace = true
13+
license.workspace = true
1314

1415
[dependencies]
1516
# Vorbis comments pictures

lofty_attr/Cargo.toml

+4-3
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,13 @@
22
name = "lofty_attr"
33
version = "0.11.1"
44
authors = ["Serial <[email protected]>"]
5-
edition = "2021"
6-
license = "MIT OR Apache-2.0"
75
description = "Macros for Lofty"
8-
repository = "https://github.com/Serial-ATA/lofty-rs"
96
readme = "README.md"
107
include = ["src", "Cargo.toml", "../LICENSE-*"]
8+
edition.workspace = true
9+
rust-version.workspace = true
10+
repository.workspace = true
11+
license.workspace = true
1112

1213
[dependencies]
1314
syn = { version = "2.0.72", features = ["full", "parsing"] }

ogg_pager/Cargo.toml

+4-3
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,14 @@
22
name = "ogg_pager"
33
version = "0.7.0"
44
authors = ["Serial <[email protected]>"]
5-
edition = "2021"
6-
license = "MIT OR Apache-2.0"
75
description = "A simple OGG page reader"
8-
repository = "https://github.com/Serial-ATA/lofty-rs"
96
keywords = ["ogg", "xiph"]
107
categories = ["multimedia", "multimedia::audio", "parser-implementations"]
118
include = ["src", "Cargo.toml", "../LICENSE-*"]
9+
edition.workspace = true
10+
rust-version.workspace = true
11+
repository.workspace = true
12+
license.workspace = true
1213

1314
[dependencies]
1415
byteorder = { workspace = true }

0 commit comments

Comments
 (0)