diff options
author | Harald Eilertsen <haraldei@anduin.net> | 2020-01-03 23:50:19 +0100 |
---|---|---|
committer | Harald Eilertsen <haraldei@anduin.net> | 2020-01-03 23:50:19 +0100 |
commit | fa6296ce5f0b0309c86acf8dabe536f53cce0387 (patch) | |
tree | 537fccd76864f0440c492d654bad9efd784b8756 /src/lib.rs | |
parent | 970df3ea4169eb2fe935a0f50012503079b8636d (diff) | |
download | rust-zotapi-fa6296ce5f0b0309c86acf8dabe536f53cce0387.tar.gz rust-zotapi-fa6296ce5f0b0309c86acf8dabe536f53cce0387.tar.bz2 rust-zotapi-fa6296ce5f0b0309c86acf8dabe536f53cce0387.zip |
Move client constructor fn to submodule.
Diffstat (limited to 'src/lib.rs')
-rw-r--r-- | src/lib.rs | 6 |
1 files changed, 1 insertions, 5 deletions
@@ -27,17 +27,13 @@ mod xchan; pub use abconfig::abconfig; pub use abook::abook; pub use channel_stream::channel_stream; -pub use client::Client; +pub use client::*; pub use error::Error; pub use group::{group, group_members}; pub use item::item; pub use network_stream::network_stream; pub use xchan::xchan; -pub fn client(url: &str, user: &str, pw: &str) -> Client { - Client::new(url, user, pw) -} - #[cfg(test)] mod tests { #[test] |