1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
extern crate itertools; extern crate serde; extern crate serde_json as json; pub mod api; pub mod router; #[macro_use] mod macros; mod links; pub mod _internal; pub use serde::{Deserialize, Deserializer, Serialize, Serializer}; pub use json::{Value, from_value, to_value}; // TODO figure out how to have a user defined const const BASE_URL: &'static str = "https://example.org/api";