move WellKnownResponse to src/types/

This commit is contained in:
bitfl0wer 2023-12-03 13:04:17 +01:00
parent 25a09c3980
commit c66cc9b16c
1 changed files with 1 additions and 5 deletions

View File

@ -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::*;