Hashavatar 0.6.0 #5
Closed
eldryoth
announced in
Announcements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
hashavatar 0.6.0
hashavatar0.6.0 narrows the crate back to its core purpose: reusable deterministic avatar rendering.Highlights
axumandtokiodependencieshashavatar-clibinary so the package is a pure library cratehashavatar-apiprojectAvatarSpec::newto validate dimensions at construction and made spec fields privateResult<_, AvatarSpecError>for invalid dimensions instead of panickingWhy This Changed
The public HTTP API and demo website already live in
hashavatar-api. Keeping a second demo server inside the library crate made the package heavier and pulled web-server dependencies into users that only need avatar rendering.Compatibility
AvatarSpec, constructingAvatarIdentity/AvatarNamespace, using direct render functions, using customAvatarRendererimplementations, or relying on the removed path-writing export helpers.AvatarSpec::new(...)now returnsResult<AvatarSpec, AvatarSpecError>.AvatarIdentity::new(...),AvatarIdentity::new_with_namespace(...), andAvatarNamespace::new(...)now returnResult.cargo runfor the bundled demo should usehashavatar-apiinstead.cargo run --bin hashavatar-clishould call the library API directly or build a separate CLI wrapper.Security And Quality
src/lib.rsnow forbids unsafe code.AvatarSpecdimensions are validated before a spec value can be constructed through the public API.f64intermediates for high-magnitude geometry calculations.scripts/checks.shnow validates release metadata, package contents, dependency scope, unsafe boundaries, reviewed panic-like sites, docs, fuzz harness compilation, dependency licenses, and RustSec advisories.scripts/stable_release_gate.shadds publish dry-run, reproducibility, and optional SBOM generation for release validation.This discussion was created from the release Hashavatar 0.6.0.
Beta Was this translation helpful? Give feedback.
All reactions