Cargo Features

[dependencies]
tonlib-sys = { version = "2024.10.1", default-features = false, features = ["no_avx512", "shared-tonlib", "with_debug_info", "cmake"] }
default = cmake

The cmake feature is set by default whenever tonlib-sys is added without default-features = false somewhere in the dependency tree.

no_avx512
shared-tonlib
with_debug_info

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.

cmake build default