Cargo Features
[dependencies]
saltwater = { version = "0.11.0", default-features = false, features = ["cc", "codegen", "jit", "salty", "color-backtrace", "git-testament"] }
- default = cc, codegen, color-backtrace
-
These default features are set whenever
saltwater
is added without
somewhere in the dependency tree.default-features = false - cc default = ansi_term, atty, codegen, pico-args, tempfile
-
The
swcc
binaryRequired by the swcc binary
- codegen default cc jit? = cranelift, cranelift-module, cranelift-object
-
Affects
saltwater::Product
,saltwater::compile
,saltwater::assemble
… - jit = codegen, cranelift-simplejit
-
Affects
saltwater::Opt.jit
… - salty = rand, rodio
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.
- ansi_term cc
- cranelift codegen
-
Enables cranelift ^0.66
- cranelift-module codegen
-
Enables cranelift-module ^0.66
- cranelift-object codegen
-
Enables cranelift-object ^0.66
- cranelift-simplejit jit?
-
Enables cranelift-simplejit ^0.66
- tempfile cc
- pico-args cc
-
Enables pico-args ^0.3
- color-backtrace default
-
Enables color-backtrace ^0.4
- atty cc
- git-testament implicit feature
-
Enables git-testament ^0.1
git-testament:
Record git working tree status when compiling your crate
- rand salty?
-
Enables rand ^0.7
- rodio salty?
-
Enables rodio ^0.11.0