98 lines
2 KiB
TOML
98 lines
2 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 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 = "2018"
|
|
name = "ndk"
|
|
version = "0.7.0"
|
|
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",
|
|
]
|
|
rustdoc-args = [
|
|
"--cfg",
|
|
"docsrs",
|
|
]
|
|
targets = [
|
|
"aarch64-linux-android",
|
|
"armv7-linux-androideabi",
|
|
"i686-linux-android",
|
|
"x86_64-linux-android",
|
|
]
|
|
|
|
[dependencies.bitflags]
|
|
version = "1.2.1"
|
|
|
|
[dependencies.ffi]
|
|
version = "0.4.0"
|
|
package = "ndk-sys"
|
|
|
|
[dependencies.jni]
|
|
version = "0.19"
|
|
optional = true
|
|
|
|
[dependencies.jni-glue]
|
|
version = "0.0.10"
|
|
optional = true
|
|
|
|
[dependencies.jni-sys]
|
|
version = "0.3.0"
|
|
|
|
[dependencies.num_enum]
|
|
version = "0.5.1"
|
|
|
|
[dependencies.raw-window-handle]
|
|
version = "0.5"
|
|
|
|
[dependencies.thiserror]
|
|
version = "1.0.23"
|
|
|
|
[features]
|
|
all = [
|
|
"audio",
|
|
"bitmap",
|
|
"media",
|
|
"api-level-30",
|
|
]
|
|
api-level-23 = []
|
|
api-level-24 = ["api-level-23"]
|
|
api-level-25 = ["api-level-24"]
|
|
api-level-26 = ["api-level-25"]
|
|
api-level-27 = ["api-level-26"]
|
|
api-level-28 = ["api-level-27"]
|
|
api-level-29 = ["api-level-28"]
|
|
api-level-30 = ["api-level-29"]
|
|
audio = [
|
|
"ffi/audio",
|
|
"api-level-26",
|
|
]
|
|
bitmap = ["ffi/bitmap"]
|
|
media = ["ffi/media"]
|
|
test = [
|
|
"ffi/test",
|
|
"jni",
|
|
"jni-glue",
|
|
"all",
|
|
]
|