tauri-plugin-serialplugin 3.0.0

Tauri plugin for serial port access (desktop and Android).
# 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.79"
name = "tauri-plugin-serialplugin"
version = "3.0.0"
authors = ["Tauri Programme within The Commons Conservancy"]
build = "build.rs"
links = "tauri-plugin-serialplugin"
exclude = [
    "examples/**",
    ".github/**",
    "docs/**",
    "banner.png",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Tauri plugin for serial port access (desktop and Android)."
readme = "README.md"
license = "Apache-2.0 OR MIT"
repository = "https://github.com/s00d/tauri-plugin-serialplugin"

[package.metadata.docs.rs]
rustc-args = [
    "--cfg",
    "docsrs",
]
rustdoc-args = [
    "--cfg",
    "docsrs",
]
targets = ["x86_64-linux-android"]

[package.metadata.platforms.support.windows]
level = "full"
notes = ""

[package.metadata.platforms.support.linux]
level = "full"
notes = ""

[package.metadata.platforms.support.macos]
level = "full"
notes = ""

[package.metadata.platforms.support.android]
level = "full"
notes = ""

[features]
android-test-harness = ["android-usb-serial/fake-transport"]

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

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

[dependencies.serde_json]
version = "1.0.140"

[dependencies.tauri]
version = "2.6.2"
features = ["test"]

[build-dependencies.tauri-plugin]
version = "2.3.0"
features = ["build"]

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

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

[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.serialport]
version = "4.9.0"

[profile.release]
opt-level = "s"
lto = true
codegen-units = 1
incremental = false