[package]
name = "connect"
-version = "0.2.3"
+version = "0.2.4"
edition = "2018"
authors = ["Sachandhan Ganesh <sachan.ganesh@gmail.com>"]
description = "message queue abstraction over async network streams"
- TCP
- [TCP Echo Server](https://github.com/sachanganesh/connect-rs/tree/main/examples/tcp-echo-server)
- [TCP Client](https://github.com/sachanganesh/connect-rs/tree/main/examples/tcp-client)
-- TLS
+- TLS (enable `tls` feature flag)
- [TLS Echo Server](https://github.com/sachanganesh/connect-rs/tree/main/examples/tls-echo-server)
- [TLS Client](https://github.com/sachanganesh/connect-rs/tree/main/examples/tls-client)
- Use the recipient tag to signify which serialization format was used for that message
- Use the recipient tag to signify the type of message being sent
-## Contributing
+## Feature Flags
-This crate gladly accepts contributions. Don't hesitate to open issues or PRs.
+- `tls`: enables usage of tls transport functionality
## Feature Status
| SCTP Server | |
| DTLS-SCTP Client | |
| DTLS-SCTP Server | |
+
+## Contributing
+
+This crate gladly accepts contributions. Don't hesitate to open issues or PRs.
//! - TCP
//! - [TCP Echo Server](https://github.com/sachanganesh/connect-rs/tree/main/examples/tcp-echo-server)
//! - [TCP Client](https://github.com/sachanganesh/connect-rs/tree/main/examples/tcp-client)
-//! - TLS
+//! - TLS (enable `tls` feature flag)
//! - [TLS Echo Server](https://github.com/sachanganesh/connect-rs/tree/main/examples/tls-echo-server)
//! - [TLS Client](https://github.com/sachanganesh/connect-rs/tree/main/examples/tls-client)
//!
//! - Use the recipient tag to signify which serialization format was used for that message
//! - Use the recipient tag to signify the type of message being sent
//!
+//! # Feature Flags
+//!
+//! - `tls`: enables usage of tls transport functionality
+//!
// #![feature(doc_cfg)]
mod writer;
#[cfg(feature = "tls")]
-#[doc(cfg(feature = "tls"))]
+// #[doc(cfg(feature = "tls"))]
pub mod tls;
use async_std::{net::SocketAddr, pin::Pin};
pub use listener::*;
#[cfg(feature = "tls")]
-#[doc(cfg(feature = "tls"))]
+// #[doc(cfg(feature = "tls"))]
pub use async_tls;
#[cfg(feature = "tls")]
-#[doc(cfg(feature = "tls"))]
+// #[doc(cfg(feature = "tls"))]
pub use rustls;
/// Used to differentiate between an outgoing connection ([Client](`TlsConnectionMetadata::Client`))