From 5a958111d83aa2bd3e070aaf8ff0cb29bb512904 Mon Sep 17 00:00:00 2001 From: Uwe Klotz Date: Tue, 2 Jan 2024 11:40:19 +0100 Subject: [PATCH] Exclude "rtu-server"/"tcp-server" from default features --- CHANGELOG.md | 4 ++++ Cargo.toml | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index cef17985..4c47ea64 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,10 @@ # Changelog +## v0.10.0 (Unreleased) + +- Exclude `rtu-server`/`tcp-server` from default features. + ## v0.9.0 (2023-07-26) - Optimization: Avoid allocations when writing multiple coils/registers. diff --git a/Cargo.toml b/Cargo.toml index b9fb3a62..70b137be 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -57,7 +57,7 @@ pem = "3.0.3" webpki = "0.22.4" [features] -default = ["rtu", "tcp", "rtu-server", "tcp-server"] +default = ["rtu", "tcp"] rtu = ["futures-util/sink"] tcp = ["tokio/net", "futures-util/sink"] rtu-sync = ["rtu", "sync", "dep:tokio-serial"]