media-codec 0.9.0

A generic encoding and 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.9.0"
authors = ["Zhou Wei <zhouwei@ehom.net>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A generic encoding and 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]
all-audio-decoders = []
all-audio-encoders = []
all-codecs = [
    "all-decoders",
    "all-encoders",
]
all-decoders = [
    "all-audio-decoders",
    "all-video-decoders",
]
all-encoders = [
    "all-audio-encoders",
    "all-video-encoders",
]
all-video-decoders = [
    "h264",
    "h265",
    "video-toolbox",
]
all-video-encoders = []
audio = [
    "media-core/audio",
    "media-codec-types/audio",
]
decoder = [
    "media-codec-types/decoder",
    "media-codec-h264?/decoder",
    "media-codec-h265?/decoder",
    "media-codec-video-toolbox?/decoder",
]
default = [
    "audio",
    "video",
    "decoder",
    "encoder",
    "all-codecs",
]
encoder = ["media-codec-types/encoder"]
h264 = ["dep:media-codec-h264"]
h265 = ["dep:media-codec-h265"]
video = [
    "media-core/video",
    "media-codec-types/video",
]
video-toolbox = ["dep:media-codec-video-toolbox"]

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

[dependencies.ctor]
version = "0.6.3"

[dependencies.media-codec-h264]
version = "0.1.0"
optional = true
default-features = false

[dependencies.media-codec-h265]
version = "0.1.0"
optional = true
default-features = false

[dependencies.media-codec-types]
version = "0.9.0"
default-features = false

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

[target.'cfg(any(target_os = "macos", target_os = "ios"))'.dependencies.media-codec-video-toolbox]
version = "0.2.0"
optional = true