Diesel 2.0.4

* Workaround the missing name resolution in rust-analyzer. This should fix type inference for some diesel queries. (It remains broken for queries containing `.filter()`/`.inner_join()`/`.left_join()`. These require fixes in rust-analyzer itself)
* Fixed a bug that could lead to inserting null values instead of empty values for custom sqlite types
* Fixed a bug that could lead to an unexpected panic while providing an out of bounds bind for `sql_query` in the sqlite backend
* Fixed some mysql backend specific impl being behind the `mysql` instead of the `mysql_backend` feature flag
* Support for `libsqlite3-sys` 0.26
Update the changelog to include more details on the 2.0.4 release
1 file changed
tree: 8c4230965ef71fd02648aed47ec1daae4afd8f82
  1. .cargo/
  2. .github/
  3. bin/
  4. diesel/
  5. diesel_bench/
  6. diesel_cli/
  7. diesel_compile_tests/
  8. diesel_derives/
  9. diesel_dynamic_schema/
  10. diesel_migrations/
  11. diesel_tests/
  12. docker/
  13. examples/
  14. guide_drafts/
  15. migrations/
  16. .editorconfig
  17. .env.sample
  18. .gitignore
  19. Cargo.toml
  20. CHANGELOG.md
  21. clippy.toml
  22. code_of_conduct.md
  23. CONTRIBUTING.md
  24. docker-compose.yml
  25. LICENSE-APACHE
  26. LICENSE-MIT
  27. README.md
  28. rust-toolchain
README.md

A safe, extensible ORM and Query Builder for Rust

Build Status Gitter Crates.io

API Documentation: latest releasemaster branch

Homepage

Diesel gets rid of the boilerplate for database interaction and eliminates runtime errors without sacrificing performance. It takes full advantage of Rust's type system to create a low overhead query builder that “feels like Rust.”

Supported databases:

  1. PostgreSQL
  2. MySQL
  3. SQLite

You can configure the database backend in Cargo.toml:

[dependencies]
diesel = { version = "<version>", features = ["<postgres|mysql|sqlite>"] }

Getting Started

Find our extensive Getting Started tutorial at https://diesel.rs/guides/getting-started. Guides on more specific features are coming soon.

Getting help

If you run into problems, Diesel has a very active Gitter room. You can come ask for help at gitter.im/diesel-rs/diesel. For help with longer questions and discussion about the future of Diesel, open a discussion on GitHub Discussions.

Code of conduct

Anyone who interacts with Diesel in any space, including but not limited to this GitHub repository, must follow our code of conduct.

License

Licensed under either of these:

Contributing

Before contributing, please read the contributors guide for useful information about setting up Diesel locally, coding style and common abbreviations.

Unless you explicitly state otherwise, any contribution you intentionally submit for inclusion in the work, as defined in the Apache-2.0 license, shall be dual-licensed as above, without any additional terms or conditions.