|
1 | 1 | use std::cell::OnceCell; |
2 | 2 |
|
3 | 3 | use reqwest::{ |
| 4 | + Url, |
4 | 5 | blocking::Client as ReqwestClient, |
5 | 6 | header::{HeaderMap, HeaderValue, USER_AGENT}, |
6 | | - Url, |
7 | 7 | }; |
8 | 8 |
|
9 | 9 | #[cfg(not(feature = "stac"))] |
10 | 10 | use ogcapi_types::features::Feature; |
11 | | -#[cfg(feature = "stac")] |
12 | 11 | use ogcapi_types::{ |
13 | 12 | common::{ |
14 | | - link_rel::{CHILD, ITEM, SELF}, |
15 | | - Link, |
| 13 | + Collection, Conformance, LandingPage, Links, |
| 14 | + link_rel::{CONFORMANCE, DATA, NEXT}, |
16 | 15 | }, |
17 | | - stac::{Catalog, Item as Feature, SearchParams, StacEntity}, |
| 16 | + features::FeatureCollection, |
18 | 17 | }; |
| 18 | +#[cfg(feature = "stac")] |
19 | 19 | use ogcapi_types::{ |
20 | 20 | common::{ |
21 | | - link_rel::{CONFORMANCE, DATA, NEXT}, |
22 | | - Collection, Conformance, LandingPage, Links, |
| 21 | + Link, |
| 22 | + link_rel::{CHILD, ITEM, SELF}, |
23 | 23 | }, |
24 | | - features::FeatureCollection, |
| 24 | + stac::{Catalog, Item as Feature, SearchParams, StacEntity}, |
25 | 25 | }; |
26 | 26 |
|
27 | 27 | use crate::Error; |
|
0 commit comments