[package]
edition = "2018"
name = "platforms"
version = "4.1.0"
build = false
exclude = [
"README.header.md",
"platform-support.md",
"regenerate-platforms-crate.sh",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = """
Rust platform registry with information about valid Rust platforms (target
triple, target_arch, target_os) sourced from the Rust compiler.
"""
homepage = "https://rustsec.org"
readme = "README.md"
keywords = [
"architectures",
"cpu",
"os",
"targets",
"triples",
]
categories = [
"development-tools",
"no-std",
]
license = "Apache-2.0 OR MIT"
repository = "https://github.com/rustsec/rustsec"
resolver = "2"
[features]
default = ["std"]
std = []
[lib]
name = "platforms"
path = "src/lib.rs"
[dependencies.serde]
version = "1"
optional = true
[lints.clippy]
cloned_instead_of_copied = "warn"
manual_let_else = "warn"
or_fun_call = "warn"
upper_case_acronyms = "warn"
use_self = "warn"
[lints.rust]
elided_lifetimes_in_paths = "warn"
trivial_numeric_casts = "warn"
unnameable_types = "warn"
unreachable_pub = "warn"
unused_extern_crates = "warn"
unused_import_braces = "warn"
unused_qualifications = "warn"