Skip to content

Commit

Permalink
Merge pull request #11 from sile/update-dependencies
Browse files Browse the repository at this point in the history
Update dependencies
  • Loading branch information
sile authored Feb 23, 2024
2 parents bd11ff9 + e516597 commit bf6d08f
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 14 deletions.
4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@ fibers_timeout_queue = "0.1"
fibers_transport = "0.1.3"
futures = "0.1"
rand = "0.8"
stun_codec = "0.2"
stun_codec = "0.3"
trackable = "1"

[dev-dependencies]
clap = { version = "3", features = ["derive"] }
clap = { version = "4", features = ["derive"] }
fibers_global = "0.1"
10 changes: 0 additions & 10 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -70,16 +70,6 @@
//!
//! [RFC 5389]: https://tools.ietf.org/html/rfc5389
#![warn(missing_docs)]
extern crate bytecodec;
extern crate factory;
extern crate fibers;
#[cfg(test)]
extern crate fibers_global;
extern crate fibers_timeout_queue;
extern crate fibers_transport;
extern crate futures;
extern crate rand;
extern crate stun_codec;
#[macro_use]
extern crate trackable;

Expand Down
2 changes: 1 addition & 1 deletion src/message.rs
Original file line number Diff line number Diff line change
Expand Up @@ -331,7 +331,7 @@ impl<A: Attribute> ErrorResponse<A> {
request.method(),
request.transaction_id(),
);
message.add_attribute(error.into());
message.add_attribute(error);
ErrorResponse(message)
}

Expand Down
2 changes: 1 addition & 1 deletion src/server.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ use factory::DefaultFactory;
use factory::Factory;
use fibers::sync::mpsc;
use fibers::{BoxSpawn, Spawn};
use fibers_transport::{self, FixedPeerTransporter, TcpTransport, UdpTransport};
use fibers_transport::{FixedPeerTransporter, TcpTransport, UdpTransport};
use futures::{Async, Future, Poll, Stream};
use std::fmt;
use std::net::SocketAddr;
Expand Down

0 comments on commit bf6d08f

Please sign in to comment.