motorcortex-rust 0.5.0

Motorcortex Rust: a Rust client for the Motorcortex Core real-time control system (async + blocking).
Documentation
# 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"
rust-version = "1.85"
name = "motorcortex-rust"
version = "0.5.0"
authors = ["Alexey Zakharov <alexey.zakharov@vectioneer.com>"]
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Motorcortex Rust: a Rust client for the Motorcortex Core real-time control system (async + blocking)."
documentation = "https://docs.rs/motorcortex-rust"
readme = "README.md"
keywords = [
    "motorcortex",
    "robotics",
    "realtime",
    "websocket",
]
categories = [
    "science::robotics",
    "network-programming",
    "api-bindings",
    "asynchronous",
]
license = "MIT"
repository = "https://git.vectioneer.com/pub/motorcortex-rust"

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

[[example]]
name = "async_request"
path = "examples/async_request.rs"

[[example]]
name = "blocking_request"
path = "examples/blocking_request.rs"

[[example]]
name = "subscribe_latest"
path = "examples/subscribe_latest.rs"

[[example]]
name = "subscribe_stream"
path = "examples/subscribe_stream.rs"

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

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

[dependencies.chrono]
version = "0.4"

[dependencies.ctor]
version = "0.4"

[dependencies.futures]
version = "0.3"

[dependencies.nng-c-sys]
version = "1.11"
features = [
    "websocket",
    "tls",
]

[dependencies.prost]
version = "0.13"

[dependencies.tokio]
version = "1"
features = [
    "rt",
    "rt-multi-thread",
    "sync",
    "time",
    "macros",
]

[build-dependencies.prost-build]
version = "0.13"

[build-dependencies.serde]
version = "1.0"
features = ["derive"]

[build-dependencies.serde_json]
version = "1.0"