Skip to content

Commit dd96773

Browse files
authored
Merge pull request #297 from AdrianEddy/capi-refactor
Move functions which are not part of exposed C API from `mp4parse_capi` to `mp4parse` crate
2 parents b138649 + a5792ee commit dd96773

File tree

7 files changed

+592
-565
lines changed

7 files changed

+592
-565
lines changed

mp4parse/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ criterion = "0.3"
4343
[features]
4444
3gpp = []
4545
meta-xml = []
46+
unstable-api = []
4647

4748
[[bench]]
4849
name = "avif_benchmark"

mp4parse/src/lib.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,9 @@ use boxes::{BoxType, FourCC};
3939
#[cfg(test)]
4040
mod tests;
4141

42+
#[cfg(feature = "unstable-api")]
43+
pub mod unstable;
44+
4245
// Arbitrary buffer size limit used for raw read_bufs on a box.
4346
const BUF_SIZE_LIMIT: u64 = 10 * 1024 * 1024;
4447

0 commit comments

Comments
 (0)