Skip to content
This repository was archived by the owner on Dec 10, 2022. It is now read-only.

Commit 5eebc47

Browse files
committed
feat(node): use 2018 edition
1 parent 8df9341 commit 5eebc47

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ repository = "https://github.com/tox-rs/tox-node/"
1313
keywords = ["p2p", "instant-messaging", "tox", "toxcore", "networking"]
1414
categories = ["multimedia"]
1515
license = "MIT"
16+
edition = "2018"
1617

1718
[dependencies]
1819
chrono = "0.4"

src/main.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,8 @@ use tox::toxcore::stats::Stats;
4848
#[cfg(unix)]
4949
use syslog::Facility;
5050

51-
use node_config::*;
52-
use motd::{Motd, Counters};
51+
use crate::node_config::*;
52+
use crate::motd::{Motd, Counters};
5353

5454
/// Channel size for onion messages between UDP and TCP relay.
5555
const ONION_CHANNEL_SIZE: usize = 32;

0 commit comments

Comments
 (0)