File tree Expand file tree Collapse file tree 3 files changed +3
-14
lines changed
Expand file tree Collapse file tree 3 files changed +3
-14
lines changed Original file line number Diff line number Diff line change 11[package ]
22name = " diameter"
3- version = " 0.4 .0"
3+ version = " 0.5 .0"
44edition = " 2021"
55authors = [" Jason Lee<lwlee2608@gmail.com>" ]
66description = " Rust Implementation of the Diameter Protocol."
Original file line number Diff line number Diff 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
Original file line number Diff line number Diff line change 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
1616pub mod avp;
1717pub mod diameter;
You can’t perform that action at this time.
0 commit comments