Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ jobs:
# Catches Cargo.toml metadata regressions (missing license, bad
# include paths, etc.) on the subset of crates that have no
# workspace deps — those are the only ones `cargo publish --dry-run`
# can check before anything's on crates.io. The other 4 crates
# can check before anything's on crates.io. The other crates
# (hyperdb-api-core, hyperdb-api-salesforce, hyperdb-api, hyperdb-mcp)
# resolve their path+version deps against the live index, which can't
# succeed until those deps are themselves published. (Note:
Expand All @@ -223,8 +223,9 @@ jobs:
cache-key: publish-dry-run
rustflags: ""
- run: |
cargo publish -p hyperdb-bootstrap --dry-run
cargo publish -p sea-query-hyperdb --dry-run
cargo publish -p hyperdb-bootstrap --dry-run
cargo publish -p sea-query-hyperdb --dry-run
cargo publish -p hyperdb-api-derive --dry-run

deny:
# Enforces license allowlist, advisory ignore list, and banned-source
Expand Down
11 changes: 6 additions & 5 deletions .github/workflows/release-please.yml
Original file line number Diff line number Diff line change
Expand Up @@ -119,12 +119,13 @@ jobs:

# `cargo metadata --format-version=1` forces a lockfile
# reconciliation pass against the current Cargo.tomls. Empirically
# validated on this workspace: it flips exactly the 7 workspace-
# validated on this workspace: it flips exactly the 8 workspace-
# member version rows (hyperdb-api, hyperdb-api-core,
# hyperdb-api-node, hyperdb-api-salesforce, hyperdb-bootstrap,
# hyperdb-mcp, sea-query-hyperdb) and touches no external dep
# rows. The "Verify lockfile diff is workspace-only" sentinel
# below catches it if a future cargo version diverges.
# hyperdb-api-derive, hyperdb-api-node, hyperdb-api-salesforce,
# hyperdb-bootstrap, hyperdb-mcp, sea-query-hyperdb) and touches
# no external dep rows. The "Verify lockfile diff is workspace-
# only" sentinel below catches it if a future cargo version
# diverges.
#
# Why not `cargo generate-lockfile`: it does a full re-resolve
# and bumps unrelated transitive deps to their latest semver
Expand Down
11 changes: 11 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,18 @@ jobs:
# window for small crates.
sleep 45
}
# Publish order is dependency-topological:
# - hyperdb-api-salesforce, hyperdb-api-derive: leaves (no
# workspace deps).
# - hyperdb-api-core: depends on hyperdb-api-salesforce
# (optional, via salesforce-auth feature).
# - hyperdb-api: depends on hyperdb-api-core AND
# hyperdb-api-derive (=X.Y.Z strict pin → derive must be
# on the index when hyperdb-api builds).
# - hyperdb-mcp, hyperdb-bootstrap, sea-query-hyperdb: depend
# on hyperdb-api / hyperdb-api-core; publish last.
publish hyperdb-api-salesforce
publish hyperdb-api-derive
publish hyperdb-api-core
publish hyperdb-api
publish hyperdb-mcp
Expand Down
3 changes: 2 additions & 1 deletion hyperdb-api/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,9 @@
//! - `hyperdb-api` — High-level API (this crate)
//!
//! Optional companion crates:
//! - `sea-query-hyper` — `HyperDB` SQL dialect backend for `sea-query`
//! - `sea-query-hyperdb` — `HyperDB` SQL dialect backend for `sea-query`
//! - `hyperdb-api-salesforce` — Salesforce Data Cloud OAuth authentication
//! - `hyperdb-api-derive` — Proc-macro `#[derive(FromRow)]` (re-exported by this crate)
//!
//! # Quick Start
//!
Expand Down
Loading