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 whenevertonlib-sys
is added without
somewhere in the dependency tree.default-features = false - no_avx512
- 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