From 30e2b8eca99c8f131624cfdabe21335e803e89e5 Mon Sep 17 00:00:00 2001 From: zonyitoo Date: Wed, 8 Jan 2020 14:05:41 +0800 Subject: [PATCH] Ignore UDP protocol as it is not Rust code --- .travis.yml | 2 +- src/relay/udprelay/mod.rs | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.travis.yml b/.travis.yml index 6dfd4328..7b89624c 100644 --- a/.travis.yml +++ b/.travis.yml @@ -39,4 +39,4 @@ install: fi script: - - cargo test --no-fail-fast --features miscreant --tests + - cargo test --no-fail-fast --features miscreant diff --git a/src/relay/udprelay/mod.rs b/src/relay/udprelay/mod.rs index 5c9010de..36683c1c 100644 --- a/src/relay/udprelay/mod.rs +++ b/src/relay/udprelay/mod.rs @@ -3,7 +3,7 @@ //! ## ShadowSocks UDP protocol //! //! SOCKS5 UDP Request -//! ``` +//! ```ignore //! +----+------+------+----------+----------+----------+ //! |RSV | FRAG | ATYP | DST.ADDR | DST.PORT | DATA | //! +----+------+------+----------+----------+----------+ @@ -12,7 +12,7 @@ //! ``` //! //! SOCKS5 UDP Response -//! ``` +//! ```ignore //! +----+------+------+----------+----------+----------+ //! |RSV | FRAG | ATYP | DST.ADDR | DST.PORT | DATA | //! +----+------+------+----------+----------+----------+ @@ -21,7 +21,7 @@ //! ``` //! //! shadowsocks UDP Request (before encrypted) -//! ``` +//! ```ignore //! +------+----------+----------+----------+ //! | ATYP | DST.ADDR | DST.PORT | DATA | //! +------+----------+----------+----------+ @@ -30,7 +30,7 @@ //! ``` //! //! shadowsocks UDP Response (before encrypted) -//! ``` +//! ```ignore //! +------+----------+----------+----------+ //! | ATYP | DST.ADDR | DST.PORT | DATA | //! +------+----------+----------+----------+ @@ -39,7 +39,7 @@ //! ``` //! //! shadowsocks UDP Request and Response (after encrypted) -//! ``` +//! ```ignore //! +-------+--------------+ //! | IV | PAYLOAD | //! +-------+--------------+