build(workspace): schemars-nixgen is a member of the workspace, not a default member

It is a development tool: a bare cargo build leaves it out, publish is off, and no release
ships it. Its manifest uses the workspace dependencies it shares and keeps its own version.
This commit is contained in:
LGUG2Z committed 2026-11-05 15:03:27 -08:00
1 parent 3d33fac0cd
commit 622646c3f7
4 files changed
+28 -6

No files matched your search

Generated
+13
View File
@@ -6780,6 +6780,19 @@ dependencies = [
"serde_json",
]
[[package]]
name = "schemars-nixgen"
version = "0.1.0"
dependencies = [
"clap",
"color-eyre",
"schemars 1.2.3",
"serde",
"serde_json_lenient",
"sha2",
"thiserror 2.0.21",
]
[[package]]
name = "schemars_derive"
version = "1.2.3"
+3
View File
@@ -31,6 +31,9 @@ members = [
"komorebi-hotkeys",
"crates/komorebi-version",
"komorebi-recorder",
# a development tool (it writes the Nix options of the modules): built and tested by its own checks,
# not a default member, so that a bare `cargo build --release` never builds it and no release ships it
"crates/schemars-nixgen",
]
default-members = [
+7 -6
View File
@@ -2,7 +2,8 @@
name = "schemars-nixgen"
version = "0.1.0"
edition = "2024"
license-file = "LICENSE.md"
license-file = "../../LICENSE.md"
publish = false
[lib]
name = "schemars_nixgen"
@@ -13,10 +14,10 @@ name = "schemars-nixgen"
path = "src/main.rs"
[dependencies]
clap = { version = "4", features = ["derive", "wrap_help"] }
color-eyre = "0.6"
schemars = "1.1"
serde = { version = "1", features = ["derive"] }
serde_json = { package = "serde_json_lenient", version = "0.2" }
clap = { workspace = true }
color-eyre = { workspace = true }
schemars = { workspace = true }
serde = { workspace = true }
serde_json = { workspace = true }
sha2 = "0.10"
thiserror = "2"
+5
View File
@@ -77,6 +77,11 @@ crate = "komorebi-recorder"
expression = "LicenseRef-Komorebi-2.0"
license-files = []
[[licenses.clarify]]
crate = "schemars-nixgen"
expression = "LicenseRef-Komorebi-2.0"
license-files = []
[[licenses.clarify]]
crate = "komorebi-hotkeys"
expression = "LicenseRef-Komorebi-2.0"