1 unstable release

0.1.0 Jul 4, 2022

#5 in #activitystreams

Download history 11/week @ 2024-02-19 20/week @ 2024-02-26 7/week @ 2024-03-04 12/week @ 2024-03-11 5/week @ 2024-03-18 15/week @ 2024-03-25 43/week @ 2024-04-01

77 downloads per month
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

~0.7–1.5MB
~34K SLoC