videocall-codecs 0.1.13

Cross-platform video codec library with VP8/VP9 support for native and WebAssembly environments
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"
name = "videocall-codecs"
version = "0.1.13"
authors = ["Dario Lencina <dario@securityunion.dev>"]
build = false
include = [
    "src/**/*",
    "assets/**/*",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Cross-platform video codec library with VP8/VP9 support for native and WebAssembly environments"
homepage = "https://github.com/security-union/videocall-rs"
readme = "README.md"
keywords = [
    "video",
    "codec",
    "webrtc",
    "vpx",
    "wasm",
]
categories = [
    "multimedia::video",
    "wasm",
    "web-programming",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/security-union/videocall-rs"

[features]
default = []
native = []
wasm = [
    "wasm-bindgen",
    "web-sys",
    "console_error_panic_hook",
    "serde-wasm-bindgen",
    "js-sys",
    "wasm-bindgen-futures",
    "videocall-diagnostics",
]

[lib]
name = "videocall_codecs"
crate-type = [
    "cdylib",
    "rlib",
]
path = "src/lib.rs"

[[bin]]
name = "main"
path = "src/bin/main.rs"
required-features = ["native"]

[[bin]]
name = "poc_decoder"
path = "src/bin/poc_decoder.rs"
required-features = ["native"]

[[bin]]
name = "worker_decoder"
path = "src/bin/worker_decoder.rs"
required-features = ["wasm"]

[dependencies.anyhow]
version = "1.0.75"

[dependencies.console_error_panic_hook]
version = "0.1.7"
optional = true

[dependencies.env-libvpx-sys]
version = "5.1.3"
features = ["generate"]
optional = true

[dependencies.image]
version = "0.24"
features = [
    "png",
    "jpeg",
]

[dependencies.js-sys]
version = "0.3.69"
optional = true

[dependencies.log]
version = "0.4.27"

[dependencies.rand]
version = "0.8.5"

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

[dependencies.serde-wasm-bindgen]
version = "0.6.5"
optional = true

[dependencies.serde_json]
version = "1.0"

[dependencies.videocall-diagnostics]
version = "0.1.3"
optional = true

[dependencies.wasm-bindgen]
version = "0.2.108"
optional = true

[dependencies.wasm-bindgen-futures]
version = "0.4.30"
optional = true

[dependencies.web-sys]
version = "0.3"
features = [
    "console",
    "VideoFrame",
    "VideoDecoder",
    "VideoDecoderConfig",
    "VideoDecoderInit",
    "EncodedVideoChunk",
    "EncodedVideoChunkInit",
    "EncodedVideoChunkType",
    "DedicatedWorkerGlobalScope",
    "MessageEvent",
    "Worker",
    "Window",
    "Document",
    "Element",
    "HtmlElement",
    "HtmlLinkElement",
]
optional = true

[dev-dependencies.approx]
version = "0.5.1"

[dev-dependencies.wasm-bindgen-test]
version = "0.3.42"

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.env-libvpx-sys]
version = "5.1.3"
features = ["generate"]

[target.'cfg(target_arch = "wasm32")'.dependencies.getrandom]
version = "0.2"
features = ["js"]