lib.rs (843B)
1 #![allow(non_snake_case)] 2 /* This Source Code Form is subject to the terms of the Mozilla Public 3 * License, v. 2.0. If a copy of the MPL was not distributed with this 4 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ 5 #![forbid(unsafe_code)] 6 7 extern crate base64; 8 extern crate cookie; 9 extern crate icu_segmenter; 10 #[macro_use] 11 extern crate log; 12 extern crate http; 13 extern crate serde; 14 #[macro_use] 15 extern crate serde_derive; 16 extern crate serde_json; 17 extern crate time; 18 #[cfg(feature = "server")] 19 extern crate tokio; 20 extern crate url; 21 #[cfg(feature = "server")] 22 extern crate warp; 23 24 #[macro_use] 25 pub mod macros; 26 pub mod actions; 27 pub mod capabilities; 28 pub mod command; 29 pub mod common; 30 pub mod error; 31 pub mod httpapi; 32 pub mod response; 33 #[cfg(feature = "server")] 34 pub mod server; 35 36 #[cfg(test)] 37 pub mod test; 38 39 pub use common::Parameters;