85 lines
1.7 KiB
TOML
85 lines
1.7 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 = "2021"
|
|
rust-version = "1.69.0"
|
|
name = "android-activity"
|
|
version = "0.6.0"
|
|
description = "Glue for building Rust applications on Android with NativeActivity or GameActivity"
|
|
homepage = "https://github.com/rust-mobile/android-activity"
|
|
documentation = "https://docs.rs/android-activity"
|
|
readme = "README.md"
|
|
keywords = [
|
|
"android",
|
|
"ndk",
|
|
]
|
|
license = "MIT OR Apache-2.0"
|
|
repository = "https://github.com/rust-mobile/android-activity"
|
|
|
|
[package.metadata.docs.rs]
|
|
rustdoc-args = [
|
|
"--cfg",
|
|
"docsrs",
|
|
]
|
|
targets = [
|
|
"aarch64-linux-android",
|
|
"armv7-linux-androideabi",
|
|
"i686-linux-android",
|
|
"x86_64-linux-android",
|
|
]
|
|
|
|
[dependencies.android-properties]
|
|
version = "0.2"
|
|
|
|
[dependencies.bitflags]
|
|
version = "2.0"
|
|
|
|
[dependencies.cesu8]
|
|
version = "1"
|
|
|
|
[dependencies.jni]
|
|
version = "0.21"
|
|
|
|
[dependencies.jni-sys]
|
|
version = "0.3"
|
|
|
|
[dependencies.libc]
|
|
version = "0.2"
|
|
|
|
[dependencies.log]
|
|
version = "0.4"
|
|
|
|
[dependencies.ndk]
|
|
version = "0.9.0"
|
|
default-features = false
|
|
|
|
[dependencies.ndk-context]
|
|
version = "0.1"
|
|
|
|
[dependencies.ndk-sys]
|
|
version = "0.6.0"
|
|
|
|
[dependencies.num_enum]
|
|
version = "0.7"
|
|
|
|
[dependencies.thiserror]
|
|
version = "1"
|
|
|
|
[build-dependencies.cc]
|
|
version = "1.0"
|
|
features = ["parallel"]
|
|
|
|
[features]
|
|
default = []
|
|
game-activity = []
|
|
native-activity = []
|