Skip to content

chore(deps): bump toasty-driver-sqlite from 0.10.0 to 0.11.0 - #35

Closed
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/cargo/toasty-driver-sqlite-0.11.0
Closed

dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/cargo/toasty-driver-sqlite-0.11.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Oct 4, 2026

Copy link
Copy Markdown

Bumps toasty-driver-sqlite from 0.10.0 to 0.11.0.

Release notes

Sourced from toasty-driver-sqlite's releases.

Toasty v0.11.0

Highlights

Relations inside embedded types are complete. v0.10 let #[belongs_to] fields sit inside embedded structs and enum variants. v0.11 makes them usable end to end. A model can belong to one of several parent types through an embedded enum, callers set the relation from a model value instead of copying its key, filters compare against a model, and .include() preloads the relation:

#[derive(toasty::Embed)]
enum Owner {
    Human {
        #[shared(id)]
        id: uuid::Uuid,
        #[belongs_to(key = id)]
        human: toasty::Deferred<Human>,
    },
    Animal {
        #[shared(id)]
        id: uuid::Uuid,
        #[belongs_to(key = id)]
        animal: toasty::Deferred<Animal>,
    },
}
let object = toasty::create!(Object {
owner: Owner::Human { human: &alice },
})
.exec(&mut db)
.await?;
let objects = Object::all()
.include(Object::fields().owner().human().human())
.include(Object::fields().owner().animal().animal())
.exec(&mut db)
.await?;

Loading checks the variant as well as the key, so a human and an animal with the same ID stay distinct. Toasty skips the query for variants that no loaded row uses, and non-deferred relations such as human: Human load automatically with their embed. Inverse has_many and has_one fields cannot yet pair with an embedded relation.

Read about relations inside embedded types.

MariaDB is a first-class backend. Enable the mariadb feature and connect with a mariadb:// URL. The driver uses MariaDB's native UUID columns and INSERT ... RETURNING, so batch inserts return database-generated IDs. It accepts the same connection parameters as the MySQL driver. A mysql:// URL pointed at MariaDB keeps MySQL behavior, including VARCHAR(36) UUID storage; moving an existing database to mariadb:// changes the default UUID column type and needs a schema migration.

Read about MariaDB setup.

Turso Cloud over HTTP. The Turso driver's new serverless feature (turso-serverless on toasty) connects to a Turso Cloud database over HTTP. A URL with a host selects serverless mode; a path or :memory: still opens the embedded engine. Local, sync, and serverless databases share one constructor and one credential API:

let driver = toasty_driver_turso::Turso::new("turso://my-db.aws-us-east-1.turso.io")?
    .with_auth_token(token);

... (truncated)

Commits
  • d71114e chore: release v0.11.0 (#1184)
  • a4e9129 chore(deps): update all non-major dependencies (#1262)
  • c371653 fix(core): infer derived table column types (#1256)
  • c141835 docs: preserve database value comparisons in the Option contract (#1255)
  • 8d3170e docs: define the Option semantics contract (#1254)
  • e5fdaeb chore: remove write-tests, dynamodb-tests, and sync-docs skills (#1252)
  • 2741304 refactor!: preserve target types in generated model fields (#1249)
  • 45b8712 chore(deps): update rust crate lru to v0.18.5 (#1250)
  • 9fe6b15 chore(deps): update rust crate aws-sdk-dynamodb to v1.127.0 (#1248)
  • 0360f65 feat: preload relations inside embedded types (#1228)
  • 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 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 [toasty-driver-sqlite](https://github.com/tokio-rs/toasty) from 0.10.0 to 0.11.0.
- [Release notes](https://github.com/tokio-rs/toasty/releases)
- [Changelog](https://github.com/tokio-rs/toasty/blob/main/release-plz.toml)
- [Commits](tokio-rs/toasty@toasty-driver-sqlite-v0.10.0...toasty-driver-sqlite-v0.11.0)

---
updated-dependencies:
- dependency-name: toasty-driver-sqlite
  dependency-version: 0.11.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 Oct 4, 2026
@coderabbitai

coderabbitai Bot commented Oct 4, 2026

Copy link
Copy Markdown

Important

Review skipped

Bot user detected.

To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration
  • Configuration used: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 6e2aed14-5034-4cd6-93de-98eff1eaccda

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
  • Autopilot · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@ltoddy ltoddy closed this Oct 5, 2026
@dependabot @github

dependabot Bot commented on behalf of github Oct 5, 2026

Copy link
Copy Markdown
Author

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version. You can also ignore all major, minor, or patch releases for a dependency by adding an ignore condition with the desired update_types to your config file.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.

@dependabot
dependabot Bot deleted the dependabot/cargo/toasty-driver-sqlite-0.11.0 branch October 5, 2026 00:31
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