media-core 0.8.0

Define media types and provide basic media utilities
Documentation
[dependencies.aligned-vec]
version = "0.6"

[dependencies.bitflags]
version = "2.10"

[dependencies.bytemuck]
version = "1.24"

[dependencies.cfg-if]
version = "1.0"

[dependencies.crossbeam-queue]
version = "0.3"

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

[dependencies.num-traits]
version = "0.2"

[dependencies.num_enum]
version = "0.7"

[dependencies.os-ver]
version = "0.2"

[dependencies.pic-scale]
optional = true
version = "0.6"

[dependencies.smallvec]
version = "1.15"

[dependencies.strum]
features = ["derive"]
version = "0.27"

[dependencies.thiserror]
version = "1.0"

[dependencies.x-variant]
version = "0.1"

[dependencies.yuv]
features = ["fast_mode"]
optional = true
version = "0.8"

[features]
audio = []
default = ["audio", "video"]
video = ["dep:pic-scale", "dep:yuv"]

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

[package]
authors = ["Zhou Wei <zhouwei@ehom.net>"]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
categories = ["multimedia", "multimedia::audio", "multimedia::video"]
description = "Define media types and provide basic media utilities"
documentation = "https://docs.rs/media-core"
edition = "2021"
homepage = "https://github.com/rust-media"
keywords = ["audio", "media", "video"]
license = "MIT OR Apache-2.0"
name = "media-core"
readme = "README.md"
repository = "https://github.com/rust-media/media-rs"
rust-version = "1.83.0"
version = "0.8.0"

[package.metadata.docs.rs]
default-target = "x86_64-pc-windows-msvc"
targets = ["x86_64-pc-windows-msvc", "x86_64-apple-darwin", "x86_64-apple-ios", "aarch64-apple-darwin", "aarch64-apple-ios"]

[target.'cfg(any(target_os = "macos", target_os = "ios"))'.dependencies.core-audio-types]
version = "0.1"

[target.'cfg(any(target_os = "macos", target_os = "ios"))'.dependencies.core-foundation]
version = "0.10"

[target.'cfg(any(target_os = "macos", target_os = "ios"))'.dependencies.core-media]
version = "0.5"

[target.'cfg(any(target_os = "macos", target_os = "ios"))'.dependencies.core-video]
default-features = false
features = ["link"]
version = "0.4"

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

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

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

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

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

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

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

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