Cargo Features

starknet-rs = { version = "0.1.0", default-features = false, features = ["with_mimalloc"] }
default = with_mimalloc

The with_mimalloc feature is set by default whenever starknet-rs is added without default-features = false somewhere in the dependency tree.

with_mimalloc default = mimalloc

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.

mimalloc with_mimalloc