sqlx
cpp-from-the-sky-down | sqlx | |
---|---|---|
5 | 145 | |
262 | 11,822 | |
0.8% | 2.4% | |
0.0 | 9.2 | |
29 days ago | 6 days ago | |
HTML | Rust | |
Apache License 2.0 | Apache License 2.0 |
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.
cpp-from-the-sky-down
-
Show HN: Inbox Zero โ open-source email assistant
If you are looking for a simple solution for inbox zero for gmail - quickly classify emails as archive, follow-up, read through, take a look at my hacky attempt.
https://github.com/google/cpp-from-the-sky-down/blob/master/...
It is inspired by vim. It downloads all the email snippets and sorts them in descending order by sender and date.
Then you use โjโ, โkโ to navigate through the emails. You can press โaโ for archive, โfโ for follow up, and โrโ for read through. You can also press โpโ to navigate to next email prefix (the stuff before the @) and โdโ to navigate to the next domain. Like vim you can combine keystrokes. โadโ will archive all the emails from the present position to the next domain. Since these are sorted by reverse date, often you can look at recent dates and archive the rest.
All operations happen in memory so they are instantaneous. You the press โwโ to actually move the messages on the server as a batch operation.
It is really useful if you are getting started or are falling behind and need to quickly classify a few thousand emails.
It is a single 500 line Rust program so you can hack on it to change it to how you like it.
-
Code Generator for SQLite
>The generated code always checks the various return codes and always uses the correct column ordinals and column types when binding or reading data to or from the SQLite system โ areas that are notoriously difficult to get right and keep right.
If you care mostly about this part, and are using C++20, you can use meta programming to accomplish this with some annotations of your SQL statements, and avoid code generators and separate syntax.
https://github.com/google/cpp-from-the-sky-down/blob/master/...
ftsd::prepared_statement<
-
What's everyone working on this week (15/2021)?
I am using sqlite as the database via rusqlite. I am using my own project: tagged_rusqlite (cpp-from-the-sky-down/rust/tagged_rusqlite at master ยท google/cpp-from-the-sky-down (github.com) ) on top of rusqlite for strongly typed rows and query params.
-
Tagged Rusqlite: Simple, lightweight, SQL typing proof of concept
The full code is at: https://github.com/google/cpp-from-the-sky-down/blob/master/rust/
-
iface - Anonymous, non-intrusive interfaces in C++
cpp-from-the-sky-down/example.cpp at master ยท google/cpp-from-the-sky-down ยท GitHub
sqlx
-
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?
bonsaidb - A developer-friendly document database that grows with you, written in Rust
diesel - A safe, extensible ORM and Query Builder for Rust
SIMple-Electronics - digital logic sim
sea-orm - ๐ An async & dynamic ORM for Rust
wezterm - A GPU-accelerated cross-platform terminal emulator and multiplexer written by @wez and implemented in Rust
tokio - A runtime for writing reliable asynchronous applications with Rust. Provides I/O, networking, scheduling, timers, ...
lemon-rs - LALR(1) parser generator for Rust based on Lemon + SQL parser
rust-postgres - Native PostgreSQL driver for the Rust programming language
Native Windows GUI - A light windows GUI toolkit for rust
rbatis - Rust Compile Time ORM robustness,async, pure Rust Dynamic SQL
mos - An assembler, code formatter, language server and debug adapter for the MOS 6502 CPU.
actix-web - Actix Web is a powerful, pragmatic, and extremely fast web framework for Rust.