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.