[package]
edition = "2024"
name = "robot_behavior"
version = "0.5.4"
authors = ["Yixing <yanjizhou312@163.com>"]
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "a library for robot common behavior"
readme = "README.md"
keywords = [
"robot",
"robotics",
"behavior",
"roplat",
]
categories = ["science::robotics"]
license = "Apache-2.0"
repository = "https://github.com/Robot-Exp-Platform/robot_behavior"
[features]
default = []
ffi = []
to_c = ["ffi"]
to_cxx = [
"ffi",
"cxx",
]
to_py = [
"ffi",
"pyo3",
]
[lib]
name = "robot_behavior"
crate-type = [
"cdylib",
"rlib",
]
path = "src/lib.rs"
[[example]]
name = "to_cxx"
path = "examples/to_cxx.rs"
[[example]]
name = "to_py"
path = "examples/to_py.rs"
[[test]]
name = "kine"
path = "tests/kine.rs"
[dependencies.anyhow]
version = "1.0.100"
[dependencies.copp]
version = "0.1.0"
[dependencies.cxx]
version = "1.0.188"
optional = true
[dependencies.futures]
version = "0.3"
[dependencies.nalgebra]
version = "0.34.1"
features = ["serde-serialize"]
[dependencies.paste]
version = "1.0.15"
[dependencies.pipe-trait]
version = "0.4.0"
[dependencies.pyo3]
version = "0.27.1"
features = [
"extension-module",
"multiple-pymethods",
]
optional = true
[dependencies.roplat]
version = "0.2.0"
[dependencies.serde]
version = "1.0.228"
features = [
"derive",
"alloc",
]
[dependencies.serde_json]
version = "1.0.145"
[dependencies.serde_with]
version = "3.16.0"
[dependencies.thiserror]
version = "2.0.17"
[dependencies.tokio]
version = "1"
features = [
"sync",
"time",
]
[dependencies.typenum]
version = "1.19.0"
[build-dependencies.cxx-build]
version = "1.0.188"
[target.'cfg(target_os = "linux")'.dependencies.libc]
version = "0.2.177"
[target.'cfg(target_os = "linux")'.dependencies.plotters]
version = "0.3.7"
[target.'cfg(target_os = "windows")'.dependencies.plotters]
version = "0.3.7"
[target.'cfg(target_os = "windows")'.dependencies.winapi]
version = "0.3.9"
features = [
"processthreadsapi",
"winbase",
]
[profile.test]
opt-level = 3