Skip to content

Commit 2b1b37d

Browse files
committed
🔧 Move version to workspace root
1 parent 6bf7ef1 commit 2b1b37d

File tree

6 files changed

+13
-3
lines changed

6 files changed

+13
-3
lines changed

Cargo.toml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,8 @@
22
members = ["crates/*"]
33
resolver = "2"
44

5+
[workspace.package]
6+
version = "0.4.4"
7+
58
[workspace.dependencies]
6-
terminal-colorsaurus = { path = "crates/terminal-colorsaurus" }
9+
terminal-colorsaurus = { path = "crates/terminal-colorsaurus", version = "0.4.4" }

crates/benchmark/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
name = "benchmark"
33
edition = "2021"
44
version = "1.0.0"
5+
publish = false
56

67
[dependencies]
78
clap = { version = "4.4", features = ["derive"] }

crates/pycolorsaurus/Cargo.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,9 @@
22
name = "colorsaurus"
33
version = "0.1.0"
44
edition = "2021"
5+
license = "MIT OR Apache-2.0"
6+
publish = false
57

6-
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
78
[lib]
89
name = "colorsaurus"
910
crate-type = ["cdylib"]

crates/terminal-colorsaurus/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ repository = "https://github.com/bash/terminal-colorsaurus"
66
categories = ["command-line-interface"]
77
keywords = ["terminal", "light", "dark", "color-scheme", "cli"]
88
license = "MIT OR Apache-2.0"
9-
version = "0.4.4"
9+
version.workspace = true
1010
edition = "2021"
1111
rust-version = "1.70.0" # Search for `FIXME(msrv)` when bumping.
1212
exclude = [".github", ".gitignore", "*.sh", "benchmark/**/*", "doc/issues.md", "deny.toml"]

crates/termtheme/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ version = "0.1.0"
44
edition = "2021"
55
license = "MIT OR Apache-2.0"
66
rust-version = "1.70.0" # Search for `FIXME(msrv)` when bumping.
7+
publish = false # Not ready yet
78

89
[dependencies]
910
anstyle = "1.0.8"

deny.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
[graph]
22
all-features = true
3+
exclude = ["benchmark"]
34

45
[output]
56
feature-depth = 1
@@ -8,6 +9,8 @@ feature-depth = 1
89
allow = [
910
"MIT",
1011
"Apache-2.0",
12+
"Apache-2.0 WITH LLVM-exception",
13+
"Unicode-DFS-2016",
1114
]
1215
confidence-threshold = 1.0
1316

@@ -16,6 +19,7 @@ multiple-versions = "deny"
1619
wildcards = "deny"
1720
skip = [
1821
{ crate = "windows-sys", reason = "an old version is used by mio, see https://github.com/tokio-rs/mio/pull/1820 for updating it" },
22+
{ crate = "heck@0.4", reason = "depended on by clap. updated in a newer clap version, but we can't update because that would require an MSRV bump)" }
1923
]
2024

2125
[sources]

0 commit comments

Comments
 (0)