Skip to content

Commit 805fe76

Browse files
Remove clients-? features
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.
1 parent 1c8c37a commit 805fe76

2 files changed

Lines changed: 2 additions & 15 deletions

File tree

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
2323

2424
### Changed
2525

26-
- Set `config::MAX_SERVICE_CLIENTS` based on the clients-? feature.
2726
- Made `StorageAttributes` non-exhaustive.
2827
- Changed `KeyStore<P: Platform>` to `KeyStore<S: Store>`.
2928
- 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
7574
- `types`: `Attributes`, `CertificateType` `DataAttributes`, `KeyAttributes`, `Letters`, `LongData`, `ObjectType`
7675
- Removed the `Syscall` implementations for `Service` and the `Syscall::try_as_new_client` and `Syscall::try_new_client` methods.
7776
- Removed `TrussedInterchange` and `TRUSSED_INTERCHANGE` from `pipe`.
77+
- Removed the `clients-?` features.
7878

7979
[#64]: https://github.com/trussed-dev/trussed/issues/64
8080
[#65]: https://github.com/trussed-dev/trussed/issues/65

Cargo.toml

Lines changed: 1 addition & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ trussed-derive = { path = "derive" }
8282
# rand_core = { version = "0.5", features = ["getrandom"] }
8383

8484
[features]
85-
default = ["all-clients", "default-mechanisms", "clients-5"]
85+
default = ["all-clients", "default-mechanisms"]
8686
serde-extensions = ["trussed-core/serde-extensions"]
8787
std = []
8888
verbose-tests = ["littlefs2/ll-assertions"]
@@ -150,19 +150,6 @@ filesystem-client = ["trussed-core/filesystem-client"]
150150
management-client = ["trussed-core/management-client"]
151151
ui-client = ["trussed-core/ui-client"]
152152

153-
clients-1 = []
154-
clients-2 = []
155-
clients-3 = []
156-
clients-4 = []
157-
clients-5 = []
158-
clients-6 = []
159-
clients-7 = []
160-
clients-8 = []
161-
clients-9 = []
162-
clients-10 = []
163-
clients-11 = []
164-
clients-12 = []
165-
166153
test-attestation-cert-ids = []
167154

168155
[[test]]

0 commit comments

Comments
 (0)