commit 956c5114bbccd03955060c274201bf54f54a2b11
parent 9eb9e9770e1ccf06559c612a1822cde49ebff705
Author: triesap <tyson@radroots.org>
Date: Tue, 4 Aug 2026 12:42:05 +0000
fix(release): qualify SDK package archives
- exclude repository-only boundary tests
- align source tests with registry staging
- retain public SDK and facade integration tests
- verify extracted all-feature build and docs
Diffstat:
4 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/crates/radroots/Cargo.toml b/crates/radroots/Cargo.toml
@@ -12,7 +12,7 @@ readme = "README.md"
documentation = "https://docs.rs/radroots"
keywords = ["radroots", "local-food", "sdk", "nostr"]
categories = ["api-bindings", "asynchronous", "network-programming"]
-include = ["src/**", "tests/**", "examples/**", "Cargo.toml", "README.md", "LICENSE-APACHE", "LICENSE-MIT"]
+include = ["src/**", "tests/**", "!tests/package_boundary.rs", "examples/**", "Cargo.toml", "README.md", "LICENSE-APACHE", "LICENSE-MIT"]
publish = ["crates-io"]
autoexamples = false
diff --git a/crates/radroots/tests/package_boundary.rs b/crates/radroots/tests/package_boundary.rs
@@ -8,7 +8,7 @@ const README: &str = include_str!("../README.md");
#[test]
fn package_has_final_identity_and_exact_dependencies() {
assert!(MANIFEST.contains("name = \"radroots\""));
- assert!(MANIFEST.contains("publish = false"));
+ assert!(MANIFEST.contains("publish = [\"crates-io\"]"));
assert_eq!(
dependency_names(MANIFEST),
BTreeSet::from([
diff --git a/crates/sdk/Cargo.toml b/crates/sdk/Cargo.toml
@@ -13,7 +13,7 @@ readme = "README.md"
documentation = "https://docs.rs/radroots_sdk"
keywords = ["radroots", "sdk", "local-food", "nostr"]
categories = ["api-bindings", "asynchronous", "network-programming"]
-include = ["src/**", "tests/**", "examples/**", "Cargo.toml", "README.md", "LICENSE-APACHE", "LICENSE-MIT"]
+include = ["src/**", "tests/**", "!tests/package_boundary.rs", "examples/**", "Cargo.toml", "README.md", "LICENSE-APACHE", "LICENSE-MIT"]
autotests = false
autoexamples = false
diff --git a/crates/sdk/tests/package_boundary.rs b/crates/sdk/tests/package_boundary.rs
@@ -17,7 +17,7 @@ const PUBLICATION: &str = include_str!("../../../contracts/releases/publication.
#[test]
fn manifest_has_final_identity_and_dependency_boundary() {
assert!(MANIFEST.contains("name = \"radroots_sdk\""));
- assert!(MANIFEST.contains("publish = false"));
+ assert!(MANIFEST.contains("publish = [\"crates-io\"]"));
assert!(MANIFEST.contains("version.workspace = true"));
assert!(MANIFEST.contains("name = \"package_boundary\""));