Commit Graph

  • 518baf9c0b
    Allow repr(transparent) to be used generically in derive(Pod) (#139) John Nunley 2022-11-03 06:53:01 -0700
  • bfb206e065 Replace add_trait_marker impl jtnunley 2022-10-31 08:47:21 -0700
  • 7b67524a43 (cargo-release) version 1.12.2 v1.12.2 Lokathor 2022-10-30 16:23:59 -0600
  • 579950fdb5 changelog Lokathor 2022-10-30 16:23:27 -0600
  • 12f5bfd62e clippy you are often a pain in my butt Lokathor 2022-10-30 16:18:16 -0600
  • f1571512d2
    fix try_pod_read_unaligned... never having worked correctly (#138) Dennis Duda 2022-10-30 15:06:55 -0700
  • 7cb489b199 Move trait checks to implementation block jtnunley 2022-10-29 13:50:37 -0700
  • 7751c0c682 Enabled transparent generics jtnunley 2022-10-29 11:29:47 -0700
  • 49c647658e fix try_pod_read_unaligned... never having worked correctly Dennis Duda 2022-10-28 17:21:34 +0200
  • 500dea4468
    fix clippy lints Andrew Gazelka 2022-10-22 03:51:38 -0700
  • 09dd2ffd68
    Add cast_{arc,rc} (and slice and try), and {wrap,peel}_{arc,rc}. (#132) zachs18 2022-09-01 18:23:28 -0500
  • ca54869cee Make cast_rc (etc) have the same bounds as cast_mut, due to the existence of Rc::get_mut_unchecked. Zachary S 2022-09-01 14:46:19 -0500
  • 30f0d3b8d9 remove unsafe block; run cargo +nightly fmt (ignoring files I didn't modify) Zachary S 2022-09-01 02:54:42 -0500
  • 527269cec7 Avoid intermediate slice reference in try_cast_slice_{arc,rc}. Zachary S 2022-09-01 02:48:25 -0500
  • 8a5587360c Add allocation::{try_,}cast_{arc,rc}, and add {wrap,peel}_{arc,rc} to TransparentWrapperAlloc. Zachary S 2022-09-01 02:09:16 -0500
  • 950a3ed3b9 use the new derive updates. v1.12.1 Lokathor 2022-08-16 21:03:48 -0600
  • 3f2e91d3a6 (cargo-release) version 1.2.1 bytemuck_derive-v1.2.1 Lokathor 2022-08-16 21:01:26 -0600
  • b7b438026d derive changlog. Lokathor 2022-08-16 21:00:48 -0600
  • d47d527ac2
    Fix regression #127: support align in reprs again (#128) Daniel Henry-Mantilla 2022-08-16 20:42:07 +0200
  • cd9e07509a Fix regression #127: support align in reprs again Daniel Henry-Mantilla 2022-08-16 18:14:00 +0200
  • 995205de23 version bump v1.12.0 Lokathor 2022-08-14 10:10:45 -0600
  • fd6b212a35 Update the readme to reflect the project status as of 2022-august bytemuck_derive-v1.2.0 Lokathor 2022-08-14 09:52:26 -0600
  • 9ea5f65e0f add a note about intended MSRV of the derives (none!) Lokathor 2022-08-14 09:50:39 -0600
  • f053800ce0 bump bytemuck_derive version with changelog Lokathor 2022-08-14 09:49:53 -0600
  • 1ebf7c251d
    Cleanup: use a macro for reprs, use syn errors & fix cfg-target-arch (#124) Daniel Henry-Mantilla 2022-08-12 14:50:51 +0200
  • bbd6a927ad
    fix something_went_wrong on spirv (#125) pali 2022-08-11 20:11:48 +0200
  • d0f3625515
    fix something_went_wrong on spirv pali 2022-08-11 19:33:57 +0200
  • 8fa2b69163 Cleanup: use a macro for reprs, use syn errors & fix cfg-target-arch Daniel Henry-Mantilla 2022-08-07 23:36:46 +0200
  • 2c97676bfc
    support deriving Pod for packed generic types. (#123) Tom Dohrmann 2022-08-07 22:32:00 +0200
  • e65d4dc608
    Revert "Update Cargo.toml" Tom Dohrmann 2022-08-07 21:51:58 +0200
  • c00fd94e34
    allow deriving Pod for packed generic types Tom Dohrmann 2022-08-07 17:23:42 +0200
  • 9f9807ad66
    improve #[repr] parsing Tom Dohrmann 2022-08-07 17:12:57 +0200
  • 331762b014
    run cargo fmt (#120) Waffle Maybe 2022-07-24 19:27:49 +0400
  • a8a79e53c5 run cargo fmt Maybe Waffle 2022-07-24 14:38:46 +0400
  • d75942c484 (cargo-release) version 1.11.0 v1.11.0 Lokathor 2022-07-23 21:15:23 -0600
  • 5ed7a7fc52
    Update changelog.md Lokathor 2022-07-23 21:12:15 -0600
  • 0fe2b2c568
    Add {wrap,peel}_box functions to TransparentWrapperAlloc (#119) Waffle Maybe 2022-07-24 07:09:32 +0400
  • 0b86776524 Add tests for {wrap,peel}_box Maybe Waffle 2022-07-22 23:01:18 +0400
  • 28d4d224d0 Add {wrap,peel}_box functions to TransparentWrapperAlloc Maybe Waffle 2022-07-22 18:11:08 +0400
  • a053f1d887 derive version bump. Lokathor 2022-07-18 19:27:55 -0600
  • 89bbdb1620 spelling Lokathor 2022-07-18 19:25:57 -0600
  • 2864b52591
    Fix/syn broken semver (#116) Edward 2022-07-19 03:25:00 +0200
  • 9d90497f7c
    Replace LICENCES-* symlinks with a licence copy. (#118) piwicode 2022-07-13 14:53:17 +0200
  • 0bb5b79867 Replace LICENCES-* symlinks with a licence copy. piwicode 2022-07-13 10:00:24 +0200
  • 237d7d3730
    Avoid clippy::missing_const_for_fn (#115) daxpedda 2022-07-09 01:16:25 +0200
  • e612031c1f
    Add try_zeroed_vec and zeroed_vec (#117) Gray Olson 2022-07-07 16:54:34 +0200
  • 3a4e116def use boxed slice .into_vec instead :) Gray Olson 2022-07-04 16:54:24 +0200
  • 0f6bb79ab9 go back to returning an error rather than calling handle_alloc_error Gray Olson 2022-07-04 16:35:04 +0200
  • 28e14fa951 add try_zeroed_vec and zeroed_vec, adjust impl of try_zeroed_slice_box Gray Olson 2022-07-04 16:19:09 +0200
  • bf68430b59 (cargo-release) version 1.10.0 v1.10.0 Lokathor 2022-07-02 18:14:46 -0600
  • 919c69cc4e changelog Lokathor 2022-07-02 15:46:07 -0600
  • 6beb5382ec move this little guy where he goes Lokathor 2022-07-02 15:30:08 -0600
  • fda9e9f852 improve docs Lokathor 2022-07-02 15:29:48 -0600
  • 1f265a9e0d Move the FooInOption traits into their own files for easier organization. Lokathor 2022-07-02 15:21:11 -0600
  • 4f6f4f2f62 fix: bump minimum syn version more after tests TheEdward162 2022-06-30 09:47:44 +0200
  • 3a8faf7c8a fix(derive): syn backwards compatibility TheEdward162 2022-06-30 09:38:00 +0200
  • 13c36eb536
    Avoid clippy::missing_const_for_fn dAxpeDDa 2022-06-29 14:07:41 +0200
  • abe55e525e
    feat: add TransparentWrapperAlloc trait (#111) Edward 2022-06-29 01:55:31 +0200
  • e8cd71df54
    feat: ZeroableInOption and PodInOption traits (#114) Edward 2022-06-29 01:54:56 +0200
  • 61d128620c feat: ZeroableInOption and PodInOption traits TheEdward162 2022-06-28 20:10:06 +0200
  • 3bce6b8472 fix: review comments TheEdward162 2022-06-28 20:00:42 +0200
  • e9eb13e0e7
    Use `-Zmiri-tag-raw-pointers in CI (#113) nils 2022-06-26 18:22:38 +0200
  • c62b332b00
    Use `-Zmiri-tag-raw-pointers in CI nils 2022-06-26 18:10:36 +0200
  • 2002df70a7 feat: add TransparentWrapperAlloc trait TheEdward162 2022-06-25 19:13:14 +0200
  • 4b8245d055 Shrink unsafe blocks peamaeq 2022-06-24 00:08:34 +0800
  • d691aa6a14
    implement NoUninit for NonZero* (#107) John 2022-06-06 12:20:34 -0700
  • 0eb9003e33 implement NoUninit for NonZero* jtnunley 2022-05-28 15:18:31 -0700
  • 21e2ac55d7
    Note on shared references to Pod-like types (#106) HeroicKatora 2022-05-19 19:47:54 +0200
  • d8ac880d95 Expand explanation of no-interior-mutability Andreas Molzer 2022-05-19 19:29:26 +0200
  • e6547bf2bd Note on shared references to Pod-like types Andreas Molzer 2022-05-18 20:53:04 +0200
  • 96f2e549b3
    Fix docstring typo (#104) Nicholas Bishop 2022-05-13 16:51:43 -0400
  • aff35ecd47
    Fix docstring typo Nicholas Bishop 2022-05-08 22:17:57 -0400
  • 42f5af05b8
    Attempt to nudge the CI into retrying. Chris Jester-Young 2022-04-23 23:27:01 -0400
  • 0fd8cc8212
    Allow generic structs to use AnyBitPattern derive. Chris Jester-Young 2022-04-20 22:52:14 -0400
  • d8b67687f3
    Add cast_slice_box and try_cast_slice_box, changed try_cast_vec to adjust length and capacity when valid. (#100) mystise 2022-04-19 11:50:28 -0600
  • 268bf8e798 Ran cargo format mystise 2022-04-16 02:54:01 -0600
  • 7a668f9628 Modified try_cast_slice_box and try_cast_vec to recalculate the length if the change in size between the two types is valid. mystise 2022-04-16 02:41:28 -0600
  • b90b53f4b8 Added try_cast_slice_box and cast_slice_box mystise 2022-04-16 02:25:37 -0600
  • b75005c4d0 (cargo-release) version 1.9.1 v1.9.1 Lokathor 2022-04-01 23:49:36 -0600
  • f7963d6281 update changelog. Lokathor 2022-04-01 23:49:13 -0600
  • 26e1495d61
    Bump bytemuck_derive dependency to required version (#97) Justin Starry 2022-04-02 01:55:28 +0800
  • b4889171be Bump bytemuck_derive dependency to required version Justin Starry 2022-04-01 18:25:28 +0800
  • 73ae1ee89e (cargo-release) version 1.1.0 bytemuck_derive-v1.1.0 Lokathor 2022-03-29 23:15:56 -0600
  • 4459b9295c changelog for the derives. Lokathor 2022-03-29 23:15:32 -0600
  • 73eaaaf9b8 (cargo-release) version 1.9.0 v1.9.0 Lokathor 2022-03-29 23:14:16 -0600
  • 950ae43012 back to the correct derive dependency line Lokathor 2022-03-29 23:13:34 -0600
  • d8215fb95a
    Update changelog.md (#96) Lokathor 2022-03-29 23:10:43 -0600
  • 3077611058
    Use the 5 instead of an s, because we're l33t Lokathor 2022-03-29 23:10:03 -0600
  • 2df15c0610
    Update changelog.md Lokathor 2022-03-29 23:07:37 -0600
  • 9021a6c950
    Update changelog.md Lokathor 2022-03-29 23:06:10 -0600
  • 1fb245c926
    rename NoPadding to NoUninit and clarify docs (#95) Gray Olson 2022-03-29 20:25:51 -0700
  • 151e13d111 rename NoPadding to NoUninit and clarify docs Gray Olson 2022-03-29 19:21:57 -0700
  • 1652a2dcd2
    Support unions in derive macros (#94) Gray Olson 2022-03-29 19:01:48 -0700
  • 0491b02fa5 remove Pod and AnyBitPattern derives for unions due to possible unsoundness Gray Olson 2022-03-29 16:46:07 -0700
  • 529b125154 implement derives for unions for more traits Gray Olson 2022-02-18 01:29:33 -0700
  • 42b364ed02 basic union tests for nopadding and anybitpattern Gray Olson 2022-02-18 00:41:55 -0700
  • c71ed2c6ba allow deriving traits on unions in some cases Gray Olson 2022-02-18 00:34:17 -0700
  • b472189ff8
    Add NoPadding, AnyBitPattern, and CheckedBitPattern traits (#91) Gray Olson 2022-03-29 16:01:02 -0700
  • 8799293110 fix erroneous behavior in doctest Gray Olson 2022-03-29 15:33:56 -0700
  • ec422b05e9 merge conflicts Gray Olson 2022-03-29 15:21:08 -0700