Skip to content

Commit

Permalink
Remove clients-? features
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
robin-nitrokey committed Jan 23, 2025
1 parent 1c8c37a commit 805fe76
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 15 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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<P: Platform>` to `KeyStore<S: Store>`.
- Replaced the client ID with a `ClientContext` struct.
Expand Down Expand Up @@ -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
Expand Down
15 changes: 1 addition & 14 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
Expand Down Expand Up @@ -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]]
Expand Down

0 comments on commit 805fe76

Please sign in to comment.