Release
GraphReFly Rust publishes the graphrefly-rs Cargo package whose library crate
is graphrefly.
Version
Section titled “Version”The crate version lives in crates/graphrefly/Cargo.toml.
API docs
Section titled “API docs”Rust API docs are package-local rustdoc:
RUSTDOCFLAGS="-D warnings" mise exec -- cargo doc -p graphrefly-rs --all-features --no-depsThe Starlight site build generates the same rustdoc and copies it to
/api/rustdoc/.
Publish
Section titled “Publish”Before publishing, run:
mise exec -- cargo fmt --all --checkRUSTDOCFLAGS="-D warnings" mise exec -- cargo doc -p graphrefly-rs --all-features --no-depsmise exec -- cargo clippy -p graphrefly-rs --all-targets --all-features -- -D warningsmise exec -- cargo test -p graphrefly-rs --all-featurespnpm --dir website buildShared website and blog publishing remains owned by ~/src/graphrefly. This
package deploys its own Starlight output to https://rs.graphrefly.dev/.