Cargo Features

[dependencies]
xgboost_lib-sys = { version = "3.0.2", default-features = false, features = ["use_prebuilt_xgb", "local_build", "cuda"] }
default = use_prebuilt_xgb

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

use_prebuilt_xgb default = reqwest
local_build = cmake
cuda

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.

reqwest build use_prebuilt_xgb
cmake build local_build?