Cargo Features
[dependencies]
ogcapi = { version = "0.2.0", default-features = false, features = ["client", "drivers", "services", "types", "import", "stac"] }
- default = client, drivers, import, services, types
-
These default features are set whenever
ogcapi
is added without
somewhere in the dependency tree.default-features = false - client default = ogcapi-client
-
Affects
ogcapi::client
… - drivers default import = ogcapi-drivers
-
Affects
ogcapi::drivers
… - services default = ogcapi-services
-
Enables full of ogcapi-services
Affects
ogcapi::services
… - types default import = ogcapi-types
-
Affects
ogcapi::types
… - import default = drivers, gdal, geo, geojson, osmpbfreader, serde, serde_json, sqlx, types, url, wkb
-
Affects
ogcapi::import
… - stac
-
Enables stac of optional ogcapi-client, s3 and stac of optional ogcapi-drivers, stac of optional ogcapi-services and optional ogcapi-types
Features from optional dependencies
In crates that don't use the dep:
syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.
- gdal import
-
Enables gdal ^0.16.0
- geo import
-
Enables geo ^0.28.0
- geojson import
- osmpbfreader import
-
Enables osmpbfreader ^0.16.1
- serde import
- serde_json import
- sqlx import
-
Enables sqlx ^0.7.4
- url import
- wkb import
-
Enables wkb ^0.7.1
- ogcapi-types types
- ogcapi-drivers drivers
- ogcapi-services services
- ogcapi-client client