Cargo Features

[dependencies]
geo-types = { version = "0.7.14", default-features = false, features = ["std", "multithreading", "rstar", "use-rstar", "use-rstar_0_8", "use-rstar_0_9", "use-rstar_0_10", "use-rstar_0_11", "use-rstar_0_12", "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.

multithreading = rayon
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
use-rstar_0_12 = approx, rstar_0_12

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.

rayon multithreading?
approx use-rstar_0_10? use-rstar_0_11? use-rstar_0_12? 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

rstar_0_12 use-rstar_0_12?

Enables rstar

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