about summary refs log tree commit diff
path: root/library/std/src/sys/unix/ext/net/mod.rs
diff options
context:
space:
mode:
authorLinkTed <LinkTed@users.noreply.github.com>2020-08-22 17:27:43 +0200
committerLinkTed <LinkTed@users.noreply.github.com>2020-10-10 15:19:11 +0200
commit6fa7c3f79ed3775912c9ec5db8a824dee646e4dd (patch)
treee39c3f3a9f4ed132fc2516ae629226df25ae0618 /library/std/src/sys/unix/ext/net/mod.rs
parent0b3c9d84656a86cb3c57b20fff6bef5f8f2aeabb (diff)
downloadrust-6fa7c3f79ed3775912c9ec5db8a824dee646e4dd.tar.gz
rust-6fa7c3f79ed3775912c9ec5db8a824dee646e4dd.zip
Split net.rs into multiple files
Diffstat (limited to 'library/std/src/sys/unix/ext/net/mod.rs')
-rw-r--r--library/std/src/sys/unix/ext/net/mod.rs25
1 files changed, 25 insertions, 0 deletions
diff --git a/library/std/src/sys/unix/ext/net/mod.rs b/library/std/src/sys/unix/ext/net/mod.rs
new file mode 100644
index 00000000000..93b72df520a
--- /dev/null
+++ b/library/std/src/sys/unix/ext/net/mod.rs
@@ -0,0 +1,25 @@
+//! Unix-specific networking functionality
+
+#![stable(feature = "unix_socket", since = "1.10.0")]
+
+mod addr;
+mod ancillary;
+mod datagram;
+mod listener;
+mod raw_fd;
+mod stream;
+#[cfg(all(test, not(target_os = "emscripten")))]
+mod test;
+
+#[stable(feature = "unix_socket", since = "1.10.0")]
+pub use self::addr::*;
+#[unstable(feature = "unix_socket_ancillary_data", issue = "none")]
+pub use self::ancillary::*;
+#[stable(feature = "unix_socket", since = "1.10.0")]
+pub use self::datagram::*;
+#[stable(feature = "unix_socket", since = "1.10.0")]
+pub use self::listener::*;
+#[stable(feature = "rust1", since = "1.0.0")]
+pub use self::raw_fd::*;
+#[stable(feature = "unix_socket", since = "1.10.0")]
+pub use self::stream::*;