1[package] 2name = "mp4parse_capi" 3version = "0.11.2" 4authors = [ 5 "Ralph Giles <giles@mozilla.com>", 6 "Matthew Gregan <kinetik@flim.org>", 7 "Alfredo Yang <ayang@mozilla.com>", 8 "Jon Bauman <jbauman@mozilla.com>", 9] 10 11description = "Parser for ISO base media file format (mp4)" 12documentation = "https://docs.rs/mp4parse_capi/" 13license = "MPL-2.0" 14 15repository = "https://github.com/mozilla/mp4parse-rust" 16 17# Avoid complaints about trying to package test files. 18exclude = [ 19 "*.mp4", 20] 21 22[lib] 23crate-type = ["lib", "cdylib"] 24 25[badges] 26travis-ci = { repository = "https://github.com/mozilla/mp4parse-rust" } 27 28[dependencies] 29byteorder = "1.2.1" 30log = "0.4" 31mp4parse = {version = "0.11.2", path = "../mp4parse"} 32num-traits = "0.2.0" 33 34[dev-dependencies] 35env_logger = "0.7.1" 36 37[build-dependencies] 38cbindgen = "0.14.3" 39 40[features] 41default = ["craw"] 42craw = ["mp4parse/craw"] 43# Enable mp4parse_fallible to use fallible memory allocation rather than 44# panicking on OOM. Note that this is only safe within Gecko where the system 45# allocator has been globally overridden (see BMO 1457359). 46mp4parse_fallible = ["mp4parse/mp4parse_fallible"] 47 48