[package]
edition = "2021"
name = "apple-platforms"
version = "0.0.4"
authors = ["Eugene Hauptmann"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Apple platform metadata, target-triple conversion, and SDK name resolution for Rust build tooling"
homepage = "https://github.com/eugenehp/apple-platforms"
documentation = "https://docs.rs/apple-platforms"
readme = "README.md"
keywords = [
"apple",
"llvm",
"clang",
"platform",
"build-script",
]
categories = [
"os::macos-apis",
"development-tools::build-utils",
]
license = "MIT"
repository = "https://github.com/eugenehp/rswift"
[lib]
name = "apple_platforms"
path = "src/lib.rs"
[[example]]
name = "platform"
path = "examples/platform.rs"
[[example]]
name = "sdk"
path = "examples/sdk.rs"
[[example]]
name = "triple"
path = "examples/triple.rs"
[dependencies.anyhow]
version = "1.0.86"
[lints.clippy]
missing_transmute_annotations = "warn"
unnecessary_wraps = "warn"
[lints.rust]
unsafe_op_in_unsafe_fn = "warn"
[lints.rust.unexpected_cfgs]
level = "allow"
priority = 0
check-cfg = [
'cfg(target_os, values("xros", "tvos", "watchos"))',
'cfg(target_abi, values("sim"))',
]