# 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" name = "mediacodec" version = "0.1.2" authors = ["Adebayo Jagunmolu "] description = "Rust bindings to MediaCodec, with an easy-to-use API" readme = "README.md" keywords = ["ffi", "bindings", "multimedia", "codec", "android"] categories = ["api-bindings", "encoding", "multimedia", "multimedia::audio", "multimedia::video"] license = "MIT" repository = "https://github.com/hardebayho/rust_mediacodec" resolver = "2" [package.metadata.docs.rs] features = ["api28"] targets = ["aarch64-linux-android", "armv7-linux-androideabi", "i686-linux-android", "x86_64-linux-android"] [lib] name = "mediacodec" crate-type = ["cdylib"] [[example]] name = "demuxing" crate-type = ["cdylib"] [[example]] name = "decoding" crate-type = ["cdylib"] [features] api24 = [] api26 = ["api24"] api28 = ["api26"] api29 = ["api28"] [target."cfg(target_os = \"android\")".dependencies.android_log] version = "0.1.3" [target."cfg(target_os = \"android\")".dependencies.javavm] version = "0.1.2" [target."cfg(target_os = \"android\")".dependencies.jni] version = "0.19.0" [target."cfg(target_os = \"android\")".dependencies.log] version = "0.4.14"