Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Dec 22, 2025

Bumps dynosaur from 0.2.0 to 0.3.0.

Release notes

Sourced from dynosaur's releases.

v0.3.0

Breaking changes

Dynosaur v0.3 contains some breaking changes in preparation for an upcoming 1.0 release.

Attribute format

The dynosaur attribute now has the following format:

#[dynosaur(DynTrait = dyn(box) Trait)]
trait Trait {}

Constructors

  • DynTrait::boxed() has been renamed to DynTrait::new_box().
  • DynTrait::new() has been renamed to DynTrait::from_box().

Bridge impls

Dynosaur now produces bridge impls for Box<T>, &mut T, and &T by default, depending on the trait signature. These can be disabled with the bridge(none) macro option.

#[dynosaur(DynTrait = dyn(box) Trait, bridge(none))]
trait Trait {}

trait-variant support

trait_variant users must supply bridge(dyn) or bridge(none) in their dynosaur macro invocations. See the docs on bridge impls for more.

#[trait_variant::make(SendNext: Send)]
#[dynosaur(DynNext = dyn(box) Next, bridge(dyn))]
#[dynosaur(DynSendNext = dyn(box) SendNext, bridge(dyn))]
trait Next {
    type Item;
    async fn next(&mut self) -> Option<Self::Item>;
}

New features

  • New constructors: DynTrait::new_arc(), DynTrait::new_rc()
  • Bridge impls (see above)
  • Basic [argument-position impl Trait support][APIT]

... (truncated)

Commits
  • 5e02248 Release v0.3.0
  • 304544c Merge pull request #105 from spastorino/finishing-touches
  • 2d064e9 Require fully explicit syntax with trait name
  • 3d19d3f Add back from_box constructor
  • 2dce126 Rename bridge(static) to bridge(blanket)
  • b608d61 Require dyn(box)
  • 873d03b Assume use dynosaur::dynosaur in docs
  • 9f6fee4 Merge pull request #104 from spastorino/bridge-docs
  • b1390d4 Update docs with bridge options
  • 25586e9 Merge pull request #102 from spastorino/blanket-bridge
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [dynosaur](https://github.com/spastorino/dynosaur) from 0.2.0 to 0.3.0.
- [Release notes](https://github.com/spastorino/dynosaur/releases)
- [Commits](spastorino/dynosaur@0.2.0...0.3.0)

---
updated-dependencies:
- dependency-name: dynosaur
  dependency-version: 0.3.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file rust Pull requests that update Rust code labels Dec 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file rust Pull requests that update Rust code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant