Cargo Features

[dependencies]
os-checker-database = { version = "0.3.0", default-features = false, features = ["single", "batch", "clear_batch"] }
default = batch

The batch feature is set by default whenever os-checker-database is added without default-features = false somewhere in the dependency tree.

single
batch default
clear_batch

清除 BASE_DIR/batch 目录