Cargo Features

lightgbm2 has no features set by default.

[dependencies]
lightgbm2 = { version = "0.3.0", features = ["dataframe"] }
dataframe = polars

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.

polars dataframe?

Enables polars ^0.26