feat(nix-compat/narinfo/pubkey): derive Clone, [Partial]Eq
We want to use this in another struct that we want to compare and clone. Change-Id: I5c11d589a4922d85e190e1a9199468411016ff1e Reviewed-on: https://cl.tvl.fyi/c/depot/+/11887 Autosubmit: flokli <flokli@flokli.de> Reviewed-by: Brian Olsen <me@griff.name> Tested-by: BuildkiteCI
This commit is contained in:
parent
ade0781416
commit
327d115f3f
1 changed files with 1 additions and 1 deletions
|
@ -11,7 +11,7 @@ use super::Signature;
|
|||
/// This represents a ed25519 public key and "name".
|
||||
/// These are normally passed in the `trusted-public-keys` Nix config option,
|
||||
/// and consist of a name and base64-encoded ed25519 pubkey, separated by a `:`.
|
||||
#[derive(Debug)]
|
||||
#[derive(Clone, Debug, PartialEq, Eq)]
|
||||
pub struct PubKey {
|
||||
name: String,
|
||||
verifying_key: VerifyingKey,
|
||||
|
|
Loading…
Reference in a new issue