summaryrefslogtreecommitdiffstats
path: root/openpgp/src/fmt.rs
AgeCommit message (Collapse)Author
2023-09-29openpgp: Change the hex parsing to accept odd number of nibbles.Justus Winter
- This came up as the new leak tests use our hex parsing functions to parse /proc/self/maps and apparently Linux will drop leading zeros from addresses. - Fix this by allowing these functions to operate on an odd number of nibbles. I see no reason no reason not to do that, except for the fact that we don't want to establish that it is okay to drop leading zeros from key IDs and fingerprints, hence I preserved the behavior of parsing key IDs and fingerprints.
2023-03-14openpgp: Fix labeling fields ending on a 16 byte boundary.Justus Winter
- This is a more comprehensive fix than bee82c2952512a5585e93f180180ca45468d4f2b.
2023-03-13openpgp: New constructor hex::Dumper::with_offset.Justus Winter
2023-03-13openpgp: Fix dumping fields ending on a 16 byte boundary.Justus Winter
2021-04-09Lint: Use byte literals.Nora Widdecke
- https://rust-lang.github.io/rust-clippy/master/index.html#char_lit_as_u8
2020-12-11openpgp: Standardize fn main() in doctests.Azul
- Avoid the additional `fn f()`.
2020-12-11openpgp: Replace `.unwrap()` in doctests with `?`Azul
- See #480.
2020-12-08openpgp: Tweak the assert_send_and_sync macro.Justus Winter
- Declare trait bounds using a where clause. It looks a bit odd if there is no bound, but not worse than before.
2020-12-08openpgp: Use parens for assert_send_and_sync!.Azul
2020-12-08openpgp: Allow generic types in assert_send_and_sync!.Azul
- Use generics and the anonmymous lifetime in `assert_send_and_sync!`. - See 627.
2020-12-08openpgp: Ensure public types are Send and Sync.Azul
- See #627.
2020-10-18openpgp: Implement date formatting for WASM using chrono crateIgor Matuszewski
2020-10-14Use 'Examples' for the examples section.Justus Winter
- See #480.
2020-03-31openpgp: Import Result instead of using an absolute path.Neal H. Walfield
- Don't use `crate::Result` directly. Import it and then use `Result`.
2020-03-27openpgp: Add a no-dependency mechanism to format timestamps.Justus Winter
2020-03-26Remove redundant field names.Wiktor Kwapisiewicz
2020-03-24openpgp: Add convenience function hex::dump.Justus Winter
2020-03-18openpgp: Move ASCII dumping code to the library.Justus Winter
2020-01-06openpgp: Make hex::Dumper::write* polymorphic.Justus Winter
- See #229.
2019-12-03openpgp: Move byte order conversion functions.Justus Winter
2019-12-03openpgp: Rename openpgp::conversions to openpgp::fmt.Justus Winter