Cargo Features
libpebble has no features set by default.
[dependencies]
libpebble = { version = "0.3.0", features = ["can_alloc", "rustc-dep-of-std"] }
- can_alloc = log, ptah
-
Affects
libpebble::channel
,libpebble::early_logger
,pci::pci_get_info_vec
… - rustc-dep-of-std = core
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.
- core rustc-dep-of-std?
-
Enables rustc-std-workspace-core
This is a weird hack needed to make this usable from Rust's
std
- log can_alloc?
- ptah can_alloc?
-
Enables ptah ^0.1.0