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

Reorganise source code #210

Merged
merged 7 commits into from
Oct 31, 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
2 changes: 2 additions & 0 deletions src/backend/cynthion.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
//! USB capture backend for Cynthion.

use std::cmp::Ordering;
use std::collections::VecDeque;
use std::time::Duration;
Expand Down
2 changes: 2 additions & 0 deletions src/backend/ice40usbtrace.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
//! USB capture backend for iCE40-usbtrace.

use std::collections::VecDeque;
use std::sync::mpsc;
use std::time::Duration;
Expand Down
2 changes: 2 additions & 0 deletions src/backend/mod.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
//! The backend API for USB capture devices.

use std::collections::BTreeMap;
use std::sync::mpsc;
use std::thread::{JoinHandle, spawn, sleep};
Expand Down
2 changes: 2 additions & 0 deletions src/backend/transfer_queue.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
//! Helper type for managing a queue of USB bulk transfers.

use std::sync::mpsc;

use anyhow::{Context, Error};
Expand Down
2 changes: 2 additions & 0 deletions src/build.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
//! Code to be executed at build time.

fn main() {
built::write_built_file().expect("Failed to acquire build-time information");
}
Loading
Loading