Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make zero copy safe by default, add account(zero_copy(unsafe)) feature. #2330

Merged
merged 17 commits into from Jan 26, 2023

Commits on Dec 26, 2022

  1. Add account(zero_copy(safe_bytemuck_derives)) feature.

    The default account(zero_copy) feature unsafe impls the bytemuck traits
    
    The new one derives it instead, which runs desired sanity checks like
    "struct has no padding".
    ckamm committed Dec 26, 2022
    Configuration menu
    Copy the full SHA
    7e2a370 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    d1fe74e View commit details
    Browse the repository at this point in the history

Commits on Jan 17, 2023

  1. update syntax usage

    henrye committed Jan 17, 2023
    Configuration menu
    Copy the full SHA
    5df49bf View commit details
    Browse the repository at this point in the history

Commits on Jan 18, 2023

  1. use const generics with bytemuck, add derive(pod,zeroable) above othe…

    …r zero copy types
    henrye committed Jan 18, 2023
    Configuration menu
    Copy the full SHA
    cb4a11f View commit details
    Browse the repository at this point in the history
  2. add (unsafe) option to zero_copy attribute

    henrye committed Jan 18, 2023
    Configuration menu
    Copy the full SHA
    c455d7f View commit details
    Browse the repository at this point in the history
  3. maybe fix test

    henrye committed Jan 18, 2023
    Configuration menu
    Copy the full SHA
    b35e726 View commit details
    Browse the repository at this point in the history
  4. update cargo.toml

    henrye committed Jan 18, 2023
    Configuration menu
    Copy the full SHA
    5d0da40 View commit details
    Browse the repository at this point in the history
  5. fix tests

    henrye committed Jan 18, 2023
    Configuration menu
    Copy the full SHA
    b8ff1c3 View commit details
    Browse the repository at this point in the history
  6. update changelog

    henrye committed Jan 18, 2023
    Configuration menu
    Copy the full SHA
    3d69a93 View commit details
    Browse the repository at this point in the history
  7. another changelog change

    henrye committed Jan 18, 2023
    Configuration menu
    Copy the full SHA
    daa6701 View commit details
    Browse the repository at this point in the history

Commits on Jan 19, 2023

  1. a bit more cleaning up

    henrye committed Jan 19, 2023
    Configuration menu
    Copy the full SHA
    6eeafdd View commit details
    Browse the repository at this point in the history
  2. last change probably

    henrye committed Jan 19, 2023
    Configuration menu
    Copy the full SHA
    f68774e View commit details
    Browse the repository at this point in the history
  3. done

    henrye committed Jan 19, 2023
    Configuration menu
    Copy the full SHA
    1cfbf23 View commit details
    Browse the repository at this point in the history
  4. cargo fmt

    henrye committed Jan 19, 2023
    Configuration menu
    Copy the full SHA
    9da1867 View commit details
    Browse the repository at this point in the history
  5. test commit, to see if local derive works ok

    henrye committed Jan 19, 2023
    Configuration menu
    Copy the full SHA
    5c24761 View commit details
    Browse the repository at this point in the history

Commits on Jan 20, 2023

  1. cargo fmt

    henrye committed Jan 20, 2023
    Configuration menu
    Copy the full SHA
    e7cd08a View commit details
    Browse the repository at this point in the history

Commits on Jan 26, 2023

  1. Configuration menu
    Copy the full SHA
    a1fc6d4 View commit details
    Browse the repository at this point in the history