diameter/
lib.rs

1//! # Diameter
2//!
3//! Rust Implementation of the Diameter Protocol.
4//!
5//! ## Reference
6//! Based on [RFC 6733](https://tools.ietf.org/html/rfc6733)
7//!
8//! ## Examples
9//! * [`client`] - A simple diameter client that sends a request to a server and prints the response.
10//!
11//! * [`server`] - A simple diameter server that listens for requests and sends a response.
12//!
13//! [`server`]: https://github.com/lwlee2608/diameter-rs/blob/v0.7.1/examples/server.rs
14//! [`client`]: https://github.com/lwlee2608/diameter-rs/blob/v0.7.1/examples/client.rs
15
16pub mod avp;
17pub mod diameter;
18pub mod dictionary;
19pub mod error;
20pub mod transport;
21
22pub use crate::diameter::flags;
23pub use crate::diameter::{ApplicationId, CommandCode, DiameterHeader, DiameterMessage};
24pub use crate::error::{Error, Result};