rust-nex/rnex-core/src/lib.rs

32 lines
714 B
Rust
Raw Normal View History

2025-06-29 11:40:42 +02:00
#![allow(dead_code)]
// rnex makes extensive use of async functions in public traits
// this is however fine because these traits should never(and i mean NEVER) be used dynamically
#![allow(async_fn_in_trait)]
//#![warn(missing_docs)]
2026-03-24 15:48:56 +01:00
#[cfg(feature = "big_pid")]
pub type PID = u64;
#[cfg(not(feature = "big_pid"))]
pub type PID = u32;
2025-06-29 11:40:42 +02:00
2025-09-21 15:59:27 +02:00
extern crate self as rnex_core;
pub mod prudp;
pub mod rmc;
//mod protocols;
2026-03-24 15:48:56 +01:00
pub mod common;
pub mod executables;
pub mod grpc;
pub mod kerberos;
pub mod nex;
pub mod reggie;
2026-03-24 15:48:56 +01:00
pub mod result;
pub mod rnex_proxy_common;
pub mod util;
2026-03-24 15:48:56 +01:00
pub mod versions;
2025-09-21 15:59:27 +02:00
pub use macros::*;
2025-11-12 22:41:34 +01:00
2026-03-24 15:48:56 +01:00
pub mod config {
2025-11-12 22:41:34 +01:00
pub const FEATURE_HAS_STRUCT_HEADER: bool = cfg!(feature = "rmc_struct_header");
}