awint
Arbitrary width integers (by AaronKutch)
sqlx
🧰 The Rust SQL Toolkit. An async, pure Rust SQL crate featuring compile-time checked queries without a DSL. Supports PostgreSQL, MySQL, and SQLite. (by launchbadge)
awint | sqlx | |
---|---|---|
2 | 145 | |
10 | 12,025 | |
- | 4.0% | |
8.8 | 9.2 | |
3 months ago | 5 days ago | |
Rust | Rust | |
GNU General Public License v3.0 or later | Apache License 2.0 |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
awint
Posts with mentions or reviews of awint.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2021-05-18.
-
Introducing the Arbitrary Width Integers crate`awint`, with separated storage and reference types, no-std, no-alloc, and `const` capable computation, and other features
Additionally as far as I am aware, this is the first biginteger library to use what I think is called "separated storage and reference types". Similar to the way that Rust has storage types like [T; N], Vec , and String and reference types like [T] and str, my library has the storage types ExtAwi and InlAwi, with the common reference type being Bits. Bits uses some DST magic to achieve only single pointer indirection while being able to take advantages of Rust's mutable and immutable reference mechanics. Parts of the crate are admittedly hacks and use a lot of unsafe to achieve these things performantly, but I have a drawn on my previous numerical fuzzing experience and built a huge test suite (see `testcrate` in my repo) with purpose built tests for every function that is run under MIRI, debug mode with plenty of debug assertions, and release mode with a large number of iterations.
-
Hey Rustaceans! Got an easy question? Ask here (20/2021)!
I just published my awint system of crates today. I have a no_alloc_test crate in the repository that builds and links the main crate to make sure that no dependency on an allocator is brought in (building the main crate is not enough, it seems that the checks for an allocator only occurs when linking to a building binary). When I follow the exact sequence of instructions that the `no_alloc_build` job in the `.github/workflow` file takes, it works first time on a local machine (specifically, Debian WSL 2 with a freshly downloaded rustup), but it fails with linking errors on the Actions CI run. How do I debug this issue?
sqlx
Posts with mentions or reviews of sqlx.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-12-09.
-
A tale of TimescaleDB, SQLx and testing in Rust
For PostgreSQL, the most relevent part of the code is here. With this in mind I changed some things around to rely on schemas instead of databases and even simplified some parts of the implementation as this was always meant to be for internal use only..
-
Rust as a general application language
What exactly are you missing? I haven't really written "boring corporate backend stuff" in a few years but something like sqlx provides everything I've ever needed there.
-
Hey Rustaceans! Got a question? Ask here (49/2023)!
Badges are the little rectangles you typically see at the top of a crate's README: https://github.com/launchbadge/sqlx/blob/main/README.md
-
A new F# compiler feature: graph-based type-checking
SQLX has entered the chat [1].
[1] https://github.com/launchbadge/sqlx
-
Grimoire - A recipe management application.
Database : SqLite (using sqlx).
-
SQLX MSSQL Connection String Problem
The current (well, removed) MSSQL sqlx driver also doesn't support encrypted connections (https://github.com/launchbadge/sqlx/issues/1552), so it might work locally on an unnamed instance but not over the network until they add in the newer driver (which will be closed source but for an OSS project you should be able to request a free license I think)
-
Introducing SQLPage : write websites entirely in SQL
I'm considering making my own wrapper over lower-level database drivers. There are a lot of features in sqlx that I don't need, and the latest version seems to have removed useful data structures that SQLPage is using. It also removed support for SQL Server.
- SQLx 0.7 released! Offline mode usability improvements, performance fixes and major upgrades across the board!
- Is ORM still an anti-pattern?
-
MariaDB / SQLx - "Unknown Authentication Plugin"
add Ed25519 to AuthPlugin enum on https://github.com/launchbadge/sqlx/blob/061fdcabd72896d9bc3abb4ea4af6712a04bc0a8/sqlx-core/src/mysql/connection/auth.rs and implement them using these crates:
What are some alternatives?
When comparing awint and sqlx you can also consider the following projects:
rust-rest
diesel - A safe, extensible ORM and Query Builder for Rust
bevy - A refreshingly simple data-driven game engine built in Rust
sea-orm - 🐚 An async & dynamic ORM for Rust
sled - the champagne of beta embedded databases
tokio - A runtime for writing reliable asynchronous applications with Rust. Provides I/O, networking, scheduling, timers, ...
Amethyst - Data-oriented and data-driven game engine written in Rust
rust-postgres - Native PostgreSQL driver for the Rust programming language
Rocket - A web framework for Rust.
rbatis - Rust Compile Time ORM robustness,async, pure Rust Dynamic SQL
actix-web - Actix Web is a powerful, pragmatic, and extremely fast web framework for Rust.