Skip to content

Commit 1da3ea2

Browse files
committed
v0.5.0
1 parent acafaeb commit 1da3ea2

File tree

3 files changed

+3
-14
lines changed

3 files changed

+3
-14
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "diameter"
3-
version = "0.4.0"
3+
version = "0.5.0"
44
edition = "2021"
55
authors = ["Jason Lee<lwlee2608@gmail.com>"]
66
description = "Rust Implementation of the Diameter Protocol."

examples/server.rs

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -48,17 +48,6 @@ async fn main() {
4848
dictionary.load_xml(&xml);
4949
}
5050

51-
// Setup TLS
52-
// let mut cert_file = File::open("server.crt").unwrap();
53-
// let mut certs = vec![];
54-
// cert_file.read_to_end(&mut certs).unwrap();
55-
// let mut key_file = File::open("server.key").unwrap();
56-
// let mut key = vec![];
57-
// key_file.read_to_end(&mut key).unwrap();
58-
// let pkcs8 = native_tls::Identity::from_pkcs8(&certs, &key).unwrap();
59-
// let config = DiameterServerConfig {
60-
// native_tls: Some(pkcs8),
61-
// };
6251
let config = DiameterServerConfig { native_tls: None };
6352

6453
// Set up a Diameter server listening on a specific port

src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@
1010
//!
1111
//! * [`server`] - A simple diameter server that listens for requests and sends a response.
1212
//!
13-
//! [`server`]: https://github.com/lwlee2608/diameter-rs/blob/master/examples/server.rs
14-
//! [`client`]: https://github.com/lwlee2608/diameter-rs/blob/master/examples/client.rs
13+
//! [`server`]: https://github.com/lwlee2608/diameter-rs/blob/v0.5.0/examples/server.rs
14+
//! [`client`]: https://github.com/lwlee2608/diameter-rs/blob/v0.5.0/examples/client.rs
1515
1616
pub mod avp;
1717
pub mod diameter;

0 commit comments

Comments
 (0)