diff options
author | Harald Eilertsen <haraldei@anduin.net> | 2020-01-02 21:09:47 +0100 |
---|---|---|
committer | Harald Eilertsen <haraldei@anduin.net> | 2020-01-02 21:09:47 +0100 |
commit | 7f306445cb78d52f598eca1810dc2c5002e34a4a (patch) | |
tree | 1043d1522e4fa5afd3fe7fbe341b4745fb46cd02 | |
parent | bee7318ca808d36b29cbf6021ec47252ab2305f8 (diff) | |
download | rust-zotapi-7f306445cb78d52f598eca1810dc2c5002e34a4a.tar.gz rust-zotapi-7f306445cb78d52f598eca1810dc2c5002e34a4a.tar.bz2 rust-zotapi-7f306445cb78d52f598eca1810dc2c5002e34a4a.zip |
No need for extern crate in Rust 2018.
-rw-r--r-- | examples/zot/abook.rs | 3 | ||||
-rw-r--r-- | src/lib.rs | 3 | ||||
-rw-r--r-- | tests/zotapi.rs | 3 |
3 files changed, 0 insertions, 9 deletions
diff --git a/examples/zot/abook.rs b/examples/zot/abook.rs index bceaacc..7e91981 100644 --- a/examples/zot/abook.rs +++ b/examples/zot/abook.rs @@ -15,9 +15,6 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. */ -extern crate zotapi; -extern crate serde_json; - pub fn fetch(client: &zotapi::Client, raw: bool) { match client.abook().fetch() { Ok(payload) => { @@ -14,9 +14,6 @@ // You should have received a copy of the GNU General Public License // along with this program. If not, see <https://www.gnu.org/licenses/>. -extern crate reqwest; -extern crate serde; - mod abconfig; mod abook; mod client; diff --git a/tests/zotapi.rs b/tests/zotapi.rs index aa9756c..d828632 100644 --- a/tests/zotapi.rs +++ b/tests/zotapi.rs @@ -14,9 +14,6 @@ // You should have received a copy of the GNU General Public License // along with this program. If not, see <https://www.gnu.org/licenses/>. -extern crate zotapi; -extern crate mockito; - use mockito::{mock, Matcher, Mock}; fn mock_with_authorization(method: &str, url: &str) -> Mock { |