Skip to content

Commit 4af144d

Browse files
committed
Store common key in workspace.package
Use resolver = "2"
1 parent 386d4d6 commit 4af144d

File tree

4 files changed

+29
-21
lines changed

4 files changed

+29
-21
lines changed

Cargo.toml

Lines changed: 14 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
[package]
22
name = "zerogc"
3-
version = "0.2.0-alpha.7"
4-
authors = ["Techcable <Techcable@techcable.net>"]
53
description = "Zero overhead tracing garbage collection for rust"
6-
repository = "https://github.com/DuckLogic/zerogc"
7-
license = "MIT"
8-
edition = "2018"
4+
version.workspace = true
5+
authors.workspace = true
6+
repository.workspace = true
7+
license.workspace = true
8+
edition.workspace = true
99
readme = "README.md"
1010

1111
[dependencies]
@@ -41,7 +41,15 @@ serde_json = "1"
4141
fnv = "1"
4242

4343
[workspace]
44-
members = ["libs/simple", "libs/derive", "libs/context"]
44+
resolver = "2"
45+
members = ["libs/*"]
46+
47+
[workspace.package]
48+
version = "0.2.0-alpha.7"
49+
authors = ["Techcable <git+zerogc@techcable.net>"]
50+
repository = "https://github.com/DuckLogic/zerogc"
51+
license = "MIT"
52+
edition = "2018"
4553

4654
[features]
4755
default = ["std", "epsilon", "epsilon-arena-alloc"]

libs/context/Cargo.toml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
[package]
22
name = "zerogc-context"
33
description = "Handles the context of a zerogc collector."
4-
version = "0.2.0-alpha.7"
5-
authors = ["Techcable <Techcable@techcable.net>"]
6-
repository = "https://github.com/DuckLogic/zerogc"
4+
version.workspace = true
5+
authors.workspace = true
6+
repository.workspace = true
7+
edition.workspace = true
78
readme = "../../README.md"
89
license = "MIT"
9-
edition = "2018"
1010

1111
[dependencies]
1212
zerogc = { path = "../..", version = "0.2.0-alpha.6" }

libs/derive/Cargo.toml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
11
[package]
22
name = "zerogc-derive"
33
description = "Procedural derive for zerogc's garbage collection"
4-
version = "0.2.0-alpha.6"
5-
authors = ["Techcable <Techcable@techcable.net>"]
6-
repository = "https://github.com/DuckLogic/zerogc"
4+
version.workspace = true
5+
authors.workspace = true
6+
repository.workspace = true
7+
license.workspace = true
8+
edition.workspace = true
79
readme = "../../README.md"
8-
license = "MIT"
9-
edition = "2018"
1010

1111
[lib]
1212
proc-macro = true
1313

1414
[dev-dependencies]
15-
zerogc = { version = "0.2.0-alpha.6", path = "../..", features = ["serde1"] }
15+
zerogc = { version = "0.2.0-alpha.7", path = "../..", features = ["serde1"] }
1616
serde = { version = "1" }
1717

1818
[dependencies]

libs/simple/Cargo.toml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
[package]
22
name = "zerogc-simple"
33
description = "Lightweight mark/sweep collector for zerogc."
4-
version = "0.2.0-alpha.7"
5-
authors = ["Techcable <Techcable@techcable.net>"]
6-
repository = "https://github.com/DuckLogic/zerogc"
4+
version.workspace = true
5+
authors.workspace = true
6+
repository.workspace =true
7+
license.workspace = true
8+
edition.workspace = true
79
readme = "../../README.md"
8-
license = "MIT"
9-
edition = "2018"
1010

1111
[dependencies]
1212
inherent = "1"

0 commit comments

Comments
 (0)