1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
#![deny(clippy::pedantic)]
#![allow(clippy::missing_errors_doc)]
#![deny(warnings)]
#![allow(clippy::useless_attribute)]

//! # ptx-builder   [![CI Status]][workflow] [![MSRV]][repo] [![Rust Doc]][docs]
//!
//! [CI Status]: https://img.shields.io/github/actions/workflow/status/juntyr/rust-ptx-builder/ci.yml?branch=main
//! [workflow]: https://github.com/juntyr/rust-ptx-builder/actions/workflows/ci.yml?query=branch%3Amain
//!
//! [MSRV]: https://img.shields.io/badge/MSRV-1.80.0--nightly-orange
//! [repo]: https://github.com/juntyr/rust-ptx-builder
//!
//! [Rust Doc]: https://img.shields.io/badge/docs-main-blue
//! [docs]: https://juntyr.github.io/rust-ptx-builder/

/// Error handling.
#[macro_use]
pub mod error;

/// External executables that are needed to build CUDA crates.
pub mod executable;

/// Build helpers.
pub mod builder;

/// Build reporting helpers.
pub mod reporter;

mod source;

/// Convenient re-exports of mostly used types.
pub mod prelude {
    pub use crate::{
        builder::{BuildStatus, Builder, CrateType, MessageFormat, Profile},
        reporter::{CargoAdapter, ErrorLogPrinter},
    };
}