Cargo Features

plutus-ledger-api has no features set by default.

[dependencies]
plutus-ledger-api = { version = "2.1.0", features = ["serde", "lbf", "chrono"] }
serde

Enables serde and serde_json, serde of num-bigint

lbf

Enables lbr-prelude and serde_json

Affects feature_traits::FeatureTraits, plutus-ledger-api::lamval

chrono

Enables chrono

Affects transaction::POSIXTimeConversionError