Cargo Features

money2 has no features set by default.

[dependencies]
money2 = { version = "1.4.0", features = ["all", "history", "num-traits", "serde"] }
all = history, num-traits, serde
history all?

Enables tokio

num-traits all?

Enables num-traits

serde all?

Enables serde-str of rust_decimal and derive of serde

serde:

Provide derive(Serialize, Deserialize) macros.

money2 has 4 features without comments.