1 unstable release
0.1.0 | Jul 4, 2022 |
---|
#37 in #fediverse
Used in 4 crates
(via dialtone_sqlx)
8KB
130 lines
dialtone_sqlx_macros
A crate of macros useful for keeping the sqlx boundary out of the API layer.
About dialtone
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.
License
Licensed under either of
- Apache License, Version 2.0 (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT) at your option.
Contribution
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.
Developing Macros
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
Dependencies
~1.5–2.1MB
~50K SLoC