Commit Graph

  • d06e0cd679 Only parse explicit bounds for Zeroable. Zachary S 2023-06-12 04:40:15 -0500
  • feabe19b1e Cleanup custom bounds code. Zachary S 2023-06-12 03:47:50 -0500
  • 220b334d00 Add custom bounds for Zeroable. Zachary S 2023-06-12 01:39:59 -0500
  • 7746fdc0ac Add space because rust-analyzer thinks it's a weird literal otherwise. Zachary S 2023-06-12 01:39:48 -0500
  • 588d89082d
    Relax Pod for PhantomData (#195) zachs18 2023-06-15 17:43:27 -0500
  • 05b52cde8b Relax Pod for PhantomData zachs18 2023-06-12 04:13:46 -0500
  • c286994891
    must_cast: fix test failures and fmt. (#194) zachs18 2023-06-15 10:54:23 -0500
  • 83c1c40e6e Add description for workaround. Zachary S 2023-06-12 19:08:33 -0500
  • 5b3edfb434 Under miri, use should_panic instead of compile_fail for must_cast doctests. Zachary S 2023-06-12 02:38:38 -0500
  • 4809de5b12 Fix must.rs test failures. Zachary S 2023-06-12 02:37:04 -0500
  • 8ff47eef28 cargo fmt src/must.rs Zachary S 2023-06-12 02:33:30 -0500
  • 8f130f2b79
    must_cast (#187) MaulingMonkey 2023-06-06 14:50:39 -0700
  • e528c1662f
    Add missing ?Sized for TransparentWrapperAlloc extension trait (#185) Daniel Henry-Mantilla 2023-06-06 23:48:41 +0200
  • c58baab2b3
    Support T: !Copy in fill_zero/write_zero Thom Chiovoloni 2023-06-05 16:47:20 -0700
  • 600130755e
    Add functions for writing zeroed bytes to &mut impl Zeroable and &mut [impl Zeroable] Thom Chiovoloni 2023-06-05 16:16:25 -0700
  • f0fea011fc
    Merge cffb96d922 into df5262b19c Jason Newcomb 2023-06-02 02:46:10 +0200
  • df5262b19c
    Add #[doc(hidden)] on derive generated items. (#189) Charles Lew 2023-05-31 22:46:00 +0800
  • 90465765d8 Add #[doc(hidden)] on derive generated items. Charles Lew 2023-05-14 21:51:19 +0800
  • 5c51fa06bb must_cast MaulingMonkey 2023-05-06 00:31:16 -0700
  • 91f6762d96
    chore: Release bytemuck version 1.13.2 Daniel Henry-Mantilla 2023-04-28 15:39:48 +0200
  • e8749f793f
    Add missing ?Sized for TransparentWrapperAlloc extension trait Daniel Henry-Mantilla 2023-04-28 15:36:42 +0200
  • cffb96d922 Add conversion traits for unified type casts: * Reinterpret * TryReinterpret * ReinterpretInner * TryReinterpretInner Jason Newcomb 2023-03-25 18:06:35 -0400
  • 8391afa876
    Make AnyBitPattern derive work for generic structs (#101) C. K. Young 2023-03-23 20:22:56 -0400
  • ebdfeffe91
    Merge remote-tracking branch 'upstream/main' into allow-generic-structs-to-use-any-bit-pattern-derive C. K. Young 2023-03-23 19:36:36 -0400
  • b41f4cc1af chore: Release bytemuck_derive version 1.4.1 bytemuck_derive-v1.4.1 Lokathor 2023-03-23 15:40:54 -0600
  • 12c9871a71 changelog Lokathor 2023-03-23 15:21:33 -0600
  • b97dee7f90
    Switch to syn 2.0 (#183) Christopher Serr 2023-03-21 20:52:18 +0100
  • 60091b1043 Switch to syn 2.0 Christopher Serr 2023-03-21 20:43:09 +0100
  • b19f8abfe3 chore: Release bytemuck version 1.13.1 v1.13.1 Lokathor 2023-02-28 13:40:46 -0700
  • 01011f76a8 update changelog. Lokathor 2023-02-28 13:40:17 -0700
  • 1b1b9a0e89
    Fix 177 (#178) Lokathor 2023-02-28 13:29:34 -0700
  • 7cb58dee08 clippy lints on tests. Lokathor 2023-02-28 13:10:49 -0700
  • 9fe88a9dba spelling Lokathor 2023-02-28 13:10:33 -0700
  • 816114daed clippy get off my case Lokathor 2023-02-28 13:08:48 -0700
  • 9824179abc reduce required bounds. Lokathor 2023-02-28 13:08:08 -0700
  • 7a028a5715 Use align_offset to check alignment sarah 2023-02-26 16:46:06 +0100
  • 1039388f0b
    Fix soundness issue of TransparentWrapper derive macro. (#173) zachs18 2023-02-17 13:24:16 -0600
  • 9485822435 Fix soundness issue of TransparentWrapper derive macro. Zachary S 2023-02-15 13:39:36 -0600
  • 88eadb9ff5
    Merge e954e03307 into d1655f541b zachs18 2023-02-01 10:15:01 -0500
  • d1655f541b
    Fix a few typos (#169) Dirk Stolle 2023-01-30 00:41:40 +0100
  • bf22c0c5e3 Fix a few typos Dirk Stolle 2023-01-29 15:51:08 +0100
  • 2d1f876216
    various small fixes to the derive macros (#168) Tom Dohrmann 2023-01-26 05:49:46 +0100
  • e534aff044
    emit generics on implied traits Tom Dohrmann 2023-01-25 12:52:50 +0100
  • 2b1cc91590
    read bits instead of creating reference Tom Dohrmann 2023-01-25 12:51:47 +0100
  • 28483963b3
    emit packed repr without type suffix Tom Dohrmann 2023-01-25 12:48:12 +0100
  • 9687d6ae07
    parse repr(usize) and repr(isize) Tom Dohrmann 2023-01-25 12:46:11 +0100
  • 49c23727fa (cargo-release) version 1.13.0 v1.13.0 Lokathor 2023-01-19 23:05:43 -0700
  • 0e65f1e64d bump bytemuck_derive min version. Lokathor 2023-01-19 22:58:28 -0700
  • 2bcc0ef6de chore: Release bytemuck_derive version 1.4.0 bytemuck_derive-v1.4.0 Lokathor 2023-01-19 17:45:46 -0700
  • 28d3aa7ba9 changelog Lokathor 2023-01-19 17:44:21 -0700
  • cb5caf7bf8 (cargo-release) version 1.12.4 v1.12.4 Lokathor 2023-01-19 13:48:06 -0700
  • a8d44503f5 changelog Lokathor 2023-01-19 13:41:17 -0700
  • fa5e5dd1d2
    Simplify try_zeroed_box and try_zeroed_slice_box (#162) Alphyr 2023-01-19 21:33:27 +0100
  • 2548e460cb
    Add more Zeroable and ZeroableInOption impls (#158) Alphyr 2023-01-19 18:03:41 +0100
  • f276289a9a
    Update actions in CI to avoid deprecation (#163) Alphyr 2023-01-19 18:01:19 +0100
  • 0fe1070c4a Update actions in CI to avoid deprecation Benoît du Garreau 2023-01-19 15:05:31 +0100
  • 66c27c73e0 Add more Zeroable and ZeroableInOption impls Benoît du Garreau 2022-12-22 10:20:46 +0100
  • b143a4b03e Simplify try_zeroed_box and try_zeroed_slice_box Benoît du Garreau 2023-01-19 14:03:30 +0100
  • 117222d3e4
    Implement AnyBitPattern for MaybeUninit<T> where T: AnyBitPattern. (#160) zachs18 2023-01-11 01:24:05 -0600
  • 14ed87c52a Implement AnyBitPattern for MaybeUninit<T> where T: AnyBitPattern. Zachary S 2022-12-03 12:36:00 -0600
  • dbb776d443
    Allow byte literals as enum discriminants in CheckedBitPattern derive macro. (#155) zachs18 2022-12-29 18:23:14 -0600
  • a758c0956e
    impl Zeroable for Atomic* (#157) Christofer Nolander 2022-12-21 21:54:31 +0100
  • 601a8c56ad added feature flag for zeroable_atomics Christofer Nolander 2022-12-20 00:38:09 +0100
  • 13eded970a impl Zeroable for Atomic* Christofer Nolander 2022-12-19 23:12:23 +0100
  • 4eea45e218
    Refactor simd impls. (#156) zachs18 2022-12-18 14:44:25 -0600
  • bf12766ef1 Refactor simd impls. Zachary S 2022-12-18 05:28:02 -0600
  • 6dedb43188 Allow byte literals as enum discriminants in CheckedBitPattern derive macro. Zachary S 2022-12-18 05:00:51 -0600
  • 2c8ce95548
    Experimental support for stdsimd types (#154) Scallop Ye 2022-12-18 07:13:52 +0800
  • 9d60d32558 Experimental support for stdsimd types yescallop 2022-12-17 13:40:40 +0800
  • 9cdc314efa Implement AnyBitPattern for MaybeUninit<T>. Zachary S 2022-12-03 12:36:00 -0600
  • 4c37652113
    Implement CheckedBitPattern for core::num::NonZero*. (#151) zachs18 2022-11-30 13:09:17 -0600
  • a1453aa40f Add layout checks for CheckedBitPattern for NonZero*. Zachary S 2022-11-30 12:55:56 -0600
  • c0055845e1 MSRV fix. Zachary S 2022-11-29 02:37:26 -0600
  • e6c7794091 Fix stacked borrows violation. Zachary S 2022-11-28 23:20:16 -0600
  • 5f42245a60 Add tests for CheckedBitPattern. Zachary S 2022-11-29 01:47:32 -0600
  • 21acca668a Implement CheckedBitPattern for core::num::NonZero*. Zachary S 2022-11-28 15:05:35 -0600
  • 911f43db98
    Make checked::pod_read_unaligned require T: CheckedBitPattern (#150) zachs18 2022-11-28 16:12:32 -0600
  • 6a094625a7
    Make checked::pod_read_unaligned require T: CheckedBitPattern zachs18 2022-11-28 15:29:11 -0600
  • f14410f329
    Implement Zeroable on {Cell,Reverse}<impl Zeroable> (#149) yvt 2022-11-21 13:28:55 +0900
  • d416d7aeee Implement Zeroable on Reverse<impl Zeroable> yvt 2022-11-21 12:52:02 +0900
  • 0968c1a01c Implement Zeroable on Cell<impl Zeroable> yvt 2022-11-21 12:50:43 +0900
  • 0da8f3a28f
    Implement Zeroable on UnsafeCell<impl Zeroable> (#148) yvt 2022-11-21 08:40:41 +0900
  • c9e1ae1373
    Remove where clause from derived TransparentWrapper impls. (#146) zachs18 2022-11-20 17:40:20 -0600
  • 1f6218d92e Implement Zeroable on UnsafeCell<impl Zeroable> yvt 2022-11-19 17:38:50 +0900
  • 7311e9b4b8
    Implement ByteEq and ByteHash derives (#144) Christopher Serr 2022-11-17 21:13:24 +0100
  • aacc386c0a Add test for TransparentWrapper trait bound regression. Zachary S 2022-11-15 22:48:39 -0600
  • e954e03307 Fix tests. Zachary S 2022-11-15 20:20:26 -0600
  • 45f8752984 Update TransparentWrapper derive macro documentation. Zachary S 2022-11-15 19:58:48 -0600
  • fefea9a863 Extend #[derive(TransparentWrapper)] to allow types other than single idents in #[transparent(Type)]. Zachary S 2022-11-15 19:45:55 -0600
  • bc240befbd Remove where clause from derived TransparentWrapper impls. Zachary S 2022-11-15 17:54:17 -0600
  • f7427cdeba Address review comments Christopher Serr 2022-11-10 08:32:39 +0100
  • 289c54dd1e Implement ByteEq and ByteHash derives Christopher Serr 2022-11-09 17:49:26 +0100
  • 6b1b7cecd3
    Update README.md Lokathor 2022-11-07 09:17:28 -0700
  • 06a62314a3 (cargo-release) version 1.12.3 v1.12.3 Lokathor 2022-11-05 15:53:28 -0600
  • 46e816c710 changelog. Lokathor 2022-11-05 15:53:11 -0600
  • 5c9d81ca1a (cargo-release) version 1.3.0 bytemuck_derive-v1.3.0 Lokathor 2022-11-05 15:49:51 -0600
  • 86226cefc4 changelog. Lokathor 2022-11-05 15:48:37 -0600
  • 02021fba24
    Conditionally compile in Arc (#140) Christopher Serr 2022-11-05 14:00:40 +0100
  • ddf66cc1a1 Move the array impl for Pod to superset types GabrielDertoni 2022-11-04 16:00:24 -0300
  • 99ed627c42 Conditionally compile in Arc Christopher Serr 2022-11-04 20:12:36 +0100