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 Uniform constructors return a result #1229

Merged
merged 10 commits into from
Feb 6, 2023

Commits on Apr 22, 2022

  1. Forbid unsafe code in crates without unsafe code

    This helps tools like `cargo geiger`.
    vks committed Apr 22, 2022
    Configuration menu
    Copy the full SHA
    f9bce60 View commit details
    Browse the repository at this point in the history
  2. Make Uniform constructors return a result

    - This is a breaking change.
    - The new error type had to be made public, otherwise `Uniform` could
      not be extended for user-defined types by implementing
      `UniformSampler`.
    - `rand_distr` was updated accordingly.
    - Also forbid unsafe code for crates where none is used.
    
    Fixes rust-random#1195, rust-random#1211.
    vks committed Apr 22, 2022
    Configuration menu
    Copy the full SHA
    e40f00a View commit details
    Browse the repository at this point in the history

Commits on Nov 24, 2022

  1. Address review feedback

    vks committed Nov 24, 2022
    Configuration menu
    Copy the full SHA
    9536f69 View commit details
    Browse the repository at this point in the history

Commits on Dec 6, 2022

  1. Configuration menu
    Copy the full SHA
    0754b72 View commit details
    Browse the repository at this point in the history
  2. Fix benchmarks

    vks committed Dec 6, 2022
    Configuration menu
    Copy the full SHA
    f20b74e View commit details
    Browse the repository at this point in the history

Commits on Dec 11, 2022

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

Commits on Feb 3, 2023

  1. Configuration menu
    Copy the full SHA
    b1080b0 View commit details
    Browse the repository at this point in the history
  2. Small fixes

    dhardy committed Feb 3, 2023
    Configuration menu
    Copy the full SHA
    6695abe View commit details
    Browse the repository at this point in the history
  3. Merge pull request #1 from dhardy/uniform-result

    Small fixes
    vks authored Feb 3, 2023
    Configuration menu
    Copy the full SHA
    2dfbf14 View commit details
    Browse the repository at this point in the history

Commits on Feb 6, 2023

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