qscan/lib.rs
1//
2// qscan
3// Copyright (C) 2022 0xor0ne
4// This program is free software: you can redistribute it and/or modify it under
5// the terms of the GNU General Public License as published by the Free Software
6// Foundation, either version 3 of the License, or (at your option) any later
7// version.
8//
9// This program is distributed in the hope that it will be useful, but WITHOUT ANY
10// WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
11// PARTICULAR PURPOSE. See the GNU General Public License for more details.
12//
13// You should have received a copy of the GNU General Public License along with
14// this program. If not, see <https://www.gnu.org/licenses/>.
15//
16
17//! # QSCAN
18//!
19//! Asynchronous network ports scanning library
20//!
21//! To enable `qscan::QScanTcpConnectResult` serialization:
22//!
23//! ```text
24//! [dependencies]
25//! qscan = { path = "../qscan", version = "0.5.0" , features = ["serialize"] }
26//! ```
27
28pub use crate::qscanner::QSPrintMode;
29pub use crate::qscanner::QScanPingResult;
30pub use crate::qscanner::QScanPingState;
31pub use crate::qscanner::QScanResult;
32pub use crate::qscanner::QScanTcpConnectResult;
33pub use crate::qscanner::QScanTcpConnectState;
34pub use crate::qscanner::QScanType;
35pub use crate::qscanner::QScanner;
36
37/// Module for asynchronous network ports scanning
38pub mod qscanner;