mediadecode 0.19.0

The read faces of the mediaio family: the decoder traits, the frame sources and the Demuxer session, over the mediaspine vocabulary. no_std-friendly; backends for FFmpeg, WebCodecs, R3D, BRAW, ARRIRAW, X-OCN, ProRes RAW, Canon Cinema RAW Light.
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.0"
name = "mediadecode"
version = "0.19.0"
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "The read faces of the mediaio family: the decoder traits, the frame sources and the Demuxer session, over the mediaspine vocabulary. no_std-friendly; backends for FFmpeg, WebCodecs, R3D, BRAW, ARRIRAW, X-OCN, ProRes RAW, Canon Cinema RAW Light."
homepage = "https://github.com/findit-studio/mediaio"
documentation = "https://docs.rs/mediadecode"
readme = "README.md"
keywords = [
    "media",
    "decoder",
    "video",
    "audio",
    "no-std",
]
categories = [
    "multimedia",
    "multimedia::video",
    "multimedia::audio",
    "no-std",
    "no-std::no-alloc",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/findit-studio/mediaio"

[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
    "--cfg",
    "docsrs",
]

[features]
alloc = ["mediaspine/alloc"]
arbitrary = ["mediaspine/arbitrary"]
default = ["std"]
future = ["dep:trait-variant"]
quickcheck = ["mediaspine/quickcheck"]
serde = ["mediaspine/serde"]
std = ["mediaspine/std"]

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

[[example]]
name = "foo"
path = "examples/foo.rs"

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

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

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

[[bench]]
name = "foo"
path = "benches/foo.rs"
harness = false

[dependencies.mediaspine]
version = "0.1"
default-features = false

[dependencies.trait-variant]
version = "0.1"
optional = true

[dev-dependencies.criterion]
version = "0.8"

[dev-dependencies.mediaframe]
version = "0.12"
features = ["frame"]
default-features = false

[lints.rust]
rust_2018_idioms = "warn"
single_use_lifetimes = "warn"

[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = [
    "cfg(all_tests)",
    "cfg(tarpaulin)",
    "cfg(ffmpeg_videotoolbox)",
    "cfg(web_sys_unstable_apis)",
]