# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2024"
name = "robot_behavior"
version = "0.3.7"
authors = ["Yixing <yanjizhou312@163.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "a library for robot common behavior"
readme = "README.md"
license = "Apache-2.0"
repository = "https://github.com/Robot-Exp-Platform/robot_behavior"

[features]
default = []
ffi = []
to_c = ["ffi"]
to_py = [
    "ffi",
    "pyo3",
]

[lib]
name = "robot_behavior"
path = "src/lib.rs"

[dependencies.nalgebra]
version = "0.33"
features = ["serde-serialize"]

[dependencies.paste]
version = "1.0"

[dependencies.pyo3]
version = "0.24"
features = [
    "extension-module",
    "multiple-pymethods",
]
optional = true

[dependencies.serde]
version = "1.0"
features = [
    "derive",
    "alloc",
]

[dependencies.serde_json]
version = "1.0"

[dependencies.serde_with]
version = "3.12"

[dependencies.thiserror]
version = "2.0"

[target.'cfg(target_os = "linux")'.dependencies.libc]
version = "0.2"

[target.'cfg(target_os = "linux")'.dependencies.plotters]
version = "0.3"

[target.'cfg(target_os = "windows")'.dependencies.plotters]
version = "0.3"

[target.'cfg(target_os = "windows")'.dependencies.winapi]
version = "0.3"
features = [
    "processthreadsapi",
    "winbase",
]
