Cargo Features

[dependencies]
zksync-gpu-prover = { version = "0.152.4", default-features = false, features = ["no_allocator", "allocator"] }
default = allocator

The allocator feature is set by default whenever zksync-gpu-prover is added without default-features = false somewhere in the dependency tree.

no_allocator = franklin-crypto
allocator default

Enables allocator of franklin-crypto

Affects async_vec::AsyncVec.values, cuda_bindings::cuda_allocator, utils::empty_vec

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.

franklin-crypto allocator no_allocator?