Cargo Features

Savvy has no features set by default.

[dependencies]
savvy = { version = "0.8.2", features = ["complex", "altrep", "logger", "use-custom-error", "savvy-test"] }
complex = num-complex

Support complex

Enables complex of savvy-ffi

Affects sexp::complex

altrep

Support ALTREP

Enables altrep of savvy-ffi

Affects savvy::altrep

logger = env_logger, log

Support logger

Affects log::env_logger

use-custom-error

By default, savvy provides impl<E: std::error::Error + 'static> From<E> for Error. However, this conflicts if the user implements their custom error and the conversion from it to savvy::Error. This flag removes the impl to allow such a custom error.

savvy-test

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.

num-complex complex?
log logger?
env_logger logger?