diff options
author | Harald Eilertsen <haraldei@anduin.net> | 2023-03-27 22:14:15 +0200 |
---|---|---|
committer | Harald Eilertsen <haraldei@anduin.net> | 2023-03-27 22:14:15 +0200 |
commit | fe9db878e8f7d8f4bff2a51bb49b66ff84013644 (patch) | |
tree | 60d040e1f61d5c00e86389578b15a536a212aa43 /src/lib.rs | |
parent | 93ee81f05e1cb90c79949d5c57b1d7e3c272dd02 (diff) | |
download | rust-zotapi-fe9db878e8f7d8f4bff2a51bb49b66ff84013644.tar.gz rust-zotapi-fe9db878e8f7d8f4bff2a51bb49b66ff84013644.tar.bz2 rust-zotapi-fe9db878e8f7d8f4bff2a51bb49b66ff84013644.zip |
Add ZotAPI trait and derive macro.
The idea is to try to generate more of the boilerplate code, but for now
we only do the `z()` method definition. There are also some we're not
quite able to replace yet (like XChanRequest) since it also has life
times.
It's a start anyways :)
Diffstat (limited to 'src/lib.rs')
-rw-r--r-- | src/lib.rs | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -24,6 +24,7 @@ mod item; mod network_stream; mod verify; mod xchan; +mod zotapi; pub use abconfig::ABConfig; pub use abook::Abook; @@ -35,6 +36,7 @@ pub use item::item; pub use network_stream::network_stream; pub use verify::Channel; pub use xchan::XChan; +pub use zotapi::ZotAPI; #[cfg(test)] mod tests { |