[package] name = "bevy_serialport" version = "0.8.0" edition = "2021" authors = ["FoxZoOL "] description = "async serial port Plugin for bevy" readme = "README.md" documentation = "https://docs.rs/bevy_serialport" repository = "https://github.com/foxzool/bevy_serialport" homepage = "https://github.com/foxzool/bevy_serialport" license = "MIT OR Apache-2.0" keywords = ["bevy", "io", "hardware", "serial", "tokio"] categories = ["game-development", "hardware-support"] # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] bevy_app = { version = "0.15.0" } bevy_ecs = { version = "0.15.0"} bevy_log = { version = "0.15.0" } bevy_derive = { version = "0.15.0" } bevy_utils = { version = "0.15.0" } bytes = "1.1.0" futures = "0.3" parking_lot = { version = "0.12" } thiserror = "2" serialport = { version = "4", default-features = false } tokio = { version = "1", features = ["parking_lot", "rt-multi-thread", "sync", "macros", "process", "time", "fs", "io-util"] } tokio-util = { version = "0.7.3", features = ["codec"] } tokio-serial = "5.4.1" [dev-dependencies] bevy = { version = "0.15.0", default-features = false } clap = { version = "4.5", features = ["derive"] } tempdir = "0.3" [[example]] name = "serial_receiver" path = "examples/receiver.rs" [[example]] name = "serial_sender" path = "examples/sender.rs"