udp_request/
lib.rs

1//! udp-request
2//!
3//! A simple UDP request library for sending and receiving UDP packets,
4//! designed to handle network communication in Rust applications.
5
6#[cfg(test)]
7mod cfg;
8pub(crate) mod common;
9pub(crate) mod request;
10pub(crate) mod response;
11
12pub use request::*;
13pub use response::*;
14
15pub(crate) use common::*;
16
17pub(crate) use std::{
18    error::Error as StdError,
19    fmt::Debug,
20    fmt::{self, Display},
21    net::UdpSocket,
22    sync::{Arc, RwLock},
23    time::Duration,
24};