abrasion/third_party/cargo/vendor/ndk-0.2.1/Cargo.toml

61 lines
1.8 KiB
TOML

# 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 believe there's an error in this file please file an
# issue against the rust-lang/cargo repository. If you're
# editing this file be aware that the upstream Cargo.toml
# will likely look very different (and much more reasonable)
[package]
edition = "2018"
name = "ndk"
version = "0.2.1"
authors = ["The Rust Windowing contributors"]
description = "Safe Rust bindings to the Android NDK"
homepage = "https://github.com/rust-windowing/android-ndk-rs"
documentation = "https://docs.rs/android-ndk"
readme = "../README.md"
keywords = ["android", "ndk"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/rust-windowing/android-ndk-rs"
[package.metadata.docs.rs]
features = ["jni", "jni-glue", "all"]
targets = ["aarch64-linux-android", "armv7-linux-androideabi", "i686-linux-android", "x86_64-linux-android"]
[dependencies.ffi]
version = "0.2.1"
package = "ndk-sys"
[dependencies.jni]
version = "0.14.0"
optional = true
[dependencies.jni-glue]
version = "0.0.10"
optional = true
[dependencies.jni-sys]
version = "0.3.0"
[dependencies.num_enum]
version = "0.4.2"
[dependencies.thiserror]
version = "1.0"
[features]
aaudio = ["ffi/aaudio", "api-level-26"]
all = ["aaudio", "bitmap", "hardware_buffer", "media", "trace", "api-level-30"]
api-level-23 = []
api-level-24 = ["api-level-23"]
api-level-26 = ["api-level-24"]
api-level-29 = ["api-level-26"]
api-level-30 = ["api-level-29"]
bitmap = ["ffi/bitmap"]
hardware_buffer = ["api-level-26"]
media = ["ffi/media"]
trace = ["api-level-23"]