native_messaging 0.2.0

Cross-platform Rust native messaging host for browser extensions (Chrome & Firefox), with async helpers and manifest installer.
Documentation
[dependencies.once_cell]
optional = true
version = "1"

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

[dependencies.serde_json]
version = "1.0.132"

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

[dependencies.toml]
optional = true
version = "0.8"

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

[dev-dependencies.serial_test]
version = "3"

[dev-dependencies.tempfile]
version = "3"

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

[features]
default = ["tokio", "install"]
install = ["dep:toml", "dep:once_cell"]
tokio = ["dep:tokio"]
windows-registry = ["dep:winreg"]

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

[package]
authors = ["Ilteber 'Iber' Dover <ilteber.dover@gmail.com>"]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
categories = ["api-bindings", "command-line-utilities", "asynchronous", "development-tools"]
description = "Cross-platform Rust native messaging host for browser extensions (Chrome & Firefox), with async helpers and manifest installer."
documentation = "https://docs.rs/native-messaging"
edition = "2021"
homepage = "https://github.com/IberAI/native-messaging"
keywords = ["native-messaging", "browser-extension", "webextensions", "chrome-extension", "firefox-addon"]
license = "MIT"
name = "native_messaging"
readme = "README.md"
repository = "https://github.com/IberAI/native-messaging"
version = "0.2.0"

[package.metadata.docs.rs]
features = ["tokio", "install", "windows-registry"]
no-default-features = false

[profile.release]
codegen-units = 1
lto = true
panic = "abort"
strip = true

[target."cfg(windows)".dependencies.winreg]
optional = true
version = "0.52"

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

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

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

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

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

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