Cargo Features

Direction has no features set by default.

[dependencies]
direction = { version = "0.18.1", features = ["serialize", "rand"] }
serialize = serde

Enables serde of coord_2d

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.

rand implicit feature

Enables rand

rand:

Random number generators and other randomness functionality

serde serialize?