aboutsummaryrefslogtreecommitdiff
path: root/matroska/src/lib.rs
blob: 7e4121bd2e2cc0c084a6feadbf3a58e774aa96d4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
/*
    This file is part of jellything (https://codeberg.org/metamuffin/jellything)
    which is licensed under the GNU Affero General Public License (version 3); see /COPYING.
    Copyright (C) 2024 metamuffin <metamuffin.org>
*/
pub mod block;
pub mod error;
pub mod matroska;
pub mod read;
pub mod size;
pub mod unflatten;
pub mod write;

pub use matroska::MatroskaTag;
pub use read::ReadValue;
pub use write::WriteValue;

#[derive(Debug, Clone, PartialEq)]
pub enum Master {
    Collected(Vec<MatroskaTag>),
    Start,
    End,
}

pub(crate) use block::Block;
pub(crate) use error::Error;
pub(crate) type Result<T> = core::result::Result<T, Error>;