Cargo Features
[dependencies]
hangman_solver = { version = "0.4.0", default-features = false, features = ["wasm-bindgen", "pyo3", "terminal_size"] }
- default = terminal_size
-
The
terminal_size
feature is set by default wheneverhangman_solver
is added without
somewhere in the dependency tree.default-features = false - wasm-bindgen
-
Enables js-sys and wasm-bindgen
Affects
hangman_solver::solve_hangman
,solver::WasmHangmanResult
…
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.
- pyo3 implicit feature
-
Enables pyo3 ^0.22.4
pyo3:
Bindings to Python interpreter
Affects
word_sequence::ContainsArg
,hangman_solver::solve
,hangman_solver::solve_crossword
,hangman_solver::read_words_with_length
,hangman_solver::hangman_solver
… - terminal_size default