Skip to content

Commit

Permalink
v0.5.0
Browse files Browse the repository at this point in the history
  • Loading branch information
lwlee2608 committed Apr 13, 2024
1 parent acafaeb commit 1da3ea2
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 14 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "diameter"
version = "0.4.0"
version = "0.5.0"
edition = "2021"
authors = ["Jason Lee<lwlee2608@gmail.com>"]
description = "Rust Implementation of the Diameter Protocol."
Expand Down
11 changes: 0 additions & 11 deletions examples/server.rs
Original file line number Diff line number Diff line change
Expand Up @@ -48,17 +48,6 @@ async fn main() {
dictionary.load_xml(&xml);
}

// Setup TLS
// let mut cert_file = File::open("server.crt").unwrap();
// let mut certs = vec![];
// cert_file.read_to_end(&mut certs).unwrap();
// let mut key_file = File::open("server.key").unwrap();
// let mut key = vec![];
// key_file.read_to_end(&mut key).unwrap();
// let pkcs8 = native_tls::Identity::from_pkcs8(&certs, &key).unwrap();
// let config = DiameterServerConfig {
// native_tls: Some(pkcs8),
// };
let config = DiameterServerConfig { native_tls: None };

// Set up a Diameter server listening on a specific port
Expand Down
4 changes: 2 additions & 2 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
//!
//! * [`server`] - A simple diameter server that listens for requests and sends a response.
//!
//! [`server`]: https://github.com/lwlee2608/diameter-rs/blob/master/examples/server.rs
//! [`client`]: https://github.com/lwlee2608/diameter-rs/blob/master/examples/client.rs
//! [`server`]: https://github.com/lwlee2608/diameter-rs/blob/v0.5.0/examples/server.rs
//! [`client`]: https://github.com/lwlee2608/diameter-rs/blob/v0.5.0/examples/client.rs
pub mod avp;
pub mod diameter;
Expand Down

0 comments on commit 1da3ea2

Please sign in to comment.