behaviortree 0.8.0

A #![no_std] compatible behavior tree library similar to BehaviorTree.CPP.
Documentation
# Copyright © 2026 Stephan Kunz
# Preconditions:
#    rustup component add llvm-tools-preview --toolchain nightly-x86_64-unknown-linux-gnu
#    cargo install cargo-make cargo-fuzz cargo-llvm-cov

# [tasks.cov-clean-profraw]
# toolchain = "nightly"
# command = "cargo"
# args = ["llvm-cov", "clean", "--profraw-only", "--workspace"]

[tasks.bench-baseline]
description = "Run benchmarks and save results as the 'main' criterion baseline."
command = "cargo"
args = [
    "bench",
    "--all-features",
    "--bench",
    "factory",
    "--bench",
    "fallback",
    "--bench",
    "sequence",
    "--bench",
    "parallel",
    "--bench",
    "tree",
    "--",
    "--save-baseline",
    "main",
]

[tasks.bench-compare]
description = "Run benchmarks and compare against the 'main' criterion baseline."
command = "cargo"
args = [
    "bench",
    "--all-features",
    "--bench",
    "factory",
    "--bench",
    "fallback",
    "--bench",
    "sequence",
    "--bench",
    "parallel",
    "--bench",
    "tree",
    "--",
    "--baseline",
    "main",
]

[tasks.cov]
toolchain = "nightly"
#install_crate = "cargo-llvm-cov"
#dependencies = ["cov-clean-profraw"]
command = "cargo"
args = [
    "llvm-cov",
    "test",
    #"--no-clean",
    "--ignore-run-fail",     # keep generating the report even if some tests fail
    "--lcov",
    "--output-path",
    "coverage/lcov.info",
    "--all-features",
    "--all-targets",
    "--show-missing-lines",
    "--show-instantiations",
    #"--branch",             # unstable, causes llvm-cov to SIGSEGV during export
    #"--mcdc",               # currently unstable, does not work
    #"--offline",
]

[tasks.cov-html]
toolchain = "nightly"
#install_crate = "cargo-llvm-cov"
command = "cargo"
args = [
    "llvm-cov",
    "test",
    #"--no-clean",
    "--ignore-run-fail", # keep generating the report even if some tests fail
    "--html",
    #"--output-dir",
    #"coverage",
    "--color=always",
    "--all-features",
    #"--all-targets",
    "--tests",
    "--show-instantiations",
    "--show-missing-lines",
    #"--branch",              # unstable, causes llvm-cov to SIGSEGV during export
    #"--mcdc",               # currently unstable, does not work
    #"--locked",
]