2019-08-19 20:41:01 -07:00
|
|
|
use serde::Deserialize;
|
|
|
|
use std::collections::HashMap;
|
2019-08-18 20:29:52 -07:00
|
|
|
|
2019-08-19 20:41:01 -07:00
|
|
|
pub mod client;
|
|
|
|
pub mod error;
|
|
|
|
pub mod methods;
|
2019-08-18 20:29:52 -07:00
|
|
|
|
2019-08-19 20:41:01 -07:00
|
|
|
pub type Result<T> = std::result::Result<T, error::ApiError>;
|
2019-08-18 20:29:52 -07:00
|
|
|
|
2019-08-19 20:41:01 -07:00
|
|
|
#[derive(Deserialize)]
|
|
|
|
pub struct VersionApiResp {
|
|
|
|
pub versions: Vec<String>,
|
|
|
|
pub unstable_features: HashMap<String, bool>,
|
2019-08-18 20:29:52 -07:00
|
|
|
}
|