Cargo Features

[dependencies]
smash-arc = { version = "0.6.0", default-features = false, features = ["network", "dir-listing", "global-hashes", "search", "smash-runtime", "serialize", "ffi-bindings", "libzstd", "rust-zstd", "nozstd", "bincode"] }
default = dir-listing, network

These default features are set whenever smash-arc is added without default-features = false somewhere in the dependency tree.

network default = network-reader-adapter
dir-listing default = global-hashes

Affects arc_file::ArcFile.dirs

global-hashes dir-listing = lazy_static, parking_lot

Affects ffi_bindings::arc_generate_search_cache, ffi_bindings::arc_search_files

smash-runtime

Enables nightly of crc32fast

serialize = serde

Affects hash40::serde

ffi-bindings
libzstd = zstd

Recommended for use on platforms it builds for

rust-zstd = ruzstd

Increased portability (Recommended for use on switch)

nozstd

If you really don't need zstd of any form

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.

zstd libzstd?

Enables zstd ^0.5

ruzstd rust-zstd?

Enables ruzstd =0.2.4

parking_lot global-hashes?

Enables parking_lot ^0.11

lazy_static global-hashes?
network-reader-adapter network
fuzzy-matcher search?
rayon search?
serde serialize?
bincode implicit feature