diff --git a/src/data/corebundle/mod.rs b/src/data/corebundle/mod.rs index 0caf6ba..4dbdedc 100644 --- a/src/data/corebundle/mod.rs +++ b/src/data/corebundle/mod.rs @@ -45,7 +45,6 @@ impl CoreBundle { } /// Fetch from `base_url` the Core Bundle data with the given `locale`. - #[cfg(feature = "fetch")] pub async fn fetch(client: &reqwest::Client, base_url: &str, locale: &str) -> LoadingResult { let globals = client .get(format!("{base_url}/core/{locale}/data/globals-{locale}.json")) @@ -82,7 +81,6 @@ pub fn create_globalindexes_from_wd() -> globals::LocalizedGlobalsIndexes { mod tests { macro_rules! test_fetch { ( $id:ident, $version:literal, $locale:literal ) => { - #[cfg(feature = "fetch")] #[tokio::test] async fn $id() { let client = reqwest::Client::new(); diff --git a/src/data/setbundle/mod.rs b/src/data/setbundle/mod.rs index 5d7ffa4..3c5b1b5 100644 --- a/src/data/setbundle/mod.rs +++ b/src/data/setbundle/mod.rs @@ -59,7 +59,6 @@ impl SetBundle { } /// Fetch from `base_url` the Set Bundle data of the given `set` with the given `locale`. - #[cfg(feature = "fetch")] pub async fn fetch(client: &reqwest::Client, base_url: &str, locale: &str, set: &str) -> LoadingResult { let cards = client .get(format!("{base_url}/{set}/{locale}/data/{set}-{locale}.json")) @@ -79,7 +78,6 @@ impl SetBundle { mod tests { macro_rules! test_fetch { ( $id:ident, $version:literal, $locale:literal, $set:literal ) => { - #[cfg(feature = "fetch")] #[tokio::test] async fn $id() { let client = reqwest::Client::new();