media-codec 0.8.1

A generic encoding/decoding framework
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 = "media-codec"
version = "0.8.1"
authors = ["Zhou Wei <zhouwei@ehom.net>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A generic encoding/decoding framework"
homepage = "https://github.com/rust-media"
documentation = "https://docs.rs/media-codec"
readme = "README.md"
keywords = [
    "codec",
    "encoder",
    "decoder",
]
categories = [
    "multimedia",
    "multimedia::audio",
    "multimedia::video",
    "multimedia::encoding",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/rust-media/media-rs"

[features]
audio = ["media-core/audio"]
audio-dec = [
    "audio",
    "opus-dec",
]
audio-enc = [
    "audio",
    "opus-enc",
]
av1-dec = []
av1-enc = []
default = [
    "audio",
    "audio-enc",
    "audio-dec",
    "video",
    "video-enc",
    "video-dec",
]
h264-dec = []
h264-enc = []
opus-dec = []
opus-enc = []
video = ["media-core/video"]
video-dec = [
    "video",
    "h264-dec",
    "vpx-dec",
    "av1-dec",
]
video-enc = [
    "video",
    "h264-enc",
    "vpx-enc",
    "av1-enc",
]
vpx-dec = []
vpx-enc = []

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

[dependencies.bitflags]
version = "2.10"

[dependencies.media-core]
version = "0.8.1"
default-features = false

[dependencies.num-rational]
version = "0.4"