Skip to content
Permalink
Browse files

Implement STUN message, with one attribute and a basic decoder

  • Loading branch information...
ZizhengTai committed Sep 1, 2019
1 parent bee76b1 commit d82c3b67dec840d703dfbfbd981fdd33ea5114aa
@@ -0,0 +1,7 @@
use std::net::SocketAddr;

pub enum Candidate {
Host(SocketAddr),
ServerReflexive(SocketAddr),
PeerReflexive(SocketAddr),
}
@@ -45,4 +45,4 @@ pub use self::{
version::Version,
};

use parse::Parse;
use self::parse::Parse;
@@ -11,16 +11,10 @@ repository = "https://github.com/bifrost-rs/bifrost"
readme = "README.md"

[dependencies]
bytecodec = "0.4"
bytes = "0.4"
futures-core-preview = "=0.3.0-alpha.18"
futures-util-preview = "=0.3.0-alpha.18"
stun_codec = "0.1"
nom = "5.0"
tokio-codec = "=0.2.0-alpha.4"
tokio-executor = "=0.2.0-alpha.4"
tokio-net = "=0.2.0-alpha.4"
tokio-sync = "=0.2.0-alpha.4"
tokio-timer = "=0.3.0-alpha.4"

[dev-dependencies]
tokio-test = "=0.2.0-alpha.4"
bytecodec = "0.4"
stun_codec = "0.1"

This file was deleted.

This file was deleted.

This file was deleted.

0 comments on commit d82c3b6

Please sign in to comment.
You can’t perform that action at this time.