#![forbid(unsafe_code)]
#![cfg_attr(
not(all(feature = "as2", feature = "as4", feature = "http-client")),
allow(dead_code, unused_imports)
)]
mod audit;
mod clock;
#[allow(unreachable_pub)]
pub(crate) mod core;
#[allow(unreachable_pub)]
pub(crate) mod crypto;
#[cfg_attr(not(feature = "as4"), allow(dead_code))]
pub(crate) mod time_utils;
#[cfg(any(feature = "as2", feature = "as4"))]
pub(crate) mod runtime;
#[cfg(feature = "as4")]
#[allow(unreachable_pub)]
pub(crate) mod sbdh;
#[cfg(any(feature = "as2", feature = "as4"))]
pub(crate) mod send_pipeline;
mod telemetry;
#[cfg(test)]
pub(crate) mod test_support;
#[cfg(all(
doctest,
feature = "as2",
feature = "as4",
feature = "http-client",
feature = "peppol",
feature = "metrics"
))]
mod docs;
#[allow(unreachable_pub)]
pub(crate) mod transport;
#[cfg(any(feature = "as2", feature = "as4"))]
#[allow(unreachable_pub)]
pub(crate) mod wire;
#[cfg(feature = "as4")]
pub(crate) mod xml;
#[cfg(feature = "as2")]
pub mod as2;
#[cfg(feature = "as4")]
pub mod as4;
#[cfg(feature = "peppol")]
#[allow(unreachable_pub)]
pub(crate) mod smp;
#[cfg(feature = "peppol")]
pub mod peppol;
#[cfg(any(feature = "as2", feature = "as4"))]
mod builder;
mod dedup;
mod error;
#[cfg(any(feature = "as2", feature = "as4"))]
mod http_client;
#[cfg(any(feature = "as2", feature = "as4"))]
mod inbound;
#[cfg(any(feature = "as2", feature = "as4"))]
mod keys;
#[cfg(any(feature = "as2", feature = "as4"))]
mod party;
#[cfg(any(feature = "as2", feature = "as4"))]
mod profile;
#[cfg(any(feature = "as2", feature = "as4"))]
pub(crate) mod revocation;
#[cfg(any(feature = "as2", feature = "as4"))]
mod verified;
pub use audit::{AuditDurability, AuditRecord, AuditSink};
#[cfg(any(feature = "as2", feature = "as4"))]
pub use builder::Builder;
#[doc(hidden)]
pub use dedup::__dedup_key;
pub use dedup::{Claim, ClaimToken, DedupStore, MemoryDedup};
#[doc(hidden)]
pub use error::__mapping;
pub use error::{BoxFuture, Error, ErrorKind, Result};
#[cfg(any(feature = "as2", feature = "as4"))]
pub use http_client::HttpClient;
#[cfg(any(feature = "as2", feature = "as4"))]
pub use inbound::{Handler, Inbound, Reject};
#[cfg(any(feature = "as2", feature = "as4"))]
pub use keys::{Certificate, Decrypter, KeyOp, KeyPair, SignatureAlgorithm, Signer};
#[cfg(any(feature = "as2", feature = "as4"))]
pub use party::{LocalParty, Partner};
#[cfg(any(feature = "as2", feature = "as4"))]
#[doc(hidden)]
pub use profile::probe as __profile_probe;
#[cfg(any(feature = "as2", feature = "as4"))]
pub use profile::{Profile, Quirk};
#[cfg(any(feature = "as2", feature = "as4"))]
pub use verified::{Payload, Receipt, Verified};
#[doc(hidden)]
pub mod __fuzz {
pub use crate::core::{
AsxError, ErrorCode, ErrorContext, Result, SessionContext, SessionContextBuilder,
};
#[cfg(any(feature = "as2", feature = "as4"))]
pub use crate::crypto::CertFingerprint;
#[cfg(feature = "as4")]
pub use crate::crypto::{soap_builder, wssec};
#[cfg(any(feature = "as2", feature = "as4"))]
pub use crate::revocation::vectors as revocation;
#[cfg(feature = "peppol")]
pub mod smp {
pub use crate::smp::*;
}
#[cfg(feature = "as2")]
pub use crate::as2::mdn::{generate_mdn, generate_signed_mdn};
#[cfg(feature = "as2")]
pub use crate::as2::send_path::raw_message as as2_raw_message;
#[cfg(feature = "as2")]
pub use crate::as2::types::As2MdnSigningCredentials;
#[cfg(feature = "as4")]
pub use crate::as4::signals::{
generate_error_signal, generate_receipt, generate_receipt_with_nri,
generate_signed_receipt_with_nri,
};
#[cfg(feature = "as4")]
pub use crate::as4::types::{
As4ErrorCode, As4ErrorSeverity, As4NriReference, As4ReceiptCredentials,
};
#[cfg(feature = "as2")]
pub use crate::crypto::as2_smime::sign_smime_message;
#[cfg(feature = "as2")]
pub use crate::crypto::compression::{AS2_COMPRESSED_CONTENT_TYPE, compress_cms_zlib};
#[cfg(feature = "as4")]
pub mod sbdh {
pub use crate::sbdh::*;
}
}