//! Rust platform registry: provides programmatic access to information about valid Rust platforms //! //! This crate provides an interface to the platform data canonically sourced //! from the Rust compiler: //! //! //! //! ## Minimum Supported Rust Version //! //! Rust **1.40** or higher. //! //! Minimum supported Rust version can be changed in the future, but it will be //! done with a minor version bump. #![no_std] #![doc(html_logo_url = "https://raw.githubusercontent.com/RustSec/logos/main/rustsec-logo-lg.png")] #![forbid(unsafe_code)] #![warn(missing_docs, unused_qualifications, rust_2018_idioms)] #[cfg(feature = "std")] extern crate std; pub(crate) mod error; pub mod platform; pub mod target; pub use crate::{ error::Error, platform::{Platform, Tier}, target::{Arch, Endian, Env, PointerWidth, OS}, }; #[cfg(feature = "std")] pub use crate::platform::PlatformReq;