ironshield_types/lib.rs
1//! Shared types and utilities for the IronShield PoW system
2//!
3//! This crate contains the common data structures and serialization utilities
4//! used across ironshield-core, ironshield-cloudflare, and ironshield-wasm.
5
6mod serde_utils;
7mod challenge;
8mod response;
9mod token;
10mod crypto;
11mod request;
12
13#[cfg(any(feature = "wasm", rust_analyzer))]
14pub mod js_bindings;
15
16pub use serde_utils::*;
17pub use challenge::*;
18pub use response::*;
19pub use request::*;
20pub use token::*;
21pub use crypto::*;
22
23#[cfg(any(feature = "wasm", rust_analyzer))]
24pub use js_bindings::*;
25
26// Re-export of the library chrono for convenience.
27pub use chrono;
28
29// Re-export of the ed25519_dalek library for convenience.
30pub use ed25519_dalek::SigningKey;