async-rs / async-std

Async version of the Rust standard library
https://async.rs
Apache License 2.0
3.96k stars 340 forks source link

Peer credentials on Unix socket #624

Open zeenix opened 4 years ago

zeenix commented 4 years ago

This is also something that's needed for D-Bus use case but unlike #623, this is needed for modern systems/software as well, not just backwards incompatibility with legacy systems so much higher priority IMO than that. This is already supported in tokio but not yet in std.

zeenix commented 4 years ago

@yoshuawuyts For this one, we could just use the same API as tokio, no?

yoshuawuyts commented 4 years ago

@zeenix probably! -- I see Alex is the one that signed off on the API in that thread, which adds some level of trust it's been thought through correctly. A PR to add this (as unstable) would be welcome!