All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
async_action
that wraps a function returning aStatus
into a behavior.RunIf
node on the old implementation that runs a node only if a predicate is fulfilled.WhenAny
/WhenAll
on the old implementation, that run a set of nodes until the first/all of them complete successfully.
- Experimental event-based running of nodes under the
events
feature. See README for more.
- Builder methods
repeat_until_pass
andrepeat_until_fail
to repeat a behavior until it passes or fails, respectively. - README containing an introduction to the crate.
- For documentation purposes, the
BhvExt
crate is exported as an actual name. Bhv::execute
now accepts the context by value instead of by mutable reference.- Rewrote the documentation to make it more natural.
- Reduced the visibility of members of some decorator nodes to forbid construction these nodes directly. Use
BhvExt
to construct these nodes instead. - Added more fields to
Cargo.toml
.
- Bug where composite behaviors (sequences and selectors) wouldn't reset to their original state after they were completed.
- Improved documentation.
- Rewrote tests into inline doc tests.
- Reduced visibility scope of certain items to avoid leaking them out of the crate.
- Initial release.