Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update dependencies #11

Merged
merged 3 commits into from
Feb 23, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 All @@ -105,7 +95,7 @@
use crate::transport::{StunTcpTransporter, StunUdpTransporter};
use crate::Error;
use factory::DefaultFactory;
use fibers_global;

Check warning on line 98 in src/lib.rs

View workflow job for this annotation

GitHub Actions / Test Suite (nightly)

the item `fibers_global` is imported redundantly
use fibers_transport::{TcpTransporter, UdpTransporter};
use futures::Future;
use std::thread;
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
Loading