Skip to content

v0.3.1: ready for crates.io, dependency ranges, rustfmt in the gate

Choose a tag to compare

@github-actions github-actions released this 16 Oct 18:59
· 19 commits to main since this release
v0.3.1
7ddd71a

Added

  • protocontract and protoc-gen-protocontract-buffa are ready for
    crates.io: keywords, categories, the license text in each package, and
    docs.rs builds protocontract with every feature, so it shows Offload
    and Blocking. A logo for the README and the rustdoc pages.
  • bazel test //... checks the formatting of the hand-written Rust
    (//rust:fmt, rustfmt of the pinned toolchain).

Changed

  • The workspace takes its dependencies as caret ranges instead of exact
    pins (buffa = "0.9.2", was "=0.9.2"), so a consumer of
    protocontract is not held to one version of buffa, futures-core, or
    tokio. Cargo.lock still fixes the versions this repository builds and
    tests.
  • The README takes protocontract from crates.io
    (protocontract = "0.3") and the plugin with cargo install, links to
    GitHub by absolute URLs, and corrects the names of the runtime's codes
    (RuntimeCode::Panicked, not PANICKED), the strategy: all of the
    example buf.gen.yaml, and how the static release binaries are built.

Consumers of the generated code and the runtime change nothing: the
generated code, the runtime API, and the plugin parameters are the same
as in 0.3.0.