unitree_sdk2_rs 0.1.0

Unitree SDK2 的 Rust 封装:msg 驱动的 DDS 类型生成 + CDR 序列化 + 订阅/发布/RPC
# 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 = "2021"
name = "unitree_sdk2_rs"
version = "0.1.0"
authors = ["unitree"]
build = "build.rs"
exclude = [
    "tmp_sdk2",
    "install",
    "target",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Unitree SDK2 的 Rust 封装:msg 驱动的 DDS 类型生成 + CDR 序列化 + 订阅/发布/RPC"
readme = "README.md"
keywords = [
    "unitree",
    "robot",
    "dds",
    "cyclonedds",
    "sdk",
]
categories = [
    "embedded",
    "science::robotics",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/unitreerobotics/unitree_sdk2"

[package.metadata]
sdk2-source = "default"
sdk2-url = ""
sdk2-dir = "tmp_sdk2"

[features]
custom = []
default = []
internal = []

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

[[bin]]
name = "bms_test"
path = "tests/bms_test.rs"

[[bin]]
name = "rpc_test_client"
path = "tests/rpc_test_client.rs"

[[bin]]
name = "rpc_test_server"
path = "tests/rpc_test_server.rs"

[[test]]
name = "bms_test"
path = "tests/bms_test.rs"

[[test]]
name = "rpc_test_client"
path = "tests/rpc_test_client.rs"

[[test]]
name = "rpc_test_server"
path = "tests/rpc_test_server.rs"

[dependencies.anyhow]
version = "1.0.89"

[dependencies.cdr]
version = "0.2"

[dependencies.cxx]
version = "1.0.128"

[dependencies.log]
version = "0.4"

[dependencies.serde]
version = "1.0.210"
features = ["derive"]

[dependencies.serde-big-array]
version = "0.5"

[dependencies.serde_json]
version = "1.0.128"

[dependencies.tokio]
version = "1"
features = ["full"]

[build-dependencies.cxx-build]
version = "1.0.128"