serialplugin-core 0.2.4

Serial port core of tauri-plugin-serialplugin without Tauri: RX hub, watch streams with native parsers, AT exchange, CMUX, TCP and BLE transports
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 = "2021"
rust-version = "1.90"
name = "serialplugin-core"
version = "0.2.4"
authors = ["s00d"]
build = false
exclude = ["/tests/**"]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Serial port core of tauri-plugin-serialplugin without Tauri: RX hub, watch streams with native parsers, AT exchange, CMUX, TCP and BLE transports"
homepage = "https://github.com/s00d/tauri-plugin-serialplugin/tree/main/crates/serialplugin-core"
documentation = "https://docs.rs/serialplugin-core"
readme = "README.md"
keywords = [
    "serial",
    "serialport",
    "at-commands",
    "cmux",
    "modem",
]
categories = [
    "hardware-support",
    "api-bindings",
]
license = "Apache-2.0 OR MIT"
repository = "https://github.com/s00d/tauri-plugin-serialplugin"

[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]
features = ["ble"]

[features]
android-test-harness = ["android-usb-serial/fake-transport"]
ble = [
    "dep:btleplug",
    "dep:tokio",
    "dep:futures",
    "dep:uuid",
]
log = ["dep:log"]
tauri = ["dep:tauri"]
test-util = []
usb-port-details = [
    "serialport/usbportinfo-interface",
    "serialport/usbportinfo-location",
]

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

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

[dependencies.log]
version = "0.4"
features = ["std"]
optional = true

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

[dependencies.serial-codec]
version = "0.1.2"

[dependencies.socket2]
version = "0.6"
features = ["all"]

[dependencies.tauri]
version = "2"
optional = true
default-features = false

[dev-dependencies.proptest]
version = "1.10"

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

[target.'cfg(not(any(target_os = "android", target_os = "ios")))'.dependencies.serialport]
version = "4.10.1"

[target.'cfg(not(any(target_os = "android", target_os = "ios")))'.dev-dependencies]

[target.'cfg(not(target_os = "android"))'.dependencies.btleplug]
version = "0.13"
optional = true

[target.'cfg(not(target_os = "android"))'.dependencies.futures]
version = "0.3"
optional = true

[target.'cfg(not(target_os = "android"))'.dependencies.tokio]
version = "1"
features = [
    "rt-multi-thread",
    "time",
    "macros",
]
optional = true

[target.'cfg(not(target_os = "android"))'.dependencies.uuid]
version = "1"
optional = true

[target.'cfg(target_os = "android")'.dependencies.android-usb-serial]
version = "0.1.7"

[target.'cfg(target_os = "android")'.dependencies.jni]
version = "0.21"

[target.'cfg(target_os = "android")'.dependencies.log]
version = "0.4"
features = ["std"]

[target.'cfg(target_os = "android")'.dependencies.serde_json]
version = "1.0"

[target.'cfg(target_os = "android")'.dependencies.serialport]
version = "4.10.1"

[target."cfg(windows)".dependencies.winreg]
version = "0.56"