Cargo Features

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

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

single
batch
clear_batch default

清除 BASE_DIR/batch 目录