Crates.io | dialtone_sqlx_macros |
lib.rs | dialtone_sqlx_macros |
version | 0.1.0 |
source | src |
created_at | 2022-07-04 17:07:43.077999 |
updated_at | 2022-07-04 17:07:43.077999 |
description | Dialtone SQLx Macros |
homepage | |
repository | https://codeberg.org/rcode3/dialtone |
max_upload_size | |
id | 619066 |
size | 21,324 |
A crate of macros useful for keeping the sqlx boundary out of the API layer.
Dialtone is an un-imagined Activity Pub system. What does "un-imagined" mean? Basically, there is no intent to silo this software into a specific vertical "marketplace". Instead, emergent use cases will be addressed.
This software is under active, initial development and is far from feature complete or ready for use.
Licensed under either of
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.
Use cargo expand
to see the macros. Cargo expand requires a nightly toolchain but does not require nighly to be
the default toolchain.
To see the expansion of the macros:
cargo expand --test sqlx_enum_proxy_tests
However, this does not run the tests themselves. To do that:
cargo test