Skip to content

Commit 3a615a1

Browse files
committed
Use workspace inheritance to deduplicate things
1 parent d4a606b commit 3a615a1

File tree

2 files changed

+16
-9
lines changed

2 files changed

+16
-9
lines changed

Cargo.toml

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,24 @@
11
[workspace]
22
members = ["include-blob-macros", "test-project"]
3+
package.repository = "https://github.com/SludgePhD/include-blob"
4+
package.edition = "2021"
5+
package.license = "0BSD"
6+
7+
# (update these versions together to ensure that the crates remain linked together exactly)
8+
package.version = "1.0.0"
9+
dependencies.include-blob-macros = { path = "include-blob-macros", version = "=1.0.0" }
310

411
[package]
512
name = "include-blob"
6-
version = "1.0.0"
7-
edition = "2021"
8-
license = "0BSD"
9-
repository = "https://github.com/SludgePhD/include-blob"
13+
version.workspace = true
14+
edition.workspace = true
15+
license.workspace = true
16+
repository.workspace = true
1017
description = "Include large binary files in an application without the compile time cost of `include_bytes!`"
1118
categories = ["development-tools::build-utils"]
1219
keywords = ["include", "binary", "bytes", "file"]
1320

1421
[dependencies]
15-
include-blob-macros = { path = "include-blob-macros", version = "=1.0.0" }
22+
include-blob-macros.workspace = true
1623
object = { version = "0.36.7", default-features = false, features = ["write"] }
1724
ar_archive_writer = "0.4.2"

include-blob-macros/Cargo.toml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
[package]
22
name = "include-blob-macros"
3-
version = "1.0.0"
4-
edition = "2021"
5-
license = "0BSD"
6-
repository = "https://github.com/SludgePhD/include-blob"
3+
version.workspace = true
4+
edition.workspace = true
5+
license.workspace = true
6+
repository.workspace = true
77
description = "(semver-exempt implementation detail of `include-blob`; do not use)"
88

99
[lib]

0 commit comments

Comments
 (0)