Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[doc] Note on diesel compatibility #25933

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

ddhodge
Copy link
Contributor

@ddhodge ddhodge commented Feb 7, 2025

Diesel not compatible with smart driver

@netlify /preview/drivers-orms/rust/

@ddhodge ddhodge self-assigned this Feb 7, 2025
@ddhodge ddhodge added the area/documentation Documentation needed label Feb 7, 2025
Copy link

netlify bot commented Feb 7, 2025

Deploy Preview for infallible-bardeen-164bc9 ready!

Name Link
🔨 Latest commit 9000605
🔍 Latest deploy log https://app.netlify.com/sites/infallible-bardeen-164bc9/deploys/67a65c63d76b3d0008f88748
😎 Deploy Preview https://deploy-preview-25933--infallible-bardeen-164bc9.netlify.app/preview/drivers-orms/rust/
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

| Diesel | [Documentation](diesel/) <br/> [Hello World](../orms/rust/ysql-diesel/) | | |[Diesel app](https://github.com/YugabyteDB-Samples/orm-examples/tree/master/rust/diesel) |
| Diesel | [Documentation](diesel/) <br/> [Hello World](../orms/rust/ysql-diesel/) | Use [rust-postgres](https://github.com/sfackler/rust-postgres) | |[Diesel&nbsp;app](https://github.com/YugabyteDB-Samples/orm-examples/tree/master/rust/diesel) |

Note that Diesel is not compatible with the YugabyteDB Rust smart driver; use the upstream rust-postgres driver instead.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
Note that Diesel is not compatible with the YugabyteDB Rust smart driver; use the upstream rust-postgres driver instead.
Note that Diesel uses the `pq-sys` crate instead of the rust-postgres driver and since the YugabyteeDB Rust smart driver is based on rust-postgres, diesel does not work with our smart driver.

@@ -24,6 +24,8 @@ type: docs

YugabyteDB's YSQL API is fully compatible with Diesel ORM for data persistence in Rust applications.

Note that Diesel is not compatible with the YugabyteDB Rust smart driver; use the upstream rust-postgres driver instead.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same as above.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/documentation Documentation needed
Projects
Status: In progress
Development

Successfully merging this pull request may close these issues.

2 participants