From 805fe7657e79e06b3220324481cd6325b94877d7 Mon Sep 17 00:00:00 2001 From: Robin Krahl Date: Wed, 15 Jan 2025 16:14:31 +0100 Subject: [PATCH] Remove clients-? features MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit As the Service no longer stores the endpoints itself and the TrussedInterchange is no longer needed, we don’t need the client count anymore in Trussed. This means we can remove the client-? features. --- CHANGELOG.md | 2 +- Cargo.toml | 15 +-------------- 2 files changed, 2 insertions(+), 15 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 07949820796..7f651814bc3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -23,7 +23,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Changed -- Set `config::MAX_SERVICE_CLIENTS` based on the clients-? feature. - Made `StorageAttributes` non-exhaustive. - Changed `KeyStore` to `KeyStore`. - Replaced the client ID with a `ClientContext` struct. @@ -75,6 +74,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - `types`: `Attributes`, `CertificateType` `DataAttributes`, `KeyAttributes`, `Letters`, `LongData`, `ObjectType` - Removed the `Syscall` implementations for `Service` and the `Syscall::try_as_new_client` and `Syscall::try_new_client` methods. - Removed `TrussedInterchange` and `TRUSSED_INTERCHANGE` from `pipe`. +- Removed the `clients-?` features. [#64]: https://github.com/trussed-dev/trussed/issues/64 [#65]: https://github.com/trussed-dev/trussed/issues/65 diff --git a/Cargo.toml b/Cargo.toml index ec4e899d52b..f179f02eae6 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -82,7 +82,7 @@ trussed-derive = { path = "derive" } # rand_core = { version = "0.5", features = ["getrandom"] } [features] -default = ["all-clients", "default-mechanisms", "clients-5"] +default = ["all-clients", "default-mechanisms"] serde-extensions = ["trussed-core/serde-extensions"] std = [] verbose-tests = ["littlefs2/ll-assertions"] @@ -150,19 +150,6 @@ filesystem-client = ["trussed-core/filesystem-client"] management-client = ["trussed-core/management-client"] ui-client = ["trussed-core/ui-client"] -clients-1 = [] -clients-2 = [] -clients-3 = [] -clients-4 = [] -clients-5 = [] -clients-6 = [] -clients-7 = [] -clients-8 = [] -clients-9 = [] -clients-10 = [] -clients-11 = [] -clients-12 = [] - test-attestation-cert-ids = [] [[test]]