11 releases (5 breaking)
0.13.0 | Feb 9, 2025 |
---|---|
0.12.1 | Aug 26, 2024 |
0.11.3 | Jul 22, 2024 |
0.10.0 | Jun 9, 2024 |
0.8.0 | Feb 11, 2024 |
#1579 in Rust patterns
Used in 4 crates
(3 directly)
10KB
194 lines
Common functions/items employed through the derive-sql
crates and associated
derive-sql
The project contains the following:
derive-sql
: the root of thederive-sql
library as published on crates.io. Defines the traitSqlable
.extras/derive-sql-sqlite
: the package with the implementation of theDeriveSqlite
macro that implement theSqlable
trait based on a struct with named fields.extras/derive-sql-mysql
: the package with the implementation of theDeriveMysql
macro that implement theSqlable
trait for MySQL based on a struct with named fields.
Publishing
Use script publish.sh
to publish all crates - remember to update OLD_VERSION
and NEW_VERSION
in the file before running!
Dependencies
~0.7–1.1MB
~22K SLoC