Cargo Features
[dependencies]
nonogrid = { version = "0.7.3", default-features = false, features = ["args", "std_time", "logger", "ini", "sat", "xml", "colors", "web", "threaded"] }
- args default = clap
- std_time default
-
Affects
utils::time.now
… - logger default = env_logger
- ini default = serde, toml
- sat = varisat
-
Affects
solver::sat
,solver::run
,utils::pair_combinations
… - xml = sxd-document, sxd-xpath
- colors = colored
- web = reqwest
-
Affects
parser::NetworkReader.http_content
… - threaded
-
slower, but allows to use with concurrency
- default = args, ini, logger, std_time
-
These default features are set whenever
nonogrid
is added without
somewhere in the dependency tree.default-features = false
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.
uncomment to use with profilers (or compile with
RUSTFLAGS='-g' cargo build
) debug = true
- clap args
-
Enables clap ^2.33
- env_logger logger
-
Enables env_logger ^0.7
- toml ini
-
Enables toml ^0.5
- serde ini
- sxd-document xml?
- sxd-xpath xml?
- colored colors?
-
Enables colored ^1.9
- reqwest web?
-
Enables reqwest ^0.10
- varisat sat?
-
Enables varisat =0.2.1