1 unstable release

0.1.0 Jul 4, 2022

#8 in #activitypub


Used in 4 crates (via dialtone_sqlx)

MIT/Apache

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

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.7–2.4MB
~55K SLoC