virtue breaking changes

cargo

8 curated breaking changes across major versions of virtue. Use this as a migration checklist before bumping dependencies.

8
changes
Breaking changes by transition
  • v0.0.6 \u2192 v0.0.7breaking

    `Generator::impl_for` and `::impl_for_with_lifetimes` no longer returns a `Result`

  • v0.0.4 \u2192 v0.0.5breaking

    `with_generic` is split into `with_generic` (no dependencies) and `with_generic_deps` (with dependencies)

  • v0.0.4 \u2192 v0.0.5breaking

    `with_lifetime` is split into `with_lifetime` (no dependencies) and `with_lifetime_deps` (with dependencies) **Full Changelog**: https://github.com/bincode-org/virtue/compare/v0.0.4...v0.0.5

  • v0.0.1 \u2192 v0.0.2breaking

    Made `StreamBuilder::group` always return `crate::Result<&mut Self>`

  • v0.0.1 \u2192 v0.0.2breaking

    Made most `StreamBuilder` methods return `&mut Self` so they can be chained

  • v0.0.1 \u2192 v0.0.2breaking

    Made `FromAttribute::parse` return `Result<Option<Self>>` (was `Option<Self>` before)

  • v0.0.1 \u2192 v0.0.2breaking

    Renamed `IdentOrIndex`'s `has_field_attribute` to `has_attribute`

  • v0.0.1 \u2192 v0.0.2breaking

    Changed most of `FnBuilder`'s argument from `Into<String>` to `&str`

API access

Get this data programmatically \u2014 free, no authentication.

curl https://depscope.dev/api/breaking/cargo/virtue
virtue breaking changes — Cargo migration guide | DepScope