Cargo Features

GEOS has no features set by default.

[dependencies]
geos = { version = "9.0.0", features = ["dox", "geo", "json", "static", "v3_6_0", "v3_7_0", "v3_8_0", "v3_9_0", "v3_10_0", "v3_11_0"] }
dox = geo-types, json, wkt

Enables dox of geos-sys

Affects enums::Precision, functions::segment_intersection, geometry::Geom.distance_indexed, geometry::Geom.frechet_distance, geometry::Geom.frechet_distance_densify, geometry::Geom.get_z, geometry::Geom.make_valid, geometry::Geom.get_precision, geometry::Geom.set_precision, geometry::Geom.get_x_max, geometry::Geom.get_x_min, geometry::Geom.get_y_max, geometry::Geom.get_y_min, geometry::Geom.minimum_clearance, geometry::Geom.minimum_clearance_line, geometry::Geom.minimum_rotated_rectangle, geometry::Geom.minimum_width, geos::from_geo, geos::to_geo

geo = geo-types, wkt

Affects geos::from_geo, geos::to_geo

json dox? = geojson

Affects geos::from_geojson, geos::to_geojson

static

Enables static of geos-sys

v3_6_0 v3_7_0?

Affects enums::Precision, geometry::Geom.get_precision, geometry::Geom.set_precision, geometry::Geom.minimum_clearance, geometry::Geom.minimum_clearance_line, geometry::Geom.minimum_rotated_rectangle, geometry::Geom.minimum_width

v3_7_0 v3_8_0? = v3_6_0

Enables v3_7_0 of geos-sys

Affects functions::segment_intersection, geometry::Geom.distance_indexed, geometry::Geom.frechet_distance, geometry::Geom.frechet_distance_densify, geometry::Geom.get_z, geometry::Geom.get_x_max, geometry::Geom.get_x_min, geometry::Geom.get_y_max, geometry::Geom.get_y_min

v3_8_0 v3_9_0? = v3_7_0

Enables v3_8_0 of geos-sys

Affects geometry::Geom.make_valid

v3_9_0 v3_10_0? = v3_8_0

Enables v3_9_0 of geos-sys

v3_10_0 v3_11_0? = v3_9_0

Enables v3_10_0 of geos-sys

v3_11_0 = v3_10_0

Enables v3_11_0 of geos-sys

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.

geojson json?
geo-types dox? geo?
wkt dox? geo?

Enables wkt ^0.10.3