Cargo Features

[dependencies]
bonds-token-swap = { version = "3.0.6", default-features = false, features = ["no-entrypoint", "no-log-ix-name", "cpi", "roots", "arbitrary"] }
default = no-idl, no-log-ix-name

These default features are set whenever bonds-token-swap is added without default-features = false somewhere in the dependency tree.

no-entrypoint cpi?
no-idl no-log-ix-name default
cpi = no-entrypoint

Features from optional dependencies

roots implicit feature

Enables roots

roots:

Library of well known algorithms for numerical root finding

arbitrary implicit feature

Enables arbitrary

arbitrary:

The trait for generating structured data from unstructured data