831 Commits

Author SHA1 Message Date
KodrAus
d0422fa76f prepare for 1.19.0 release 2025-12-02 12:31:35 +10:00
Paolo Barbolini
029a57e2a6 Fix most clippy warnings 2025-11-27 18:13:11 +01:00
Paolo Barbolini
e73bb2717a Upgrade to 2021 edition 2025-11-27 18:13:11 +01:00
Paolo Barbolini
9835bd6f54 Switch serde dependency to serde_core 2025-09-14 09:04:56 +02:00
KodrAus
79485925e9 prepare for 1.18.1 release 2025-09-02 15:51:56 +10:00
Ashley Mannix
675cccc829 re-gate zerocopy behind unstable feature flag 2025-09-01 07:18:26 +10:00
Joshua Liebow-Feeser
4dd5828060 Remove some unsafe; stabilize zerocopy
Remove a number of `unsafe` blocks, replacing them with uses of
zerocopy. In order to do this, we stabilize zerocopy as a (non-optional)
dependency.

Closes #588
2025-09-01 07:01:47 +10:00
KodrAus
eb8c697083 prepare for 1.18.0 release 2025-08-10 09:36:12 +10:00
KodrAus
2d67ab2b5e don't use allocated values in errors 2025-08-09 20:08:41 +10:00
Ashley Mannix
c284ed562f wrap the error type used in time conversions 2025-08-08 15:20:02 +10:00
Ashley Mannix
87a4359f25
Merge pull request #835 from dcormier/main
Conversions between `Timestamp` and `std::time::SystemTime`
2025-08-08 14:52:43 +10:00
Daniel Cormier
6dfb4b135c Conversions between Timestamp and std::time::SystemTime
Closes #834.
2025-08-06 10:22:46 -04:00
KodrAus
b508383aff fix up mismatched_lifetime_syntaxes lint 2025-08-06 13:46:52 +10:00
Ashley Mannix
ed0d385b42 prepare for 1.17.0 release 2025-05-23 10:46:09 +10:00
Zac Harrold
83dc528115 Add wasm32v1-none support 2025-05-23 09:52:54 +10:00
diopoex
3c1579d949
Replace derive(Hash) with manual impl in Uuid 2025-04-03 21:07:15 +02:00
Nahuel
1c2dc7abaa
Added convenience implementation TryFrom<String> for std 2025-03-18 13:25:34 +01:00
KodrAus
5338b246b7 prepare for 1.16.0 release 2025-03-14 13:22:47 +10:00
Tristan Guichaoua
254258c8c7 mark Uuid::new_v8 const 2025-03-08 10:43:26 +01:00
KodrAus
7fb64f78c7 prepare for 1.15.1 release 2025-02-27 06:01:29 +10:00
Ashley Mannix
c2d313fbbb guarantee v7 timestamp will never overflow 2025-02-26 17:37:49 +10:00
Ashley Mannix
26c8a9bebc prepare for 1.15.0 release 2025-02-26 14:54:07 +10:00
Ashley Mannix
e468f99f93
Merge pull request #809 from uuid-rs/feat/v7-precision
Support higher precision, shiftable timestamps in V7 UUIDs
2025-02-26 14:52:25 +10:00
Ashley Mannix
6c4597ca0f document extra precision behavior 2025-02-26 14:20:11 +10:00
Ashley Mannix
295593ae77 ensure sub-millisecond precision fits into the requested number of bits 2025-02-26 14:07:09 +10:00
Ashley Mannix
120c01cb9a apply extra precision before checking for counter overflow 2025-02-26 12:48:48 +10:00
Ashley Mannix
02c404f36c fill in additional precision 2025-02-26 10:41:18 +10:00
rickdewater
321ef2c6ad Directly call Debug and Display traits instead of using the write macro 2025-02-25 12:44:07 +01:00
KodrAus
68888376f4 more context refactoring 2025-02-25 14:10:22 +10:00
KodrAus
45683af675 work on higher precision V7 UUIDs 2025-02-25 13:55:01 +10:00
rickdewater
56eb7172a5 Add a manual debug implementation for NonNilUUid 2025-02-24 12:14:43 +01:00
Ashley Mannix
daa07949e9 prepare for 1.14.0 release 2025-02-21 09:17:56 +10:00
Ty Larrabee
5b0ca42c80 Add FromStr impls to the fmt structs 2025-02-19 19:02:23 -08:00
KodrAus
704421094a prepare for 1.13.2 release 2025-02-18 08:05:13 +10:00
KodrAus
bf28001d53 update feature docs 2025-02-15 09:27:09 +10:00
KodrAus
920e8b183f add a more descriptive compile error when no rng source is available on wasm 2025-02-15 09:20:03 +10:00
Ashley Mannix
df5867440a prepare for 1.13.1 release 2025-02-05 15:23:38 +10:00
Zac Harrold
17673a13a8 Fix wasm32 with atomics 2025-02-05 15:40:13 +11:00
Ashley Mannix
ded7a1ee75 prepare for 1.13.0 release 2025-02-05 11:18:44 +10:00
Ashley Mannix
9e7300ca4a fix some warnings on various feature enablement 2025-02-05 11:05:39 +10:00
Ashley Mannix
6c155b477a work around lack of dep:x and x/y feature support in 1.63 2025-02-05 10:41:14 +10:00
Ashley Mannix
1ed9390699 fix up feature selection 2025-02-05 09:06:10 +10:00
Ashley Mannix
d3c2bddf33 support forcing rand or getrandom on wasm32-unknown-unknown 2025-02-05 08:56:17 +10:00
KodrAus
0729e00286 vendor in rng for wasm, upgrade getrandom and rand to latest 2025-02-04 18:04:05 +10:00
Ashley Mannix
ddb87857e3 prepare for 1.12.1 release 2025-01-21 11:08:23 +10:00
KodrAus
7a96ae2c44 restore parens 2025-01-20 05:54:00 +10:00
KodrAus
cfc627b2e2 reduce bitshifts in from_u64_pair 2025-01-20 05:49:31 +10:00
Ashley Mannix
4c785e534e
Merge pull request #788 from Vrtgs/main
use inherent to_be_bytes and to_le_bytes methods
2025-01-20 05:44:04 +10:00
Collin Styles
2a28bc588e Fix links to namespaces in documentation 2025-01-18 21:04:27 -08:00
Vrtgs
5d629ce683
use inherint to_be_bytes and to_le_bytes methods, rather than reimplementing them with lots of bitshifts 2025-01-19 07:16:12 +03:00