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

Export Cancel from the root of the crate #135

Merged
merged 1 commit into from
Jun 16, 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/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,8 @@ pub mod poll;
pub mod process;

use bitmap::AtomicBitMap;
#[doc(no_inline)]
pub use cancel::Cancel;
use config::munmap;
pub use config::Config;
#[doc(no_inline)]
Expand Down
3 changes: 1 addition & 2 deletions tests/util/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,9 @@ use std::task::{self, Poll};
use std::thread::{self, Thread};
use std::{fmt, mem, panic, process, ptr, str};

use a10::cancel::Cancel;
use a10::fd::Descriptor;
use a10::net::socket;
use a10::{AsyncFd, Ring, SubmissionQueue};
use a10::{AsyncFd, Cancel, Ring, SubmissionQueue};

/// Initialise logging.
///
Expand Down