1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
//! # Diameter
//!
//! Rust Implementation of the Diameter Protocol.
//!
//! ## Reference
//! Based on [RFC 6733](https://tools.ietf.org/html/rfc6733)
//!
//! ## Examples
//! * [`client`] - A simple diameter client that sends a request to a server and prints the response.
//!
//! * [`server`] - A simple diameter server that listens for requests and sends a response.
//!
//! [`server`]: https://github.com/lwlee2608/diameter-rs/blob/v0.7.0/examples/server.rs
//! [`client`]: https://github.com/lwlee2608/diameter-rs/blob/v0.7.0/examples/client.rs

pub mod avp;
pub mod diameter;
pub mod dictionary;
pub mod error;
pub mod transport;

pub use crate::diameter::flags;
pub use crate::diameter::{ApplicationId, CommandCode, DiameterHeader, DiameterMessage};
pub use crate::error::{Error, Result};