move WellKnownResponse to src/types/
This commit is contained in:
parent
25a09c3980
commit
c66cc9b16c
|
@ -106,6 +106,7 @@ compile_error!("feature \"rt\" and feature \"rt_multi_thread\" cannot be enabled
|
||||||
|
|
||||||
use errors::ChorusResult;
|
use errors::ChorusResult;
|
||||||
use serde::{Deserialize, Serialize};
|
use serde::{Deserialize, Serialize};
|
||||||
|
use types::types::domains_configuration::WellKnownResponse;
|
||||||
use url::{ParseError, Url};
|
use url::{ParseError, Url};
|
||||||
|
|
||||||
use crate::errors::ChorusError;
|
use crate::errors::ChorusError;
|
||||||
|
@ -223,11 +224,6 @@ impl UrlBundle {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#[derive(Deserialize)]
|
|
||||||
struct WellKnownResponse {
|
|
||||||
pub(crate) api: String,
|
|
||||||
}
|
|
||||||
|
|
||||||
#[cfg(test)]
|
#[cfg(test)]
|
||||||
mod lib {
|
mod lib {
|
||||||
use super::*;
|
use super::*;
|
||||||
|
|
Loading…
Reference in New Issue