aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorHaibo Huang <hhb@google.com>2021-02-09 23:59:55 -0800
committerHaibo Huang <hhb@google.com>2021-02-09 23:59:55 -0800
commitefd766e4f6509a71dc88162251d17381dba22a88 (patch)
treef9f41bab9dbe13a435a5b620c904470f1eb9053c /tests
parente11f231f09baa820f4f3f40ee130ac663321c83e (diff)
downloadvsock-efd766e4f6509a71dc88162251d17381dba22a88.tar.gz
Upgrade rust/crates/vsock to 0.2.3
Test: make Change-Id: I3dcb8b2d7eced30b99d792c42bc7ca3a375ed1d7
Diffstat (limited to 'tests')
-rw-r--r--tests/vsock.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/vsock.rs b/tests/vsock.rs
index 24f4e37..d51bad0 100644
--- a/tests/vsock.rs
+++ b/tests/vsock.rs
@@ -14,11 +14,10 @@
* limitations under the License.
*/
-use nix::sys::socket::{SockAddr, VsockAddr};
use rand::RngCore;
use sha2::{Digest, Sha256};
use std::io::{Read, Write};
-use vsock::VsockStream;
+use vsock::{SockAddr, VsockAddr, VsockStream};
const TEST_BLOB_SIZE: usize = 1_000_000;
const TEST_BLOCK_SIZE: usize = 5_000;