Skip to content

Commit

Permalink
update dependencies + clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
bastibl committed Feb 22, 2024
1 parent 9587272 commit 112cd0d
Show file tree
Hide file tree
Showing 13 changed files with 18 additions and 23 deletions.
22 changes: 11 additions & 11 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -79,18 +79,18 @@ config = "0.14"
dirs = "5.0"
dyn-clone = "1.0"
futures = "0.3"
futures-lite = "2.0"
futures-lite = "2.2"
futuredsp = { path = "crates/futuredsp", version = "0.0.6" }
futuresdr-macros = { path = "crates/macros", version = "0.0.6" }
futuresdr-types = { path = "crates/types", version = "0.0.11" }
log = { version = "0.4", features = ["std", "max_level_debug", "release_max_level_info"] }
num-complex = "0.4"
num-integer = "0.1"
num_cpus = "1.16"
once_cell = "1.18"
once_cell = "1.19"
rand = "0.8"
rustfft = "6.1"
seify = { version = "0.10", default-features = false, optional = true }
rustfft = "6.2"
seify = { version = "0.11", default-features = false, optional = true }
slab = "0.4"
spin = "0.9"
serde = { version = "1.0", features = ["derive"] }
Expand All @@ -111,17 +111,17 @@ wasm-bindgen = "0.2"
wasm-bindgen-futures = "0.4"

[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
async-executor = "1.7"
async-executor = "1.8"
async-fs = "2.1"
async-io = "2.2"
async-lock = "3.1"
async-io = "2.3"
async-lock = "3.3"
async-native-tls = { version = "0.5", optional = true }
async-net = "2.0"
async-task = "4.5"
async-tungstenite = "0.24"
async-task = "4.7"
async-tungstenite = "0.25"
axum = "0.7"
blocking = "1.5"
concurrent-queue = "2.3"
concurrent-queue = "2.4"
core_affinity = "0.8"
cpal = { version = "0.15", optional = true }
hound = {version = "3.5", optional = true }
Expand Down Expand Up @@ -169,7 +169,7 @@ rustc_version = "0.4"
lttng-ust-generate = { git = "https://github.com/sprt/lttng-ust-rs.git", version = "0.1.1", optional = true }

[dev-dependencies]
async-channel = "2.1"
async-channel = "2.2"
criterion = { version = "0.5", features = ["html_reports"] }
easy-parallel = "3.3"
float-cmp = "0.9"
Expand Down
1 change: 1 addition & 0 deletions crates/futuredsp/benches/benchmarks.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ use num_complex::Complex;
use rand::Rng;

extern crate alloc;
#[allow(unused_imports)]
use alloc::vec::Vec;

trait Generatable {
Expand Down
1 change: 0 additions & 1 deletion src/blocks/audio/wav_sink.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
use hound;
use std::path;

use crate::anyhow::Result;
Expand Down
2 changes: 1 addition & 1 deletion src/blocks/fft.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
use rustfft::num_complex::Complex32;
use rustfft::{self, FftPlanner};
use rustfft::FftPlanner;
use std::cmp;
use std::sync::Arc;

Expand Down
1 change: 0 additions & 1 deletion src/blocks/fir.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ use crate::runtime::WorkIo;
use futuredsp::fir::*;
use futuredsp::firdes;
use futuredsp::{TapsAccessor, UnaryKernel};
use num_integer;

/// FIR filter.
pub struct Fir<InputType, OutputType, TapType, Core>
Expand Down
2 changes: 1 addition & 1 deletion src/blocks/wasm/hack_rf.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
use serde::ser::SerializeTuple;
use serde::ser::Serializer;
use wasm_bindgen::{prelude::*, JsCast};
use wasm_bindgen::prelude::*;
use wasm_bindgen_futures::JsFuture;

use crate::anyhow::Result;
Expand Down
5 changes: 3 additions & 2 deletions src/runtime/block.rs
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
use futures::channel::mpsc::{Receiver, Sender};
use futures::future::join_all;
use futures::future::Either;
use futures::prelude::*;
use futures::FutureExt;
use futures::SinkExt;
use futures::StreamExt;
use std::any::Any;
use std::fmt;
use std::future::Future;
Expand Down Expand Up @@ -427,7 +428,7 @@ impl<T: Kernel + Send + 'static> TypedBlockWrapper<T> {
if let Some(f) = work_io.block_on.take() {
let p = inbox.as_mut().peek();

match future::select(f, p).await {
match futures::future::select(f, p).await {
Either::Left(_) => {
work_io.call_again = true;
}
Expand Down
2 changes: 1 addition & 1 deletion src/runtime/flowgraph.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
use futures::channel::mpsc::Sender;
use futures::channel::oneshot;
use futures::SinkExt;
use std::cmp::{Eq, PartialEq};
use std::cmp::PartialEq;
use std::fmt::Debug;
use std::hash::Hash;
use std::result;
Expand Down
1 change: 0 additions & 1 deletion src/runtime/message_io.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
//! Message/Event/RPC-based Ports
use futures::channel::mpsc::Sender;
use futures::prelude::*;
use std::future::Future;
use std::pin::Pin;
use std::sync::Arc;

Expand Down
1 change: 0 additions & 1 deletion src/runtime/runtime.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ use futures::prelude::*;
use futures::FutureExt;
use slab::Slab;
use std::fmt;
use std::future::Future;
use std::pin::Pin;
use std::result;
use std::sync::Arc;
Expand Down
1 change: 0 additions & 1 deletion src/runtime/scheduler/flow.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ use async_lock::Barrier;
use async_task::Runnable;
use async_task::Task;
use concurrent_queue::ConcurrentQueue;
use core_affinity;
use futures::channel::mpsc::{channel, Sender};
use futures::channel::oneshot;
use futures_lite::future::{self, Future, FutureExt};
Expand Down
1 change: 0 additions & 1 deletion src/runtime/topology.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ use crate::runtime::BlockMessage;
use crate::runtime::PortId;
use slab::Slab;
use std::any::{Any, TypeId};
use std::cmp::{Eq, PartialEq};
use std::fmt::Debug;
use std::hash::{Hash, Hasher};

Expand Down
1 change: 0 additions & 1 deletion tests/seify.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ use futuresdr::{
macros::connect,
num_complex::Complex,
runtime::{Flowgraph, Pmt, Runtime},
seify,
seify::Direction::*,
};
use std::collections::HashMap;
Expand Down

0 comments on commit 112cd0d

Please sign in to comment.