mirror of https://github.com/smol-rs/nb-connect
Compare commits
2 Commits
93ba86181f
...
758a3470c7
Author | SHA1 | Date |
---|---|---|
Taiki Endo | 758a3470c7 | |
Taiki Endo | 21a5caec97 |
|
@ -1,3 +1,7 @@
|
||||||
|
# Version 1.2.0
|
||||||
|
|
||||||
|
- **This crate is now deprecated in favor of [socket2](https://crates.io/crates/socket2).**
|
||||||
|
|
||||||
# Version 1.1.0
|
# Version 1.1.0
|
||||||
|
|
||||||
- Increase MSRV to rustc 1.46.
|
- Increase MSRV to rustc 1.46.
|
||||||
|
|
|
@ -3,7 +3,7 @@ name = "nb-connect"
|
||||||
# When publishing a new version:
|
# When publishing a new version:
|
||||||
# - Update CHANGELOG.md
|
# - Update CHANGELOG.md
|
||||||
# - Create "v1.x.y" git tag
|
# - Create "v1.x.y" git tag
|
||||||
version = "1.1.0"
|
version = "1.2.0"
|
||||||
authors = [
|
authors = [
|
||||||
"Stjepan Glavina <stjepang@gmail.com>",
|
"Stjepan Glavina <stjepang@gmail.com>",
|
||||||
"Jayce Fayne <jayce.fayne@mailbox.org>",
|
"Jayce Fayne <jayce.fayne@mailbox.org>",
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
# nb-connect
|
# nb-connect (deprecated)
|
||||||
|
|
||||||
[![Build](https://github.com/smol-rs/nb-connect/workflows/Build%20and%20test/badge.svg)](
|
[![Build](https://github.com/smol-rs/nb-connect/workflows/Build%20and%20test/badge.svg)](
|
||||||
https://github.com/smol-rs/nb-connect/actions)
|
https://github.com/smol-rs/nb-connect/actions)
|
||||||
|
@ -9,6 +9,8 @@ https://crates.io/crates/nb-connect)
|
||||||
[![Documentation](https://docs.rs/nb-connect/badge.svg)](
|
[![Documentation](https://docs.rs/nb-connect/badge.svg)](
|
||||||
https://docs.rs/nb-connect)
|
https://docs.rs/nb-connect)
|
||||||
|
|
||||||
|
**This crate is now deprecated in favor of [socket2](https://crates.io/crates/socket2).**
|
||||||
|
|
||||||
Non-blocking TCP or Unix connect.
|
Non-blocking TCP or Unix connect.
|
||||||
|
|
||||||
This crate allows you to create a [`TcpStream`] or a [`UnixStream`] in a non-blocking way,
|
This crate allows you to create a [`TcpStream`] or a [`UnixStream`] in a non-blocking way,
|
||||||
|
|
|
@ -31,6 +31,10 @@
|
||||||
//! ```
|
//! ```
|
||||||
|
|
||||||
#![warn(missing_docs, missing_debug_implementations, rust_2018_idioms)]
|
#![warn(missing_docs, missing_debug_implementations, rust_2018_idioms)]
|
||||||
|
#![deprecated(
|
||||||
|
since = "1.2.0",
|
||||||
|
note = "This crate is now deprecated in favor of [socket2](https://crates.io/crates/socket2)."
|
||||||
|
)]
|
||||||
|
|
||||||
use std::io;
|
use std::io;
|
||||||
use std::net::{SocketAddr, TcpStream};
|
use std::net::{SocketAddr, TcpStream};
|
||||||
|
|
Loading…
Reference in New Issue