Cargo Features
[dependencies]
ogcapi = { version = "0.1.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 = ogcapi-drivers
-
Affects
ogcapi::drivers
… - services default = axum, ogcapi-services
-
Enables full of ogcapi-services
Affects
ogcapi::services
… - types default = ogcapi-types
-
Affects
ogcapi::types
… - import default = gdal, geo, osmpbfreader, pbr, sqlx, wkb
-
Affects
ogcapi::import
… - stac
-
Enables 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.
- axum services
-
Enables axum ^0.5.13
- gdal import
-
Enables gdal ^0.12.0
- geo import
-
Enables geo ^0.22.1
- osmpbfreader import
-
Enables osmpbfreader ^0.15.2
- pbr import
- sqlx import
-
Enables sqlx ^0.6.0
- wkb import
- ogcapi-types types
- ogcapi-drivers drivers
- ogcapi-services services
- ogcapi-client client