[package]
name = "webarcade-api"
version = "0.1.1"
edition = "2021"
description = "Plugin API for WebArcade - Build native desktop plugins with Rust"
license = "MIT"
repository = "https://github.com/warcade/api"
homepage = "https://github.com/warcade/core"
documentation = "https://docs.rs/webarcade-api"
keywords = ["webarcade", "plugin", "ffi", "desktop", "webview"]
categories = ["api-bindings", "gui"]
readme = "README.md"
[features]
default = []
bridge = ["dep:tokio", "dep:http", "dep:bytes", "dep:base64"]
[dependencies]
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
log = "0.4"
base64 = { version = "0.22", optional = true }
tokio = { version = "1.0", default-features = false, features = ["rt-multi-thread"], optional = true }
http = { version = "1.0", optional = true }
bytes = { version = "1.0", optional = true }