android-binder 0.2.1

Safe bindings to Android Binder, restricted to the NDK
# 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 = "android-binder"
version = "0.2.1"
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Safe bindings to Android Binder, restricted to the NDK"
readme = false
license = "Apache-2.0"

[features]
android_ndk_compat_symbols = []
kernel_ipc = []
std = []

[lib]
name = "android_binder"
path = "src/lib.rs"

[[test]]
name = "integration"
path = "tests/integration.rs"

[[test]]
name = "ndk_rust_interop"
path = "tests/ndk_rust_interop.rs"

[[test]]
name = "serialization"
path = "tests/serialization.rs"

[dependencies.binder-ndk-sys]
version = "0.2"
features = ["std"]
package = "android-binder-ndk-sys"

[dependencies.downcast-rs]
version = "2.0.1"

[dependencies.libc]
version = "0.2.159"

[dependencies.static_assertions]
version = "1.1.0"

[dependencies.zerocopy]
version = "0.8.25"
features = ["alloc"]

[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = [
    "cfg(android_vendor)",
    "cfg(android_ndk)",
    "cfg(android_vndk)",
    "cfg(trusty)",
    "cfg(single_threaded)",
]