oxframe-preview 0.20.2

Preview protocol session for oxframe: native WebSocket server and in-browser (wasm) API
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 = "2024"
rust-version = "1.95"
name = "oxframe-preview"
version = "0.20.2"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Preview protocol session for oxframe: native WebSocket server and in-browser (wasm) API"
homepage = "https://oxframe.dev"
documentation = "https://docs.rs/oxframe-preview"
readme = false
keywords = [
    "animation",
    "motion-graphics",
    "video",
    "vector-graphics",
    "procedural",
]
categories = [
    "graphics",
    "multimedia::video",
    "rendering",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/oxygenframe/oxframe-sdk"

[features]
default = ["server"]
server = [
    "dep:axum",
    "dep:tokio",
    "dep:image",
]

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

[dependencies.axum]
version = "0.8"
features = [
    "http1",
    "tokio",
    "ws",
    "query",
]
optional = true
default-features = false

[dependencies.image]
version = "0.25"
features = [
    "png",
    "jpeg",
]
optional = true
default-features = false

[dependencies.oxframe-core]
version = "0.20.2"

[dependencies.oxframe-protocol]
version = "0.20.2"

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

[dependencies.serde_json]
version = "1"

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

[lints.clippy.all]
level = "warn"
priority = -1

[lints.rust]
unsafe_code = "forbid"