Cargo Features

[dependencies]
geo-types = { version = "0.7.12", default-features = false, features = ["std", "rstar", "use-rstar", "use-rstar_0_8", "use-rstar_0_9", "use-rstar_0_10", "use-rstar_0_11", "serde", "arbitrary"] }
default = std

The std feature is set by default whenever geo-types is added without default-features = false somewhere in the dependency tree.

std default

Enables std of optional approx, num-traits, and optional serde

serde:

Provide impls for common standard library types like Vec<T> and HashMap<K, V>.
Requires a dependency on the Rust standard library.

rstar = rstar_0_8

Prefer use-rstar feature rather than enabling rstar directly. rstar integration relies on the optional approx crate, but implicit features cannot yet enable other features. See: https://doc.rust-lang.org/nightly/cargo/reference/unstable.html#namespaced-features

use-rstar = use-rstar_0_8
use-rstar_0_8 use-rstar? = approx, rstar_0_8
use-rstar_0_9 = approx, rstar_0_9
use-rstar_0_10 = approx, rstar_0_10
use-rstar_0_11 = approx, rstar_0_11

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features.

approx use-rstar_0_10? use-rstar_0_11? use-rstar_0_8? use-rstar_0_9?
rstar_0_8 rstar? use-rstar_0_8?

Enables rstar ^0.8

Affects geo-types::private_utils

rstar_0_9 use-rstar_0_9?

Enables rstar ^0.9

Affects geo-types::private_utils

rstar_0_10 use-rstar_0_10?

Enables rstar ^0.10

Affects geo-types::private_utils

rstar_0_11 use-rstar_0_11?

Enables rstar ^0.11

Affects geo-types::private_utils

serde implicit feature

Enables serde

serde:

A generic serialization/deserialization framework

arbitrary implicit feature

Enables arbitrary

arbitrary:

The trait for generating structured data from unstructured data