diff --git a/fractal-matrix-api/src/backend/room.rs b/fractal-matrix-api/src/backend/room.rs index 15101705..34d41bef 100644 --- a/fractal-matrix-api/src/backend/room.rs +++ b/fractal-matrix-api/src/backend/room.rs @@ -1,5 +1,4 @@ -extern crate urlencoding; - +use urlencoding; use serde_json; use std::fs::File; diff --git a/fractal-matrix-api/src/lib.rs b/fractal-matrix-api/src/lib.rs index 9b137354..477c9967 100644 --- a/fractal-matrix-api/src/lib.rs +++ b/fractal-matrix-api/src/lib.rs @@ -5,6 +5,7 @@ extern crate serde_json; #[macro_use] extern crate serde_derive; +extern crate urlencoding; extern crate reqwest; extern crate md5; extern crate cairo;