Cargo Features

[dependencies]
ape-fatfs = { version = "0.2.0", default-features = false, features = ["std", "lfn", "alloc", "unicode", "log_level_error", "log_level_warn", "log_level_info", "log_level_debug", "log_level_trace", "chrono"] }
std default

Use Rust std library

Affects io::StdIoWrapper

lfn default

LFN (Long File Name) support

alloc default

Use dynamic allocation. When used without std please enable core_io/collections

unicode default

Full Unicode support. Disabling it reduces code size by avoiding Unicode-aware character case conversion

log_level_error log_level_warn?

Enable only error-level logging

log_level_warn log_level_info? = log_level_error

Enable logging levels warn and up

log_level_info log_level_debug? = log_level_warn

Enable logging levels info and up

log_level_debug log_level_trace = log_level_info

Enable logging levels debug and up

log_level_trace default = log_level_debug

Enable all logging levels: trace and up

Affects log_macros::MAX_LOG_LEVEL

default = alloc, chrono, lfn, log_level_trace, std, unicode

Default features

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.

chrono default

Affects time::ChronoTimeProvider, time::DefaultTimeProvider