[package]
edition = "2021"
rust-version = "1.85"
name = "serialplugin-testing"
version = "0.2.0"
authors = ["s00d"]
build = false
include = [
"/src/**",
"/tests/**",
"/README.md",
"/LICENSE-*",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Fake serial devices for tests: an in-memory serialport::SerialPort, a scriptable AT modem with a 3GPP 27.010 multiplexer, PTY and TCP peers"
homepage = "https://github.com/s00d/tauri-plugin-serialplugin/tree/main/crates/serialplugin-testing"
documentation = "https://docs.rs/serialplugin-testing"
readme = "README.md"
keywords = [
"serialport",
"testing",
"mock",
"at-commands",
"cmux",
]
categories = [
"development-tools::testing",
"hardware-support",
]
license = "Apache-2.0 OR MIT"
repository = "https://github.com/s00d/tauri-plugin-serialplugin"
[package.metadata.docs.rs]
all-features = true
[features]
tokio = ["dep:tokio"]
[lib]
name = "serialplugin_testing"
path = "src/lib.rs"
[[test]]
name = "it"
path = "tests/it/main.rs"
[dependencies.serialport]
version = "4.10.1"
[dependencies.tokio]
version = "1"
features = [
"rt",
"time",
"sync",
]
optional = true
[dev-dependencies.tokio]
version = "1"
features = [
"rt",
"time",
"sync",
"macros",
"test-util",
]