# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" rust-version = "1.80.0" name = "mediameta" version = "0.1.3" authors = ["Vaiz"] build = false exclude = [ ".github", "test-data/**", "tests/**", "scripts/**", ] autobins = false autoexamples = false autotests = false autobenches = false description = "This library provides a straightforward API to extract metadata from media files." homepage = "https://github.com/Vaiz/mediameta" readme = "README.md" keywords = [ "mp4", "mkv", "media", "mediainfo", "exif", ] license = "Unlicense" repository = "https://github.com/Vaiz/mediameta" [package.metadata.docs.rs] all-features = true rustdoc-args = [ "--cfg", "docsrs", ] [lib] name = "mediameta" path = "src/lib.rs" [[example]] name = "combined_ls" path = "examples/combined_ls.rs" required-features = ["mediainfo"] [[example]] name = "file_info" path = "examples/file_info.rs" [[example]] name = "ls" path = "examples/ls.rs" [[example]] name = "mediainfo" path = "examples/mediainfo.rs" required-features = ["mediainfo"] [[example]] name = "mediainfo_ls" path = "examples/mediainfo_ls.rs" required-features = ["mediainfo"] [dependencies.anyhow] version = "1.0.91" [dependencies.chrono] version = "0.4.38" features = ["std"] default-features = false [dependencies.cmd_lib] version = "1.9.5" optional = true [dependencies.image] version = "0.25.4" optional = true [dependencies.kamadak-exif] version = "0.5.5" [dependencies.log] version = "0.4.22" optional = true [dependencies.matroska] version = "0.28.0" [dependencies.mp4] version = "0.14.0" [dependencies.serde] version = "1.0.214" features = ["derive"] optional = true [dependencies.serde_json] version = "1.0.132" optional = true [dependencies.which] version = "6.0.3" optional = true [dev-dependencies.colog] version = "1.3.0" [features] image = ["dep:image"] mediainfo = [ "dep:cmd_lib", "dep:serde", "dep:serde_json", "dep:which", "dep:log", ]