mirror of
https://github.com/OMGeeky/tarpc.git
synced 2026-01-19 18:00:48 +01:00
Use real crate names rather than internal aliases. It's less confusing for people reading examples.
This commit is contained in:
@@ -65,7 +65,7 @@ async fn main() -> io::Result<()> {
|
||||
|
||||
// bincode_transport is provided by the associated crate bincode-transport. It makes it easy
|
||||
// to start up a serde-powered bincode serialization strategy over TCP.
|
||||
json_transport::listen(&server_addr)?
|
||||
tarpc_json_transport::listen(&server_addr)?
|
||||
// Ignore accept errors.
|
||||
.filter_map(|r| future::ready(r.ok()))
|
||||
.map(server::BaseChannel::with_defaults)
|
||||
|
||||
Reference in New Issue
Block a user