Commit Graph

  • 79a15d0a3f
    Remove incorrect spanned quote usage (#279) main Gnome! 2024-10-19 16:14:32 +0100
  • f2440a0037 Remove incorrect spanned quote usage GnomedDev 2024-10-19 12:11:56 +0100
  • 7b98ff1cec chore: Release bytemuck version 1.19.0 v1.19.0 Lokathor 2024-10-12 22:09:07 -0600
  • 422acc0b16 changelog. Lokathor 2024-10-12 22:07:56 -0600
  • da9b1874d8
    add track_caller feature (#276) Christofer Nolander 2024-10-13 06:06:43 +0200
  • 9cf6518621 add track_caller feature Christofer Nolander 2024-10-11 10:56:10 +0200
  • 1c09edf7b0
    fix #274 (#275) Timothy Hoffman 2024-10-09 23:18:57 -0500
  • b80ec6c909 fix #274 Timothy Hoffman 2024-10-09 21:36:29 -0500
  • 48952a0246 chore: Release bytemuck_derive version 1.8.0 bytemuck_derive-v1.8.0 Lokathor 2024-10-06 16:48:29 -0600
  • 2cd97193ab changelog Lokathor 2024-10-06 16:48:10 -0600
  • a637e1d983
    derive(Zeroable) on fieldful enums and repr(C) enums (#257) zachs18 2024-09-24 18:30:38 +0000
  • 1b020248df
    Update derive/src/traits.rs zachs18 2024-09-16 14:48:20 -0500
  • 4dc453a3eb
    Add doc-comment for get_fields zachs18 2024-09-16 14:46:11 -0500
  • b5ac207f5b Use i128 to track disciminants instead of i64. Zachary S 2024-09-16 14:40:49 -0500
  • be6ece8a56 Factor out get_zero_variant helper function. Zachary S 2024-09-16 14:18:48 -0500
  • d107b2a0ac remove unused Zachary S 2024-07-28 01:27:08 -0500
  • 92f77c8fb9 doc update Zachary S 2024-07-28 01:18:50 -0500
  • c8e6fca45a doc update Zachary S 2024-07-28 01:10:40 -0500
  • ff316f6d45 Allow using derive(Zeroable) with explicit bounds. Update documentation and doctests. Zachary S 2024-07-28 00:58:07 -0500
  • d2c1197c3d Add support for deriving Zeroable for fieldful enums if: Zachary S 2024-07-28 00:37:44 -0500
  • bb368799c3
    Improve documentation of features. (#272) Thom Chiovoloni 2024-09-05 18:57:56 -0700
  • 21d92aaee5
    Document undocumented features Thom Chiovoloni 2024-09-05 18:56:02 -0700
  • 860c391345 chore: Release bytemuck version 1.18.0 v1.18.0 Lokathor 2024-09-05 19:53:43 -0600
  • 0f43a56ef5
    Improve documentation of nightly features Thom Chiovoloni 2024-09-05 18:51:52 -0700
  • 4c535f9a77
    Clean up Cargo.toml (#271) Thom Chiovoloni 2024-09-05 18:51:06 -0700
  • 374d184e24
    Update changelog.md Lokathor 2024-09-05 19:46:57 -0600
  • 848c9413f9
    Clean up Cargo.toml Thom Chiovoloni 2024-09-05 18:42:27 -0700
  • 19065703a5
    Add a convenience feature indicating you're on the latest stable version of Rust (#270) Thom Chiovoloni 2024-09-05 18:36:58 -0700
  • 478ff4bba1
    Add a convenience feature indicating you're on the latest stable version of Rust Thom Chiovoloni 2024-09-05 18:30:40 -0700
  • dc76e58821
    Merge ee64218b73 into 2d2b397d66 zachs18 2024-09-01 05:59:58 -0500
  • ee64218b73 nightly_docs for transparent_wrapper_extra Zachary S 2024-09-01 05:42:49 -0500
  • bc9b93a8ee Restrict TransparentWrapper<T> for Reverse<T> to cfg(feature = "transparentwrapper_extra"). Zachary S 2024-09-01 05:13:48 -0500
  • e48da5a572 impl<T> TransparentWrapper<T> for core::num::Saturating<T>, with a new feature for non-base-MSRV stdlib TransparentWrapper impls. Zachary S 2024-09-01 05:01:10 -0500
  • f3ec795e93 impl<T> TransparentWrapper<T> for core::cmp::Reverse<T> Zachary S 2024-09-01 03:18:26 -0500
  • 2d2b397d66 update the changelog to be less dismissive because we don't need that negativity. Lokathor 2024-08-27 18:01:38 -0600
  • dc059fd187 chore: Release bytemuck version 1.17.1 v1.17.1 Lokathor 2024-08-27 10:34:15 -0600
  • 4bd50082ae changelog. Lokathor 2024-08-27 10:33:57 -0600
  • 3f42bec539
    Force #[repr(C)] layout to guarantee same offset of union fields. (#268) Lukasz Anforowicz 2024-08-27 09:30:57 -0700
  • b7976de153 Force #[repr(C)] layout to guarantee same offset of union fields. Lukasz Anforowicz 2024-08-27 15:27:47 +0000
  • 292eace518 Implement TransparentWrapper for [T; 1] 0xadk 2024-08-18 05:38:22 -0700
  • 3c42ba7f23 chore: Release bytemuck version 1.17.0 v1.17.0 Lokathor 2024-08-16 00:43:55 -0600
  • 413aaafba9 changelog. Lokathor 2024-08-16 00:43:43 -0600
  • faff80450a chore: Release bytemuck_derive version 1.7.1 bytemuck_derive-v1.7.1 Lokathor 2024-08-16 00:40:22 -0600
  • 7be8c67b2a derive changelog Lokathor 2024-08-16 00:39:48 -0600
  • bb62be5baa
    Remove "dangling" terminology for zero-sized pointees. (#262) zachs18 2024-08-11 07:59:50 +0000
  • 5eecd33318
    Make must_cast by-value and by-shared-ref functions const (#261) zachs18 2024-08-11 07:59:06 +0000
  • f3ae248b3a Update mentions of "dangling" pointers elsewhere in src/allocation.rs. Zachary S 2024-08-10 23:41:23 -0500
  • e40626a25c Add comment for transmute! macro new arm, and update Cargo.toml comment for must_cast MSRV. Zachary S 2024-08-07 22:35:57 -0500
  • 0de6b7f385 Update safety comment on BoxBytes pointer field. zachs18 2024-08-09 16:27:17 -0500
  • f2846f9ef2 Make must_cast by-value and by-shared-ref functions const (but not by-mut-ref) Zachary S 2024-08-07 22:27:16 -0500
  • 243302d3ef
    Add bytemuck attribute to NoUninit derive (#259) Richard Pringle 2024-08-02 16:09:49 +0200
  • e1baf85f09
    Fix box_bytes_zst test (#260) zachs18 2024-07-31 03:59:13 +0000
  • 94eb3d5dac Fix box_bytes_zst test Zachary S 2024-07-30 22:04:28 -0500
  • 20f4a09404 chore: Release bytemuck version 1.16.3 v1.16.3 Lokathor 2024-07-30 17:08:09 -0600
  • 9f7161ccf0 describe pr 256 Lokathor 2024-07-30 17:07:44 -0600
  • 291a924518
    Allow casting between slices of ZSTs and slices of non-ZSTs in all cases. (#256) zachs18 2024-07-30 23:05:11 +0000
  • 758774d451 chore: Release bytemuck version 1.16.2 v1.16.2 Lokathor 2024-07-30 16:37:41 -0600
  • 73cd363f72 changelog Lokathor 2024-07-30 16:37:05 -0600
  • 1c75146bb6
    Fix UB when dropping BoxBytes owning a zero-sized layout (#258) zachs18 2024-07-30 22:23:38 +0000
  • a31469f048
    Add bytemuck attribute to NoUninit derive Richard Pringle 2024-07-29 16:44:59 -0400
  • 7e4f43954d Allow casting between slices of ZSTs and slices of non-ZSTs in all cases. Zachary S 2024-07-27 23:25:35 -0500
  • 1cb59ea18d Fix UB when dropping BoxBytes owning a zero-sized layout Zachary S 2024-07-28 23:31:32 -0500
  • 005ee3254f
    Fix panics in try_cast_slice_box etc (#254) zachs18 2024-07-21 16:24:43 +0000
  • f2382e951e Add tests for cast_slice_box,rc,arc. Zachary S 2024-07-21 01:14:59 -0500
  • d5c6f19f85 Fix panics in try_cast_slice_{box,rc,arc},cast_vec. Zachary S 2024-07-21 01:10:16 -0500
  • 312ca6870c Add tests for cast_slice_box,rc,arc. Zachary S 2024-07-21 01:14:59 -0500
  • 3f3b49dc4b Fix panics in try_cast_slice_{box,rc,arc},cast_vec. Zachary S 2024-07-21 01:10:16 -0500
  • a5b1bd5f33 Update tests. Zachary S 2024-07-20 22:30:36 -0500
  • 6417895fd4 WIP: refactor Box/Rc/Arc to reduce code duplication. Zachary S 2022-09-02 01:48:03 -0500
  • 02ffd53a4e chore: Release bytemuck version 1.16.1 v1.16.1 Lokathor 2024-06-18 21:26:50 -0600
  • e0364d28c8 update changelog Lokathor 2024-06-18 21:26:34 -0600
  • 9b81537c5f
    Support Zeroable and Pod for f16 and f128 (#251) Trevor Gross 2024-06-18 22:24:29 -0500
  • 338aff7269 Support Zeroable and Pod for f16 and f128 Trevor Gross 2024-06-18 22:18:21 -0500
  • 2c11c952f9 Don't require T to be AnyBitPattern for MaybeUninit<T> to be AnyBitPattern Asger Hautop Drewsen 2024-06-06 09:35:12 +0200
  • d15b8e0e6d
    stupid branch stuff. (#248) Lokathor 2024-05-28 12:30:53 -0600
  • fcec8c3dc4 chore: Release bytemuck_derive version 1.7.0 bytemuck_derive-v1.7.0 Lokathor 2024-05-28 12:29:43 -0600
  • fb8244cbbf derive changelog. Lokathor 2024-05-28 12:28:13 -0600
  • c9540064f3
    Fix the errors CI is showing (#247) Lokathor 2024-05-28 12:22:59 -0600
  • 8251252b47 clippy be quiet Lokathor 2024-05-28 12:19:44 -0600
  • 8461fdbe2e fix for 1.34 building. Lokathor 2024-05-28 12:19:37 -0600
  • fef1c01992 Change #![allow(clippy::missing_docs_in_private_items)] to #[allow(clippy::missing_docs_in_private_items)], also rustfmt went wild Lokathor 2024-05-28 12:12:35 -0600
  • a630404e18
    support deriving Zeroable for fieldless enums (#233) Tom Dohrmann 2024-05-28 19:53:32 +0200
  • 9a27279008
    Allow generics in derive(ByteEq, ByteHash). (#219) zachs18 2024-05-28 17:52:54 +0000
  • 1c3751410f
    fix clippy lints (#137) Andrew Gazelka 2024-05-28 12:31:06 -0500
  • f9f7bb10b3
    Address unexpected_cfgs warnings instead of allowing the lint (#243) Urgau 2024-05-24 21:21:58 +0200
  • 497bab7742 Address unexpected_cfgs warnings instead of allowing the lint Urgau 2024-05-24 20:37:29 +0200
  • 89885d160a chore: Release bytemuck_derive version 1.6.1 bytemuck_derive-v1.6.1 Lokathor 2024-05-24 11:54:29 -0600
  • 7094cb8b8e
    Ignore clippy::multiple_bound_locations lint. (#242) Jay White 2024-05-24 13:52:56 -0400
  • 7cb97885c2
    Ignore clippy::multiple_bound_locations lint. Jay White 2024-05-24 09:12:05 -0400
  • 4c46b919e2 chore: Release bytemuck version 1.16.0 v1.16.0 Lokathor 2024-05-13 11:08:36 -0600
  • 5287f8cf6d we can put out 1.16 without waiting for more Lokathor 2024-05-13 11:08:13 -0600
  • a41510f303 put const_zeroed into the changelog Lokathor 2024-05-13 10:59:46 -0600
  • 9319f4858b make clippy be quiet about useless nonsense. Lokathor 2024-05-13 10:53:18 -0600
  • b39b6813a7 fix up docs warnings Lokathor 2024-05-13 10:51:37 -0600
  • 99e95084a6
    support const zeroed() (#240) Tyler Ruckinger 2024-05-13 12:16:20 -0400
  • 7ec260fd4f support const zeroed() Tyler Ruckinger 2024-05-13 08:03:26 -0400
  • 3abdaaede1 support zeroable and pod for fieldless enums jozanza 2024-05-09 11:47:03 -0400
  • 7ef8801cff
    Add documentation to generated public items (#236) Julien Cretin 2024-04-17 17:56:34 +0200
  • d396e6f865 Add documentation to generated public items Julien Cretin 2024-04-17 16:22:39 +0200
  • eeb6e9dd53
    Update TransparentWrapper asserts (#232) zachs18 2024-04-09 20:02:38 -0500