Commit Graph

31 Commits

Author SHA1 Message Date
Taiki Endo 0664dd2e44
Migrate to Rust 2021 (#27) 2023-10-08 14:59:24 +09:00
John Nunley ac84e921f0
Add smol-rs logo (#24) 2023-07-17 14:40:42 +09:00
Taiki Endo 75fcca452d Bump MSRV to 1.63 2023-06-11 22:29:04 +09:00
John Nunley f54163fc6b
Add I/O-safe traits (#21) 2022-08-18 04:03:31 +09:00
Taiki Endo 583df1640c Use Async::{readable_owned, writable_owned} 2021-06-30 21:39:11 +09:00
Taiki Endo 1e8799cf4a Remove boxed futures from TcpStream and UnixStream 2021-05-22 22:01:40 +09:00
Arnavion 4a7235ced6 Override AsyncWrite::poll_write_vectored for TcpStream since the underlying type supports it. 2021-05-22 02:00:45 -07:00
Taiki Endo 024f737c3e Fix clippy::from_over_into lint 2021-04-24 18:21:21 +09:00
Erick Tryzelaar 6af24d7d20 Optimze allocations in Listeners
This shrinks the allocations for listener streams from 1 per connection,
to a single allocation.
2021-04-05 15:49:27 -07:00
Stjepan Glavina f4ff938d5c Add conversion of networking types into their inner types 2020-10-20 23:13:27 +02:00
Stjepan Glavina 18b27e2753 Update futures-lite 2020-10-09 14:28:58 +02:00
Stjepan Glavina 257a86e518 Remove random yielding 2020-09-29 19:01:54 +02:00
Stjepan Glavina 8c5f20f1a8 Simplify code and handle errors in readiness future 2020-09-28 19:08:40 +02:00
Stjepan Glavina 0912c08909 Store future inside Incoming 2020-09-28 00:29:30 +02:00
Stjepan Glavina e3ee8496ad Bump to v1.4.3 2020-09-21 12:49:01 +02:00
Stjepan Glavina 19f0310e5a Make TcpStream and UnixStream unwind-safe 2020-09-21 01:04:07 +02:00
Stjepan Glavina f85401ab4d Make TcpStream and UnixStream implement Sync 2020-09-20 02:44:58 +02:00
Stjepan Glavina 0b293cbd23 Remove impl AsyncRead/AsyncWrite for &TcpStream/&UnixStream 2020-09-20 02:40:42 +02:00
Stjepan Glavina 2ef2c43da9 Add type conversions 2020-09-14 16:19:31 +02:00
Stjepan Glavina 37e2468d7b Also reexport AddrParseError 2020-09-06 10:59:30 +02:00
Stjepan Glavina 04e4f7cbe2 Bump to v1.0.0 2020-08-26 23:19:47 +02:00
Stjepan Glavina d3b43173b3
Merge branch 'master' into reexports 2020-08-26 21:12:47 +02:00
Stjepan Glavina f813bce522 A function to resolve addresses 2020-08-02 21:19:52 +02:00
Stjepan Glavina 4e4e971d5c Reexport socket address types 2020-08-02 21:12:55 +02:00
Stjepan Glavina da86a9c04f Simplify 2020-07-25 17:25:30 +02:00
Stjepan Glavina 0d1a3d0031 Update blocking to 0.5 2020-07-25 17:13:44 +02:00
Stjepan Glavina 34ce915aab Fix failing tests 2020-07-19 19:33:19 +02:00
Stjepan Glavina 4c1536b133 Reduce dependencies 2020-07-19 19:32:25 +02:00
Stjepan Glavina 84021c27bd Fix some warnings and forbid unsafe code 2020-07-07 23:29:48 +02:00
Stjepan Glavina 84d59d978d Rename peer to addr 2020-07-04 10:43:22 +02:00
Stjepan Glavina ca3dfc511b Initial commit 2020-07-04 10:40:25 +02:00