mirror of
https://github.com/nushell/nushell.git
synced 2025-06-01 23:55:50 +02:00
# Description Add `README.md` files to each crate in our workspace (-plugins) and also include it in the `lib.rs` documentation for <docs.rs> (if there is no existing `lib.rs` crate documentation) In all new README I added the defensive comment that the crates are not considered stable for public consumption. If necessary we can adjust this if we deem a crate useful for plugin authors.
30 lines
773 B
Rust
30 lines
773 B
Rust
#![doc = include_str!("../README.md")]
|
|
mod foreground;
|
|
|
|
#[cfg(target_os = "freebsd")]
|
|
mod freebsd;
|
|
#[cfg(any(target_os = "android", target_os = "linux"))]
|
|
mod linux;
|
|
#[cfg(target_os = "macos")]
|
|
mod macos;
|
|
#[cfg(any(target_os = "netbsd", target_os = "openbsd"))]
|
|
mod netbsd;
|
|
pub mod os_info;
|
|
#[cfg(target_os = "windows")]
|
|
mod windows;
|
|
|
|
#[cfg(unix)]
|
|
pub use self::foreground::stdin_fd;
|
|
pub use self::foreground::{ForegroundChild, ForegroundGuard};
|
|
|
|
#[cfg(target_os = "freebsd")]
|
|
pub use self::freebsd::*;
|
|
#[cfg(any(target_os = "android", target_os = "linux"))]
|
|
pub use self::linux::*;
|
|
#[cfg(target_os = "macos")]
|
|
pub use self::macos::*;
|
|
#[cfg(any(target_os = "netbsd", target_os = "openbsd"))]
|
|
pub use self::netbsd::*;
|
|
#[cfg(target_os = "windows")]
|
|
pub use self::windows::*;
|