Skip to content

Commit 70ad1a8

Browse files
authored
Coherently handle the publish and the version entries in each package (#1167)
This commit set the `publish` key in each package to `false` and sets the version to `0.0.0`, to explicitly the mark the package as not publishable, as documented in https://doc.rust-lang.org/cargo/reference/manifest.html#the-publish-field. The main motivation for this change is to prevent certain packages from being published by mistake, either manually or in light of a future publishing mechanism.
1 parent 8b66278 commit 70ad1a8

File tree

8 files changed

+19
-14
lines changed

8 files changed

+19
-14
lines changed

Cargo.lock

Lines changed: 7 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

crates/plugin-processing/Cargo.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
[package]
22
name = "javy-plugin-processing"
3-
version.workspace = true
3+
version = "0.0.0"
4+
publish = false
45
authors.workspace = true
56
edition.workspace = true
67
license.workspace = true

crates/plugin/Cargo.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
[package]
22
name = "javy-plugin"
3-
version = "0.2.0"
3+
version = "0.0.0"
44
authors.workspace = true
55
edition.workspace = true
66
license.workspace = true
7+
publish = false
78

89
[lib]
910
name = "plugin"

crates/runner/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "javy-runner"
3-
version.workspace = true
3+
version = "0.0.0"
44
authors.workspace = true
55
edition.workspace = true
66
license.workspace = true

crates/test-invalid-plugin/Cargo.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
[package]
22
name = "javy-test-invalid-plugin"
3-
version = "0.1.0"
3+
version = "0.0.0"
4+
publish = false
45
authors.workspace = true
56
edition.workspace = true
67
license.workspace = true

crates/test-macros/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "javy-test-macros"
3-
version.workspace = true
3+
version = "0.0.0"
44
authors.workspace = true
55
edition.workspace = true
66
license.workspace = true

crates/test-plugin-wasip1/Cargo.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
[package]
22
name = "javy-test-plugin-wasip1"
3-
version = "0.1.0"
3+
version = "0.0.0"
44
authors.workspace = true
55
edition.workspace = true
66
license.workspace = true
7+
publish = false
78

89
[lib]
910
name = "test_plugin"

crates/test-plugin-wasip2/Cargo.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
[package]
22
name = "javy-test-plugin-wasip2"
3-
version = "0.1.0"
3+
version = "0.0.0"
44
authors.workspace = true
55
edition.workspace = true
66
license.workspace = true
7+
publish = false
78

89
[lib]
910
name = "test_plugin"

0 commit comments

Comments
 (0)