mirror of
https://github.com/storytold/craft-libs.git
synced 2026-11-17 21:52:32 +00:00
202 upstream commits since 6cb00467a. Resolutions:
- craft-window, craft-platform: ours. Upstream's frame policy v2, restore
store and GNOME light/wait_first are the versions carried on 28 Oct;
ours moved place() to craft-behavior and kept LayoutWatch and the
appearance/portal.rs split.
- craft-timeline: ours. craft-time (crates/time) lands as upstream wrote
it and is not yet used by craft-timeline.
- Old crates/ui modules stay removed. Upstream's frosted backdrops, shape
gallery, dialog tabs and the iconic flyout top-edge rendering are not
carried. The #1094 model half is in craft-behavior's dock:
Group::flyout_offset and Action::MoveFlyoutTop.
- craft-update: #586 Save and Update, the install probe on the check
thread and quiet per-user MSI self-updates, carried into updater.rs,
stack_dialogs.rs, install/windows.rs and self_update/helper.rs.
- craft-jpeg: progressive Huffman decoding, carried into huffman.rs,
parse.rs and scan.rs.
- craft-print: the driver settings dialog's new tests and the bounded
XML parse's tests, as trials.
- Test-only conflicts: upstream tests from before the base that our side
cut stay cut; tests new upstream are kept.
42 lines
1.2 KiB
TOML
42 lines
1.2 KiB
TOML
[package]
|
|
autotests = false
|
|
name = "craft-media"
|
|
description = "Bit-level I/O, clean-room ISO BMFF (MP4), QuickTime (MOV) and Matroska (MKV, WebM) and MXF demuxers and muxers, and Ogg, AVI and MPEG-TS/PS demuxers."
|
|
version.workspace = true
|
|
edition.workspace = true
|
|
license.workspace = true
|
|
rust-version.workspace = true
|
|
repository.workspace = true
|
|
|
|
[package.metadata.docs.rs]
|
|
all-features = true
|
|
|
|
[lints]
|
|
workspace = true
|
|
|
|
[features]
|
|
default = ["isobmff"]
|
|
bitstream = []
|
|
isobmff = ["bitstream", "dep:thiserror"]
|
|
matroska = []
|
|
# AVI (RIFF) and OpenDML demuxer and muxer (`craft_media::avi`).
|
|
avi = []
|
|
# MXF demuxer and writer (`craft_media::mxf`); the writer formats dates with chrono.
|
|
mxf = ["dep:chrono"]
|
|
# MPEG-2 Systems demuxer: transport streams and program streams (`craft_media::mpegts`).
|
|
mpegts = []
|
|
# Ogg demuxer (Ogg Opus and Vorbis mapping, `craft_media::ogg`).
|
|
ogg = []
|
|
# Serialize and Deserialize for `Container`, `CodecId`, `CodecParams` and `PcmFormat`.
|
|
serde = ["dep:serde"]
|
|
|
|
[dependencies]
|
|
thiserror = { workspace = true, optional = true }
|
|
serde = { workspace = true, optional = true }
|
|
chrono = { workspace = true, optional = true }
|
|
|
|
[dev-dependencies]
|
|
craft-media-testkit = { workspace = true }
|
|
proptest = { workspace = true }
|
|
serde_json = { workspace = true }
|