mirror of
https://github.com/tokio-rs/tokio.git
synced 2026-08-24 00:00:11 +02:00
Rename crate to tokio
This commit is contained in:
committed by
Alex Crichton
parent
25f30c91c4
commit
36aaaa1520
@@ -12,14 +12,14 @@
|
||||
|
||||
extern crate futures;
|
||||
#[macro_use]
|
||||
extern crate tokio_core;
|
||||
extern crate tokio;
|
||||
|
||||
use std::{env, io};
|
||||
use std::net::SocketAddr;
|
||||
|
||||
use futures::{Future, Poll};
|
||||
use tokio_core::net::UdpSocket;
|
||||
use tokio_core::reactor::Core;
|
||||
use tokio::net::UdpSocket;
|
||||
use tokio::reactor::Core;
|
||||
|
||||
struct Server {
|
||||
socket: UdpSocket,
|
||||
|
||||
Reference in New Issue
Block a user