summaryrefslogtreecommitdiffstats
path: root/openpgp/src/types/server_preferences.rs
AgeCommit message (Collapse)Author
2020-12-08openpgp: Use parens for assert_send_and_sync!.Azul
2020-12-08openpgp: Ensure public types are Send and Sync.Azul
- See #627.
2020-09-29openpgp: Implement PartialOrd, Ord for signature-related types.Justus Winter
- In order to deduplicate signatures, we need to be able to sort them. This change implements PartialOrd and Ord for all relevant types. Like PartialEq and Eq it is based on the serialized form, and can be derived for most of the types.
2020-09-22openpgp: Remove `quickcheck` feature.Wiktor Kwapisiewicz
- Adjust code to test for `cfg(test)` only, - Remove `quickcheck` and `rand` from dependencies so that they stay only in dev-dependencies, - Remove mention of `x-quickcheck` feature from the documentation, - Fixes #545.
2020-08-06openpgp: Fix formatting of vector and array literals in examples.Justus Winter
- Align our examples with how the code in the examples of the Rust standard library is formatted. We are writing examples in the hope that downstream users will copy fragments of them, therefore using idiomatic formatting in these snippets is important.
2020-08-05openpgp: Don't implement Default for the Bitflags types.Justus Winter
- See #525.
2020-07-28openpgp: Reimplement the KeyServerPreferences struct using Bitfield.Justus Winter
- Also improve the documentation of the KSP::no_modify and the corresponding setters. - See #525.
2020-07-01openpgp: Typo.Nora Widdecke
2020-06-08openpgp: Introduce feature flag for quickcheck.Nora Widdecke
- Make quickcheck dependency optional. - Make quickcheck a dev-dependency for tests. - Fix doctests for - cert::ValidCert::user_attributes, - cert::builder::CertBuilder::add_user_attribute, - cert::revoke::UserAttributeRevocationBuilder - cert::revoke::UserAttributeRevocationBuilder::build. Doctests do not use cfg(test), so we cannot use quickcheck in there.
2020-06-01openpgp: Add doctests to types module.Wiktor Kwapisiewicz
- Fixes #475.
2020-03-31openpgp: Implement Arbitrary for the bit field types.Justus Winter
2020-03-31openpgp: Fix KeyServerPreferences::{PartialEq, Hash}.Justus Winter
- Also compare and hash unknown bits.
2020-03-31openpgp: Clarify PartialEq for bit field types.Justus Winter
2020-03-31openpgp: Fix KeyServerPreferences::no_modify.Justus Winter
2020-02-20openpgp: Improve debug formatting of the bitfield types.Justus Winter
- Do not erroneously report padding for KeyFlags. - Print unknown flags and padding for KeyServerPreferences. - Provide nicer output for Features.
2020-01-02openpgp: Correctly handle padding on KeyServerPreferences, add test.Justus Winter
2020-01-02openpgp: Align function name.Justus Winter
2019-12-17openpgp: Make Features and KeyServerPreferences impl Eq, Hash.Justus Winter
2019-11-25openpgp: Rename openpgp::constants to openpgp::types.Justus Winter
- Fixes #381.