]> git.proxmox.com Git - rustc.git/blame - src/libstd/sys/windows/ext/mod.rs
New upstream version 1.33.0+dfsg1
[rustc.git] / src / libstd / sys / windows / ext / mod.rs
CommitLineData
7cac9316 1//! Platform-specific extensions to `std` for Windows.
d9579d0f 2//!
7cac9316
XL
3//! Provides access to platform-level information for Windows, and exposes
4//! Windows-specific idioms that would otherwise be inappropriate as part
5//! the core `std` library. These extensions allow developers to use
6//! `std` types and idioms with Windows in a way that the normal
7//! platform-agnostic idioms would not normally support.
d9579d0f
AL
8
9#![stable(feature = "rust1", since = "1.0.0")]
3b2f2976 10#![doc(cfg(windows))]
94b46f34 11#![allow(missing_docs)]
d9579d0f
AL
12
13pub mod ffi;
14pub mod fs;
15pub mod io;
16pub mod raw;
62682a34 17pub mod process;
92a42be0 18pub mod thread;
d9579d0f
AL
19
20/// A prelude for conveniently writing platform-specific code.
21///
22/// Includes all extension traits, and some important type definitions.
23#[stable(feature = "rust1", since = "1.0.0")]
24pub mod prelude {
92a42be0 25 #[doc(no_inline)] #[stable(feature = "rust1", since = "1.0.0")]
d9579d0f 26 pub use super::io::{RawSocket, RawHandle, AsRawSocket, AsRawHandle};
92a42be0 27 #[doc(no_inline)] #[stable(feature = "rust1", since = "1.0.0")]
e9174d1e 28 pub use super::io::{FromRawSocket, FromRawHandle, IntoRawSocket, IntoRawHandle};
d9579d0f
AL
29 #[doc(no_inline)] #[stable(feature = "rust1", since = "1.0.0")]
30 pub use super::ffi::{OsStrExt, OsStringExt};
92a42be0 31 #[doc(no_inline)] #[stable(feature = "rust1", since = "1.0.0")]
d9579d0f 32 pub use super::fs::{OpenOptionsExt, MetadataExt};
476ff2be 33 #[doc(no_inline)] #[stable(feature = "file_offset", since = "1.15.0")]
c30ab7b3 34 pub use super::fs::FileExt;
d9579d0f 35}