Cargo Features
sixtyfps-compilerlib has no features set by default.
[dependencies]
sixtyfps-compilerlib = { version = "0.1.6", features = ["cpp", "rust", "proc_macro_span", "display-diagnostics"] }
- cpp
-
Generators
- rust = proc-macro2, quote
-
Affects
generator::rust
… - proc_macro_span = proc-macro2, quote
-
Support for proc_macro spans in the token (only useful for use within a proc macro)
Affects
diagnostics::Span.span
,parser::Token.span
… - display-diagnostics = codemap, codemap-diagnostic
-
Feature to print the diagnostics to the console
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.