Cargo Features
[dependencies]
cretonne-codegen = { version = "0.13.2", default-features = false, features = ["std", "core"] }
It is a goal of the cretonne-codegen crate to have minimal external dependencies. Please don't add any unless they are essential to the task of creating binary machine code. Integration tests that need external dependencies can be accomodated in
tests
.
- default = std
-
The "std" feature enables use of libstd. The "core" feature enables use of some minimal std-like replacement libraries. At least one of these two features need to be enabled.
- std default
-
Enables std of cretonne-entity and target-lexicon ^0.0.3
Affects
dbg::enabled
,dbg::writeln_with_format_args
… - core = hashmap_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.