Skip to content

Conversation

@colstrom
Copy link
Contributor

@colstrom colstrom commented Jul 5, 2023

This change derives the following traits for the wrapper types, given that the underlying types also do the same.

Duration

  • Default
  • PartialOrd
  • Ord

Timestamp

  • Copy
  • Hash
  • PartialOrd
  • Ord

Minor version incremented in Cargo.toml:

If I understand Traits correctly, this should be backwards-compatible, since no dependent crate would be able to provide a conflicting implementation where both the trait and the type are foreign. If this understanding is incorrect, then this should be a major version bump, not a minor one (assuming Semantic Versioning, which seemed like a reasonable guess, since I didn't see an explicit indication of versioning policy).

colstrom added 2 commits July 5, 2023 16:19
This change derives the following traits for the wrapper types, given that the underlying types also do the same.

`Duration`
- `Default`
- `PartialOrd`
- `Ord`

`Timestamp`
-  `Copy`
-  `Hash`
- `PartialOrd`
- `Ord`
@djc djc added this pull request to the merge queue Mar 12, 2025
Merged via the queue into chronotope:main with commit f765ab1 Mar 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants