Cargo Features

[dependencies]
lc3tools-sys = { version = "1.0.6", default-features = false, features = ["grader", "frontend", "generate-fresh", "lto", "cpp-interface-example"] }
default = frontend, grader

These default features are set whenever lc3tools-sys is added without default-features = false somewhere in the dependency tree.

grader default generate-fresh? = frontend

Affects bindings::root.BufferedPrinter, bindings::root.StringInputter, bindings::root.TestCase

frontend default generate-fresh? grader

Affects bindings::lc3.ConsoleInputter, bindings::lc3.ConsolePrinter

generate-fresh = bindgen, frontend, grader, proc-macro2, quote, syn

Affects build::binding_support

lto
cpp-interface-example

Only for the example.

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.

bindgen build generate-fresh?

Enables bindgen ^0.54.0

proc-macro2 build generate-fresh?
quote build generate-fresh?
syn build generate-fresh?

Enables syn ^1.0