Skip to content

Commit 7a51067

Browse files
dianpopaalxiord
authored andcommitted
Little style adjustments
Some: * alphabetical reorderings inside toml's * some missed newlines inside toml's * removal of unused imports Signed-off-by: Diana Popa <[email protected]>
1 parent 4ce635d commit 7a51067

File tree

4 files changed

+4
-7
lines changed

4 files changed

+4
-7
lines changed

Cargo.lock

Lines changed: 0 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/rate_limiter/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,5 @@ authors = ["Amazon Firecracker team <[email protected]>"]
77
libc = ">=0.2.39"
88
timerfd = ">=1.0"
99

10-
utils = { path = "../utils" }
1110
logger = { path = "../logger" }
11+
utils = { path = "../utils" }

src/utils/Cargo.toml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,10 @@ authors = ["Amazon Firecracker team <[email protected]>"]
55
edition = "2018"
66

77
[dependencies]
8-
vmm-sys-util = ">=0.2.1"
98
libc = ">=0.2.39"
10-
serde = ">=1.0.27"
9+
vmm-sys-util = ">=0.2.1"
10+
1111
net_gen = { path = "../net_gen" }
1212

1313
[dev-dependencies]
1414
dumbo = { path = "../dumbo" }
15-
serde_json = ">=1.0.9"

src/utils/src/net/tap.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,14 @@
55
// Use of this source code is governed by a BSD-style license that can be
66
// found in the THIRD-PARTY file.
77

8-
use crate::ioctl::{ioctl_with_mut_ref, ioctl_with_ref, ioctl_with_val};
98
use libc;
109
use net_gen;
1110
use std::fs::File;
1211
use std::io::{Error as IoError, Read, Result as IoResult, Write};
1312
use std::net::UdpSocket;
1413
use std::os::raw::*;
1514
use std::os::unix::io::{AsRawFd, FromRawFd, RawFd};
15+
use vmm_sys_util::ioctl::{ioctl_with_mut_ref, ioctl_with_ref, ioctl_with_val};
1616

1717
// As defined in the Linux UAPI:
1818
// https://elixir.bootlin.com/linux/v4.17/source/include/uapi/linux/if.h#L33

0 commit comments

Comments
 (0)