Skip to content

Commit

Permalink
Remove unused types::consent::Urgency
Browse files Browse the repository at this point in the history
  • Loading branch information
robin-nitrokey committed Mar 7, 2025
1 parent 8d0b1b9 commit 52859e4
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 11 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

- Removed unused items:
- `config`: `MAX_APPLICATION_NAME_LENGTH`, `MAX_LABEL_LENGTH`, `MAX_LONG_DATA_LENGTH`, `MAX_OBJECT_HANDLES`, `MAX_PATH_LENGTH`
- `types`: `Attributes`, `CertificateType` `DataAttributes`, `KeyAttributes`, `Letters`, `LongData`, `ObjectType`
- `types`: `Attributes`, `CertificateType` `DataAttributes`, `KeyAttributes`, `Letters`, `LongData`, `ObjectType`, `consent::Urgency`
- 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.
Expand Down
10 changes: 0 additions & 10 deletions src/types.rs
Original file line number Diff line number Diff line change
Expand Up @@ -40,16 +40,6 @@ pub mod ui {

pub mod consent {
pub use trussed_core::types::consent::{Error, Level, Result};

use serde::{Deserialize, Serialize};

#[derive(Copy, Clone, Eq, PartialEq, Debug, Serialize, Deserialize)]
pub enum Urgency {
/// Pending other user consent requests will fail as interrupted.
InterruptOthers,
/// If other user consent requests are pending, fail this request.
FailIfOthers,
}
}

pub const IMPLEMENTED_MECHANISMS: &[Mechanism] = &[
Expand Down

0 comments on commit 52859e4

Please sign in to comment.