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

The getrandom crate #1

Open
wants to merge 248 commits into
base: main
Choose a base branch
from
Open

The getrandom crate #1

wants to merge 248 commits into from

Commits on Jan 19, 2019

  1. Add library skeleton

    dhardy committed Jan 19, 2019
    Configuration menu
    Copy the full SHA
    c9440a2 View commit details
    Browse the repository at this point in the history

Commits on Feb 4, 2019

  1. first commit

    newpavlov committed Feb 4, 2019
    Configuration menu
    Copy the full SHA
    71a3cb8 View commit details
    Browse the repository at this point in the history

Commits on Feb 5, 2019

  1. Configuration menu
    Copy the full SHA
    9420df9 View commit details
    Browse the repository at this point in the history
  2. use fuchsia-cprng

    newpavlov committed Feb 5, 2019
    Configuration menu
    Copy the full SHA
    99a1310 View commit details
    Browse the repository at this point in the history
  3. remove wasm-bindgen shims

    newpavlov committed Feb 5, 2019
    Configuration menu
    Copy the full SHA
    d8c356b View commit details
    Browse the repository at this point in the history
  4. add benchmarks

    newpavlov committed Feb 5, 2019
    Configuration menu
    Copy the full SHA
    8f6edad View commit details
    Browse the repository at this point in the history
  5. review updates

    newpavlov committed Feb 5, 2019
    Configuration menu
    Copy the full SHA
    1049ce8 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    39ba5d2 View commit details
    Browse the repository at this point in the history
  7. change test cfg

    newpavlov committed Feb 5, 2019
    Configuration menu
    Copy the full SHA
    9855b52 View commit details
    Browse the repository at this point in the history

Commits on Feb 6, 2019

  1. Configuration menu
    Copy the full SHA
    5ebbaf7 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    f860bde View commit details
    Browse the repository at this point in the history
  3. new error

    newpavlov committed Feb 6, 2019
    Configuration menu
    Copy the full SHA
    1e2a5aa View commit details
    Browse the repository at this point in the history
  4. remove unsafe

    newpavlov committed Feb 6, 2019
    Configuration menu
    Copy the full SHA
    9871d55 View commit details
    Browse the repository at this point in the history
  5. remove unused feature

    newpavlov authored Feb 6, 2019
    Configuration menu
    Copy the full SHA
    af5035f View commit details
    Browse the repository at this point in the history

Commits on Feb 14, 2019

  1. Merge pull request rust-random#6 from newpavlov/init

    Crate implementation
    dhardy authored Feb 14, 2019
    Configuration menu
    Copy the full SHA
    24e7f8f View commit details
    Browse the repository at this point in the history

Commits on Feb 18, 2019

  1. Configuration menu
    Copy the full SHA
    4374fd7 View commit details
    Browse the repository at this point in the history
  2. Impl From not Into

    dhardy committed Feb 18, 2019
    Configuration menu
    Copy the full SHA
    9ba1d37 View commit details
    Browse the repository at this point in the history
  3. Error doc; fix for Solaris

    dhardy committed Feb 18, 2019
    Configuration menu
    Copy the full SHA
    7ff3aff View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    0f371be View commit details
    Browse the repository at this point in the history

Commits on Feb 20, 2019

  1. Merge pull request rust-random#7 from dhardy/master

    Add getrandom wrapper func and documentation
    dhardy authored Feb 20, 2019
    Configuration menu
    Copy the full SHA
    10fdedd View commit details
    Browse the repository at this point in the history

Commits on Feb 23, 2019

  1. 8 Update Solaris getrandom

    jasonbking committed Feb 23, 2019
    Configuration menu
    Copy the full SHA
    819fb3f View commit details
    Browse the repository at this point in the history

Commits on Feb 25, 2019

  1. Merge pull request rust-random#9 from jasonbking/illumos

    8 Update Solaris getrandom
    dhardy authored Feb 25, 2019
    Configuration menu
    Copy the full SHA
    7f68c78 View commit details
    Browse the repository at this point in the history
  2. Add note on min Rustc version

    dhardy committed Feb 25, 2019
    Configuration menu
    Copy the full SHA
    ae1e2aa View commit details
    Browse the repository at this point in the history
  3. Add CI configuration

    Some of these tests will fail for now!
    dhardy committed Feb 25, 2019
    Configuration menu
    Copy the full SHA
    b6e859c View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    557ee8f View commit details
    Browse the repository at this point in the history
  5. Fix doc links

    Arguably the doc links and root URL are wrong, but they
    avoid broken links and will do for now.
    dhardy committed Feb 25, 2019
    Configuration menu
    Copy the full SHA
    25bc1ac View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    446cff3 View commit details
    Browse the repository at this point in the history
  7. Fix Mac OSX implementation

    dhardy committed Feb 25, 2019
    Configuration menu
    Copy the full SHA
    5607368 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    51303b5 View commit details
    Browse the repository at this point in the history
  9. Fixes for CI, CloudABI, 32-bit Linux, MacOS, WASM

    Also new: impl From<NonZeroU32> for Error
    dhardy committed Feb 25, 2019
    Configuration menu
    Copy the full SHA
    a40d3de View commit details
    Browse the repository at this point in the history
  10. Remove usage of ATOMIC_BOOL_INIT

    We currently don't support old enough compilers to require this.
    dhardy committed Feb 25, 2019
    Configuration menu
    Copy the full SHA
    0d5f4c5 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    ac13e04 View commit details
    Browse the repository at this point in the history

Commits on Feb 26, 2019

  1. Merge pull request rust-random#10 from dhardy/ci

    Add CI config and implement on WASM
    dhardy authored Feb 26, 2019
    Configuration menu
    Copy the full SHA
    679c52c View commit details
    Browse the repository at this point in the history

Commits on Mar 1, 2019

  1. Revise error types and codes

    dhardy committed Mar 1, 2019
    Configuration menu
    Copy the full SHA
    b771a82 View commit details
    Browse the repository at this point in the history
  2. Set correct requirements for minimal versions; test in CI

    Versions found by examining API or trial-and-error.
    CI will now try minimal lib versions with minimal rustc
    version, but only for select targets.
    dhardy committed Mar 1, 2019
    Configuration menu
    Copy the full SHA
    1a2dcdc View commit details
    Browse the repository at this point in the history
  3. Don't test minimal versions in CI

    Option isn't compatible with stable Rustc.
    Nightly runners already have important tests for latest version.
    dhardy committed Mar 1, 2019
    Configuration menu
    Copy the full SHA
    1fabf59 View commit details
    Browse the repository at this point in the history

Commits on Mar 2, 2019

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

Commits on Mar 11, 2019

  1. Configuration menu
    Copy the full SHA
    7d93104 View commit details
    Browse the repository at this point in the history
  2. Remove error module from API

    dhardy committed Mar 11, 2019
    Configuration menu
    Copy the full SHA
    13d49ec View commit details
    Browse the repository at this point in the history

Commits on Mar 12, 2019

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

Commits on Mar 13, 2019

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

Commits on Mar 14, 2019

  1. Configuration menu
    Copy the full SHA
    f2322f4 View commit details
    Browse the repository at this point in the history
  2. Merge pull request rust-random#11 from dhardy/master

    Revise error types and codes
    dhardy authored Mar 14, 2019
    Configuration menu
    Copy the full SHA
    170cbc1 View commit details
    Browse the repository at this point in the history

Commits on Mar 16, 2019

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

Commits on Mar 22, 2019

  1. MSRV bump, module changes

    newpavlov committed Mar 22, 2019
    Configuration menu
    Copy the full SHA
    7807932 View commit details
    Browse the repository at this point in the history
  2. stdweb fix

    newpavlov committed Mar 22, 2019
    Configuration menu
    Copy the full SHA
    7e70829 View commit details
    Browse the repository at this point in the history
  3. import js macro

    newpavlov committed Mar 22, 2019
    Configuration menu
    Copy the full SHA
    a4cd116 View commit details
    Browse the repository at this point in the history
  4. readme update

    newpavlov committed Mar 22, 2019
    Configuration menu
    Copy the full SHA
    9e844d5 View commit details
    Browse the repository at this point in the history
  5. fix stdweb

    newpavlov committed Mar 22, 2019
    Configuration menu
    Copy the full SHA
    5e23e13 View commit details
    Browse the repository at this point in the history

Commits on Mar 23, 2019

  1. Merge pull request rust-random#15 from newpavlov/edition

    MSRV bump, module changes
    dhardy authored Mar 23, 2019
    Configuration menu
    Copy the full SHA
    7e93a69 View commit details
    Browse the repository at this point in the history
  2. Prepare 0.1.0 release

    dhardy committed Mar 23, 2019
    Configuration menu
    Copy the full SHA
    6e89775 View commit details
    Browse the repository at this point in the history
  3. Merge pull request rust-random#16 from dhardy/master

    Prepare 0.1.0 release
    dhardy authored Mar 23, 2019
    Configuration menu
    Copy the full SHA
    4c1d7c4 View commit details
    Browse the repository at this point in the history

Commits on Apr 2, 2019

  1. cloudabi fix

    newpavlov authored Apr 2, 2019
    Configuration menu
    Copy the full SHA
    d2a9729 View commit details
    Browse the repository at this point in the history

Commits on Apr 5, 2019

  1. Configuration menu
    Copy the full SHA
    aa2bde5 View commit details
    Browse the repository at this point in the history
  2. Merge pull request rust-random#18 from dhardy/master

    Prepare 0.1.1 release
    dhardy authored Apr 5, 2019
    Configuration menu
    Copy the full SHA
    c2f13c8 View commit details
    Browse the repository at this point in the history

Commits on Apr 6, 2019

  1. Configuration menu
    Copy the full SHA
    d8bbf43 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    3d2682e View commit details
    Browse the repository at this point in the history
  3. Update changelog

    nipzu authored Apr 6, 2019
    Configuration menu
    Copy the full SHA
    8395a9e View commit details
    Browse the repository at this point in the history
  4. Update crate version

    nipzu authored Apr 6, 2019
    Configuration menu
    Copy the full SHA
    0b52d8e View commit details
    Browse the repository at this point in the history
  5. Update crate version to 0.1.2

    Update crate version to 0.1.2
    nipzu authored Apr 6, 2019
    Configuration menu
    Copy the full SHA
    dffc125 View commit details
    Browse the repository at this point in the history
  6. Update README

    nipzu authored Apr 6, 2019
    Configuration menu
    Copy the full SHA
    0f411bb View commit details
    Browse the repository at this point in the history
  7. Merge pull request rust-random#20 from nipzu/master

    Added support for wasm32-unknown-wasi
    dhardy authored Apr 6, 2019
    Configuration menu
    Copy the full SHA
    3142dee View commit details
    Browse the repository at this point in the history

Commits on May 15, 2019

  1. Update the WASI support.

     - WASI is now categorized as an OS rather than an environment.
       (rust-lang/rust#60117)
     - The WASI triple is renamed from wasm32-unknown-wasi to wasm32-wasi.
       (rust-lang/rust#60585)
    sunfishcode committed May 15, 2019
    Configuration menu
    Copy the full SHA
    6eb55f1 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    33a6157 View commit details
    Browse the repository at this point in the history

Commits on May 16, 2019

  1. Merge pull request rust-random#22 from sunfishcode/master

    Update the WASI support.
    dhardy authored May 16, 2019
    Configuration menu
    Copy the full SHA
    0a18857 View commit details
    Browse the repository at this point in the history

Commits on Jun 10, 2019

  1. Don't block in getrandom() detection (rust-random#26)

    On Linux, we detect if `getrandom` is present by calling getrandom with
    an empty buffer and seeing if `ENOSYS` is returned. However, even with
    an empty buffer, this call will block unless we explicitly pass a flag.
    
    This can be seen in the source for `getrandom`:
      https://elixir.bootlin.com/linux/v5.1.8/source/drivers/char/random.c#L2043
    
    This change adds a boolean parameter to `syscall_getrandom` to control
    the blocking behavior. We now don't block in initialization, but do
    block when actually reading random data.
    josephlr authored and newpavlov committed Jun 10, 2019
    Configuration menu
    Copy the full SHA
    db27e97 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    ce4a089 View commit details
    Browse the repository at this point in the history

Commits on Jun 12, 2019

  1. linux: Use libc::GRND_NONBLOCK (rust-random#29)

    We don't need to define this ourself. Introduced in libc 0.2.34:
      See: rust-lang/libc#830
    josephlr authored and newpavlov committed Jun 12, 2019
    Configuration menu
    Copy the full SHA
    50212bd View commit details
    Browse the repository at this point in the history
  2. Improve RDRAND implementation (rust-random#24)

    * Move sgx.rs to rdrand.rs
    
    * Improve RDRAND implementation
    josephlr authored and newpavlov committed Jun 12, 2019
    Configuration menu
    Copy the full SHA
    9e64082 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    bcad3fb View commit details
    Browse the repository at this point in the history

Commits on Jun 14, 2019

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

Commits on Jun 16, 2019

  1. Support x86_64-unknown-uefi

    josephlr committed Jun 16, 2019
    Configuration menu
    Copy the full SHA
    0381ee0 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    94440e1 View commit details
    Browse the repository at this point in the history
  3. Add missing not

    josephlr committed Jun 16, 2019
    Configuration menu
    Copy the full SHA
    fc8ab62 View commit details
    Browse the repository at this point in the history
  4. Add error for sgx && !rdrand

    josephlr committed Jun 16, 2019
    Configuration menu
    Copy the full SHA
    5c6294a View commit details
    Browse the repository at this point in the history
  5. Fix cfg guards

    josephlr committed Jun 16, 2019
    Configuration menu
    Copy the full SHA
    25bd5a5 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    8053d7e View commit details
    Browse the repository at this point in the history

Commits on Jun 17, 2019

  1. Merge pull request rust-random#30 from josephlr/uefi

    Support x86_64-unknown-uefi
    dhardy authored Jun 17, 2019
    Configuration menu
    Copy the full SHA
    0b87a09 View commit details
    Browse the repository at this point in the history

Commits on Jun 19, 2019

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

Commits on Jun 25, 2019

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

Commits on Jun 26, 2019

  1. Run Rustfmt on entire repo

    josephlr committed Jun 26, 2019
    Configuration menu
    Copy the full SHA
    3d8373b View commit details
    Browse the repository at this point in the history
  2. Update docs with RDRAND link (rust-random#41)

    Also mention it's how we get randomness on UEFI
    josephlr authored and newpavlov committed Jun 26, 2019
    Configuration menu
    Copy the full SHA
    27b883f View commit details
    Browse the repository at this point in the history
  3. Merge pull request rust-random#39 from josephlr/rustfmt

    Run Rustfmt on entire repo
    dhardy authored Jun 26, 2019
    Configuration menu
    Copy the full SHA
    5c7faa5 View commit details
    Browse the repository at this point in the history

Commits on Jun 27, 2019

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

Commits on Jun 28, 2019

  1. Configuration menu
    Copy the full SHA
    70f6ff7 View commit details
    Browse the repository at this point in the history
  2. version typo fix

    newpavlov authored Jun 28, 2019
    Configuration menu
    Copy the full SHA
    31ce376 View commit details
    Browse the repository at this point in the history

Commits on Jun 29, 2019

  1. Configuration menu
    Copy the full SHA
    11eefaa View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    5b56734 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    e992e45 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    30ac773 View commit details
    Browse the repository at this point in the history

Commits on Jun 30, 2019

  1. Configuration menu
    Copy the full SHA
    cbc44ee View commit details
    Browse the repository at this point in the history
  2. release v0.1.6

    newpavlov committed Jun 30, 2019
    Configuration menu
    Copy the full SHA
    e02e946 View commit details
    Browse the repository at this point in the history

Commits on Jul 1, 2019

  1. link fix

    newpavlov authored Jul 1, 2019
    Configuration menu
    Copy the full SHA
    4f65408 View commit details
    Browse the repository at this point in the history

Commits on Jul 2, 2019

  1. Configuration menu
    Copy the full SHA
    61cd3c2 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    b1e8154 View commit details
    Browse the repository at this point in the history

Commits on Jul 4, 2019

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

Commits on Jul 5, 2019

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

Commits on Jul 7, 2019

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

Commits on Jul 8, 2019

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

Commits on Jul 9, 2019

  1. Configuration menu
    Copy the full SHA
    1705b40 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    65660e0 View commit details
    Browse the repository at this point in the history

Commits on Jul 11, 2019

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

Commits on Jul 12, 2019

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

Commits on Jul 27, 2019

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

Commits on Jul 28, 2019

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

Commits on Jul 29, 2019

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

Commits on Aug 3, 2019

  1. fix readme example

    newpavlov authored Aug 3, 2019
    Configuration menu
    Copy the full SHA
    ab44edf View commit details
    Browse the repository at this point in the history

Commits on Aug 4, 2019

  1. Explicitly specify types to arguments of 'libc::syscall' (rust-random#74

    )
    
    The 'libc::syscall' function uses varargs - as a result, its arguments
    are completely untyped. THe user must ensure that it is called with the
    proper types for the targeted syscall - otherwise, the calling
    convention might cause arguments to be put into the wrong registers.
    
    This commit explicitly casts the arguments to 'libc::syscall' to the
    proper type for the 'getrandom' syscall. This ensures that the correct
    types for the target platform will always be used, instead of relying on
    the types used happening to match those required by the target platform.
    Aaron1011 authored and newpavlov committed Aug 4, 2019
    Configuration menu
    Copy the full SHA
    6716ad0 View commit details
    Browse the repository at this point in the history

Commits on Aug 5, 2019

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

Commits on Aug 6, 2019

  1. Configuration menu
    Copy the full SHA
    b69f832 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    98934cb View commit details
    Browse the repository at this point in the history

Commits on Aug 7, 2019

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

Commits on Aug 8, 2019

  1. Configuration menu
    Copy the full SHA
    86c2cd6 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    283f9f8 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    7449a08 View commit details
    Browse the repository at this point in the history

Commits on Aug 12, 2019

  1. Add warning checks (rust-random#80)

    josephlr authored and newpavlov committed Aug 12, 2019
    Configuration menu
    Copy the full SHA
    f94b44a View commit details
    Browse the repository at this point in the history

Commits on Aug 13, 2019

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

Commits on Aug 14, 2019

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

Commits on Aug 15, 2019

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

Commits on Aug 17, 2019

  1. Always build on wasm32-unknown-unknown (rust-random#90)

    This updates the documentation to explain exactly what we are doing on
    this target. Also adds a test that the target builds without features.
    josephlr authored Aug 17, 2019
    Configuration menu
    Copy the full SHA
    73bbbdc View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    f073a95 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    a9b7f92 View commit details
    Browse the repository at this point in the history

Commits on Aug 24, 2019

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

Commits on Aug 25, 2019

  1. Fix Redox CI (rust-random#85)

    * Fix Redox CI
    
    * Bump libc version to fix Redox
    josephlr authored Aug 25, 2019
    Configuration menu
    Copy the full SHA
    4db1b14 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    208b318 View commit details
    Browse the repository at this point in the history

Commits on Aug 31, 2019

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

Commits on Sep 6, 2019

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

Commits on Sep 19, 2019

  1. Handle zero-length slices (rust-random#104)

    Ensure and document that we do nothing when an empty slice is passed.
    
    Note that this changes are for consistency, not to prevent UB.
    elichai authored and josephlr committed Sep 19, 2019
    Configuration menu
    Copy the full SHA
    ccc4774 View commit details
    Browse the repository at this point in the history

Commits on Sep 21, 2019

  1. Improve CI for web targets (rust-random#108)

    * Simplify CI process for WASM
    
    Run WASI tests, and run both stdweb/wasm-bindgen on both node and in browsers
    
    These changes also remove the need for a separate tests/wasm_bindgen
    
    * Use all pre-built binaries in the CI
    
    * Fix Cargo.toml typo
    
    Co-Authored-By: Artyom Pavlov <newpavlov@gmail.com>
    
    * Fix install location
    
    * Debug CI
    josephlr authored Sep 21, 2019
    Configuration menu
    Copy the full SHA
    fa6f929 View commit details
    Browse the repository at this point in the history

Commits on Sep 23, 2019

  1. Configuration menu
    Copy the full SHA
    3b6c90c View commit details
    Browse the repository at this point in the history
  2. Merge pull request rust-random#111 from josephlr/fmt

    Run Rustfmt
    dhardy authored Sep 23, 2019
    Configuration menu
    Copy the full SHA
    6bd6e04 View commit details
    Browse the repository at this point in the history

Commits on Sep 30, 2019

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

    - Use latest Firefox
    - Explicitly pin wasmtime and cargo-web
    - Make sure our `wasm-bindgen-test-runner` and `wasm-bindgen` versions match
    josephlr committed Sep 30, 2019
    Configuration menu
    Copy the full SHA
    93312bd View commit details
    Browse the repository at this point in the history
  3. Remove jq dep

    josephlr committed Sep 30, 2019
    Configuration menu
    Copy the full SHA
    04f6517 View commit details
    Browse the repository at this point in the history

Commits on Oct 1, 2019

  1. Merge pull request rust-random#114 from josephlr/ci

    Fix and Improve WASM CI
    dhardy authored Oct 1, 2019
    Configuration menu
    Copy the full SHA
    7f013b1 View commit details
    Browse the repository at this point in the history
  2. Merge pull request rust-random#112 from dekellum/min-cfg-if

    cfg-if 0.1.2 is minimal version of dependency
    dhardy authored Oct 1, 2019
    Configuration menu
    Copy the full SHA
    6b4925a View commit details
    Browse the repository at this point in the history

Commits on Oct 16, 2019

  1. Only impl std traits if feature is specified (rust-random#106)

    * Fix CI to allow for PRs against 0.2 to be run
    
    * Only impl std traits if feature is specified
    
    * Fix l4re
    josephlr committed Oct 16, 2019
    Configuration menu
    Copy the full SHA
    6057367 View commit details
    Browse the repository at this point in the history
  2. Remove dummy implementation (rust-random#107)

    Removes the “dummy” feature and “wasm32-unknown-unknown” dummy impl
    josephlr committed Oct 16, 2019
    Configuration menu
    Copy the full SHA
    add45a3 View commit details
    Browse the repository at this point in the history

Commits on Oct 23, 2019

  1. Switch to using the arandom sysctl on NetBSD (same as FreeBSD). (rust…

    …-random#115)
    
    Rename it from freebsd.rs to sysctl_arandom.rs.
    
    NetBSD has been patching rustc for some time to use the FreeBSD
    implementation because every single invocation of the compiler
    may drain from the entropy pool and cause the next to block.
    
    This can massively inflate build times for rust software, or cause
    it to fail entirely, especially in VMs (for example, our Xen package
    building cluster).
    alarixnia authored and newpavlov committed Oct 23, 2019
    Configuration menu
    Copy the full SHA
    2fa1bba View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    9a385f1 View commit details
    Browse the repository at this point in the history

Commits on Oct 24, 2019

  1. Configuration menu
    Copy the full SHA
    81bd43e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    1f1f964 View commit details
    Browse the repository at this point in the history

Commits on Oct 25, 2019

  1. Configuration menu
    Copy the full SHA
    d661aa7 View commit details
    Browse the repository at this point in the history
  2. Improve src/lib.rs cfgs (rust-random#119)

    Right now for each of `util_libc` and `use_file` we have a list of
    `target_os` configs to determine if we build the module.
    
    This PR moves these mod declarations into the main `cfg_if` statement
    (the one that selects which implementation we use). This way, the mod
    statements are kept in-sync with the implementations that use them.
    
    Also, I merged together `target_os` cfgs that have the same
    implementation. The downside to this is that the targets are no longer
    in alphabetical order.
    
    Also, this is only being applied to `0.2` as the `0.1` cfgs still have
    to keep `std` around.
    josephlr authored and newpavlov committed Oct 25, 2019
    Configuration menu
    Copy the full SHA
    cf2d81b View commit details
    Browse the repository at this point in the history

Commits on Oct 28, 2019

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

Commits on Jan 5, 2020

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

Commits on Jan 7, 2020

  1. Configuration menu
    Copy the full SHA
    a913c9c View commit details
    Browse the repository at this point in the history
  2. util_libc: open_readonly shoud return a Result

    Signed-off-by: Joe Richey <joerichey@google.com>
    josephlr authored and newpavlov committed Jan 7, 2020
    Configuration menu
    Copy the full SHA
    245b5b2 View commit details
    Browse the repository at this point in the history
  3. use_file: Remove use of spin-locks

    Don't spin when polling /dev/random. We also remove the use of spin
    locks when opening the persistent fd for platforms that require it.
    
    For both these cases, we can just use the pthread lock/unlock methods
    in libc. This includes adding Mutex and DropGuard abstractions.
    
    Signed-off-by: Joe Richey <joerichey@google.com>
    josephlr authored and newpavlov committed Jan 7, 2020
    Configuration menu
    Copy the full SHA
    46963aa View commit details
    Browse the repository at this point in the history
  4. util: Remove unused spin-lock interfaces

    We no longer use spin-locks anywhere in getrandom, so remove any
    interfaces which spin.
    
    Signed-off-by: Joe Richey <joerichey@google.com>
    josephlr authored and newpavlov committed Jan 7, 2020
    Configuration menu
    Copy the full SHA
    c5e2025 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    33b859b View commit details
    Browse the repository at this point in the history

Commits on Jan 8, 2020

  1. Merge branch 'master' into 0.2

    Signed-off-by: Joe Richey <joerichey@google.com>
    josephlr committed Jan 8, 2020
    Configuration menu
    Copy the full SHA
    0f14f2a View commit details
    Browse the repository at this point in the history

Commits on Jan 9, 2020

  1. log: Remove optional log dependancy (rust-random#131)

    This feature isn't enabled by rand/rand_core and provides very little
    error information that isn't already conveyed through our Error values.
    
    This also simplifies the supported configuration space for getrandom.
    We update the docs and CI to match this change.
    josephlr authored Jan 9, 2020
    Configuration menu
    Copy the full SHA
    d6b75d1 View commit details
    Browse the repository at this point in the history

Commits on Jan 10, 2020

  1. custom: Add support for Custom RNGs

    josephlr authored and newpavlov committed Jan 10, 2020
    Configuration menu
    Copy the full SHA
    448bcac View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    3d7a7b5 View commit details
    Browse the repository at this point in the history
  3. custom: Add custom RNG for stdweb

    josephlr authored and newpavlov committed Jan 10, 2020
    Configuration menu
    Copy the full SHA
    7d558f1 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    8365277 View commit details
    Browse the repository at this point in the history

Commits on Feb 19, 2020

  1. custom: Allow no_std custom RNG handlers

    Signed-off-by: Joe Richey <joerichey@google.com>
    josephlr committed Feb 19, 2020
    Configuration menu
    Copy the full SHA
    4263ac6 View commit details
    Browse the repository at this point in the history
  2. target: Drop support for some x86_64 targets

    We will use a more generic "cpu" mechanism to support these.
    
    Signed-off-by: Joe Richey <joerichey@google.com>
    josephlr committed Feb 19, 2020
    Configuration menu
    Copy the full SHA
    cd84484 View commit details
    Browse the repository at this point in the history
  3. cpu: Add support for CPU-based randomness

    This allows freestanding targets to use getrandom.
    
    Signed-off-by: Joe Richey <joerichey@google.com>
    josephlr committed Feb 19, 2020
    Configuration menu
    Copy the full SHA
    ff6299d View commit details
    Browse the repository at this point in the history
  4. tests: Improve testing infrastructure

    - Cleanup .travis.yml
      - Loops over std/no_std targets
      - Remove deprecated/useless keys
      - No more `cd`, we just use `--package`.
    - Improve tests
      - Main `getrandom` tests are now unit test modules instead of
        integration tests, making the code cleaner.
      - The custom RNG crates now use this common module as part of their
        integration tests.
      - No more weird test-only features needed to get the crate to build.
    
    Signed-off-by: Joe Richey <joerichey@google.com>
    josephlr committed Feb 19, 2020
    Configuration menu
    Copy the full SHA
    1375181 View commit details
    Browse the repository at this point in the history
  5. tests: Test CPU-based RNG on all x86 targets

    This allows us to verify the RDRAND implementation on Linux.
    
    Signed-off-by: Joe Richey <joerichey@google.com>
    josephlr committed Feb 19, 2020
    Configuration menu
    Copy the full SHA
    52e7e9f View commit details
    Browse the repository at this point in the history

Commits on Feb 20, 2020

  1. rdrand: Add 32-bit x86 support

    Also add tests for 32-bit x86
    josephlr committed Feb 20, 2020
    Configuration menu
    Copy the full SHA
    2e39004 View commit details
    Browse the repository at this point in the history

Commits on Apr 25, 2020

  1. travis: Fix wasm32 CI

    Split emscripten stuff into its own target and stop relying on cargo web
    to download/manage then emscripten toolchain. We can just get it
    ourselves. We also now run the emscripten tests.
    
    Signed-off-by: Joe Richey <joerichey@google.com>
    josephlr committed Apr 25, 2020
    Configuration menu
    Copy the full SHA
    c25d0a8 View commit details
    Browse the repository at this point in the history

Commits on Apr 26, 2020

  1. Merge pull request rust-random#141 from josephlr/travis

    travis: Fix wasm32 CI
    dhardy authored Apr 26, 2020
    Configuration menu
    Copy the full SHA
    3d17318 View commit details
    Browse the repository at this point in the history

Commits on Apr 27, 2020

  1. error: Make internal_error! a function

    Also make Error::code a const fn. These increase the Min Rust version to 1.33
    josephlr committed Apr 27, 2020
    Configuration menu
    Copy the full SHA
    d1a84db View commit details
    Browse the repository at this point in the history
  2. assert: Make use of asserts consistent

    - Use debug asserts in code
    - Use normal asserts in tests
    - Use *assert_eq! methods when possible
    - Remove unnecessary asserts
    josephlr committed Apr 27, 2020
    Configuration menu
    Copy the full SHA
    b3d3fbc View commit details
    Browse the repository at this point in the history
  3. build: Remove getrandom_uwp cfg

    As our minimum rust version is 1.33, we can just use `target_vendor`.
    josephlr committed Apr 27, 2020
    Configuration menu
    Copy the full SHA
    afcfcd1 View commit details
    Browse the repository at this point in the history
  4. ios: Don't use SecRandom type

    The type of the `rnd` parameter is SecRandomRef which is an alias for an
    "Opaque Pointer". This is better represented in Rust as a c_void pointer.
    
    We also know that kSecRandomDefault is NULL, so we can simplify the code.
    
    https://developer.apple.com/documentation/security/1399291-secrandomcopybytes
    https://developer.apple.com/documentation/security/secrandomref
    https://developer.apple.com/documentation/swift/imported_c_and_objective-c_apis/using_imported_c_functions_in_swift
    josephlr committed Apr 27, 2020
    Configuration menu
    Copy the full SHA
    138d903 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    74eca5e View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    c7862af View commit details
    Browse the repository at this point in the history
  7. Merge pull request rust-random#145 from josephlr/nightly

    travis: Allow nightly builds to fail
    dhardy authored Apr 27, 2020
    Configuration menu
    Copy the full SHA
    717b5cc View commit details
    Browse the repository at this point in the history
  8. travis: Fix wasm32 CI

    Split emscripten stuff into its own target and stop relying on cargo web
    to download/manage then emscripten toolchain. We can just get it
    ourselves. We also now run the emscripten tests.
    
    Signed-off-by: Joe Richey <joerichey@google.com>
    josephlr committed Apr 27, 2020
    Configuration menu
    Copy the full SHA
    b44da72 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    54b4c8d View commit details
    Browse the repository at this point in the history
  10. Fixing Webpack require warning

    Pauan authored and josephlr committed Apr 27, 2020
    Configuration menu
    Copy the full SHA
    f1c264d View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    0ad1c77 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    7bfdabf View commit details
    Browse the repository at this point in the history
  13. Fixing Webpack require warning

    Pauan authored and josephlr committed Apr 27, 2020
    Configuration menu
    Copy the full SHA
    ec4a3e1 View commit details
    Browse the repository at this point in the history

Commits on Apr 28, 2020

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

Commits on May 25, 2020

  1. ci: Pin the Cross binary to avoid breaking the CI

    Signed-off-by: Joe Richey <joerichey@google.com>
    josephlr committed May 25, 2020
    Configuration menu
    Copy the full SHA
    7631f75 View commit details
    Browse the repository at this point in the history
  2. AppVeyor: Run CI on 0.2 branch

    Signed-off-by: Joe Richey <joerichey@google.com>
    josephlr committed May 25, 2020
    Configuration menu
    Copy the full SHA
    10df558 View commit details
    Browse the repository at this point in the history
  3. wasm32: Unify error codes an implementations

    Right now, while our implementations for stdweb and wasm-bindgen use
    similar APIs, they do not use similar implementations. This change:
    
      - Switches to using the same error codes for both implementations
      - Uses error codes that detail exactly what API is missing
      - Cleans up the implemetnations to make them much more readable
      - Consitantly use thread_local in both implementations
    
    This makes issues easier to debug and the code easier to understand.
    
    Signed-off-by: Joe Richey <joerichey@google.com>
    josephlr committed May 25, 2020
    Configuration menu
    Copy the full SHA
    a29180a View commit details
    Browse the repository at this point in the history

Commits on May 29, 2020

  1. cpu: Have "cpu" feature take precedence over "custom"

    Right now, features are always enabled across all targets. This means
    that if _any_ Custom RNG is used _anywhere_ in a crate's dependancy
    graph on _any_ target. The "custom" feature will be active on all
    targets.
    
    This makes it impossible to have a bare metal target that uses "cpu" on
    x86_64 and a Custom RNG on aarch64. This solution also makes sure that
    any implementation `getrandom` itself provides cannot be overridden.
    
    Signed-off-by: Joe Richey <joerichey@google.com>
    josephlr committed May 29, 2020
    Configuration menu
    Copy the full SHA
    618593c View commit details
    Browse the repository at this point in the history
  2. Rename "cpu" feature to "rdrand"

    Signed-off-by: Joe Richey <joerichey@google.com>
    josephlr committed May 29, 2020
    Configuration menu
    Copy the full SHA
    6aba12c View commit details
    Browse the repository at this point in the history
  3. wasm: Move JS-based Custom RNGs back into the main crate

    They will be gated behind the "js" feature, as we can now do detect,
    at compile-time, which implementation (wasm-bindgen vs stdweb) we
    should use.
    
    The "js" implementation takes precedence over the "custom"
    implementation. This prevents issues that arise from the buggy way
    Cargo handles features across multiple targets.
    
    Signed-off-by: Joe Richey <joerichey@google.com>
    josephlr committed May 29, 2020
    Configuration menu
    Copy the full SHA
    eacffd5 View commit details
    Browse the repository at this point in the history
  4. wasm: Update testing framework

    Add back the "test-in-browser" feature. This makes it easier to manage
    a single file containing all of the test code.
    
    Signed-off-by: Joe Richey <joerichey@google.com>
    josephlr committed May 29, 2020
    Configuration menu
    Copy the full SHA
    11b4f9e View commit details
    Browse the repository at this point in the history

Commits on Jul 21, 2020

  1. stdweb: Remove CI runs with cargo-web

    Right now "cargo web test" is broken due to upstream changes. We will
    disable stdweb tests until the stdweb project fixes things.
    
    See: koute/cargo-web#243
    
    Signed-off-by: Joe Richey <joerichey@google.com>
    josephlr committed Jul 21, 2020
    Configuration menu
    Copy the full SHA
    706a429 View commit details
    Browse the repository at this point in the history
  2. ci: Remove old reference to wasm-bindgen-getrandom

    Signed-off-by: Joe Richey <joerichey@google.com>
    josephlr committed Jul 21, 2020
    Configuration menu
    Copy the full SHA
    f6af828 View commit details
    Browse the repository at this point in the history

Commits on Jul 22, 2020

  1. Remove workaround for older Linux kernels

    Minimum supported kernel version got bumped to 2.6.32 in rust-lang/rust#74163
    newpavlov authored and josephlr committed Jul 22, 2020
    Configuration menu
    Copy the full SHA
    2b03b0e View commit details
    Browse the repository at this point in the history
  2. rustfmt: Run cargo fmt

    josephlr committed Jul 22, 2020
    Configuration menu
    Copy the full SHA
    fc83790 View commit details
    Browse the repository at this point in the history

Commits on Aug 14, 2020

  1. bsd_arandom: Read only 256 bytes at a time

    Older NetBSD kernels cannot handle buffers bigger than 256 bytes, and
    all FreeBSD and NetBSD kernels only return up to 256 bytes per call.
    
    Signed-off-by: Joe Richey <joerichey@google.com>
    josephlr committed Aug 14, 2020
    Configuration menu
    Copy the full SHA
    24e5886 View commit details
    Browse the repository at this point in the history

Commits on Sep 8, 2020

  1. travis: Apply rust-random#157 to 0.2 branch

    Signed-off-by: Joe Richey <joerichey@google.com>
    josephlr committed Sep 8, 2020
    Configuration menu
    Copy the full SHA
    2723e7f View commit details
    Browse the repository at this point in the history
  2. Update MSRV to 1.34

    Signed-off-by: Joe Richey <joerichey@google.com>
    josephlr committed Sep 8, 2020
    Configuration menu
    Copy the full SHA
    0a5017e View commit details
    Browse the repository at this point in the history
  3. travis: Update pinned dependancies

    Also, pin the version of rustc, so that nightly updates don't break
    our build. This means that we can add the nightlies back into the
    blocking set of tests.
    
    Update the Ubuntu version to 20.04
    Don't run any cargo-web tests (upstream is broken)
    
    Signed-off-by: Joe Richey <joerichey@google.com>
    josephlr committed Sep 8, 2020
    Configuration menu
    Copy the full SHA
    d8679fb View commit details
    Browse the repository at this point in the history
  4. travis: Move cloudabi to xbuild section

    Cloud ABI [is now Tier 3](rust-lang/rust#75568),
    so its libstd is no longer distributed with Rust.
    
    Firefox testing is also disabled due to:
      rustwasm/wasm-bindgen#2261
    
    Signed-off-by: Joe Richey <joerichey@google.com>
    josephlr committed Sep 8, 2020
    Configuration menu
    Copy the full SHA
    9ec7d21 View commit details
    Browse the repository at this point in the history
  5. travis: Stop Pinning nightly

    Signed-off-by: Joe Richey <joerichey@google.com>
    josephlr committed Sep 8, 2020
    Configuration menu
    Copy the full SHA
    7dcb167 View commit details
    Browse the repository at this point in the history
  6. travis: Stop pinning nightly on 0.2

    Signed-off-by: Joe Richey <joerichey@google.com>
    josephlr committed Sep 8, 2020
    Configuration menu
    Copy the full SHA
    c36dc82 View commit details
    Browse the repository at this point in the history

Commits on Sep 9, 2020

  1. travis: Enable Firefox testing

    rustwasm/wasm-bindgen#2305 released the bugfix for wasm-bindgen.
    
    Signed-off-by: Joe Richey <joerichey@google.com>
    josephlr committed Sep 9, 2020
    Configuration menu
    Copy the full SHA
    4d750dd View commit details
    Browse the repository at this point in the history

Commits on Sep 10, 2020

  1. Update docs for 0.2

    The main things here are clarifying how fallback functionatliy works.
    
    Signed-off-by: Joe Richey <joerichey@google.com>
    josephlr committed Sep 10, 2020
    Configuration menu
    Copy the full SHA
    99260df View commit details
    Browse the repository at this point in the history
  2. Format compile_error!

    Signed-off-by: Joe Richey <joerichey@google.com>
    josephlr committed Sep 10, 2020
    Configuration menu
    Copy the full SHA
    4f4009a View commit details
    Browse the repository at this point in the history
  3. docs: Update wasm32 support section

    Include more links, exampales, and clarify wording
    
    Signed-off-by: Joe Richey <joerichey@google.com>
    josephlr committed Sep 10, 2020
    Configuration menu
    Copy the full SHA
    e8ff222 View commit details
    Browse the repository at this point in the history
  4. docs: Clarify when/where to use custom implementations

    Signed-off-by: Joe Richey <joerichey@google.com>
    josephlr committed Sep 10, 2020
    Configuration menu
    Copy the full SHA
    b416060 View commit details
    Browse the repository at this point in the history
  5. travis: Make sure to run docs tests for all features

    Signed-off-by: Joe Richey <joerichey@google.com>
    josephlr committed Sep 10, 2020
    Configuration menu
    Copy the full SHA
    bf6d124 View commit details
    Browse the repository at this point in the history
  6. docs: Update section headers

    Signed-off-by: Joe Richey <joerichey@google.com>
    josephlr committed Sep 10, 2020
    Configuration menu
    Copy the full SHA
    a6fa63c View commit details
    Browse the repository at this point in the history
  7. docs: Clarify intended usage for Custom RNGs

    Signed-off-by: Joe Richey <joerichey@google.com>
    josephlr committed Sep 10, 2020
    Configuration menu
    Copy the full SHA
    1ebd2ce View commit details
    Browse the repository at this point in the history
  8. custom: Add check for function type

    This makes sure we get a good compiler error if we give a bad path.
    
    Signed-off-by: Joe Richey <joerichey@google.com>
    josephlr committed Sep 10, 2020
    Configuration menu
    Copy the full SHA
    b8c0c8d View commit details
    Browse the repository at this point in the history
  9. docs: Clarify deps of root binary crate

    Signed-off-by: Joe Richey <joerichey@google.com>
    josephlr committed Sep 10, 2020
    Configuration menu
    Copy the full SHA
    e0c155e View commit details
    Browse the repository at this point in the history
  10. docs: add target triple to docs table

    Signed-off-by: Joe Richey <joerichey@google.com>
    josephlr committed Sep 10, 2020
    Configuration menu
    Copy the full SHA
    b929998 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    5f4886b View commit details
    Browse the repository at this point in the history
  12. Update Changelog for 0.2

    Signed-off-by: Joe Richey <joerichey@google.com>
    josephlr committed Sep 10, 2020
    Configuration menu
    Copy the full SHA
    5d2a4a2 View commit details
    Browse the repository at this point in the history

Commits on Oct 16, 2020

  1. Update to cfg-if 1.0

    mbrubeck authored and josephlr committed Oct 16, 2020
    Configuration menu
    Copy the full SHA
    7dd681e View commit details
    Browse the repository at this point in the history
  2. Update wasi to 0.10

    Signed-off-by: koushiro <koushiro.cqx@gmail.com>
    koushiro authored and josephlr committed Oct 16, 2020
    Configuration menu
    Copy the full SHA
    3a7e605 View commit details
    Browse the repository at this point in the history

Commits on Oct 26, 2020

  1. Fix multithreaded wasm crash (solves rust-random#164) (rust-random#165)

    Signed-off-by: Joe Richey <joerichey@google.com>
    chemicstry authored Oct 26, 2020
    Configuration menu
    Copy the full SHA
    c29dd5f View commit details
    Browse the repository at this point in the history

Commits on Dec 2, 2020

  1. Enable travis for 0.1 branch

    Signed-off-by: Joe Richey <joerichey@google.com>
    josephlr authored and newpavlov committed Dec 2, 2020
    Configuration menu
    Copy the full SHA
    2d89994 View commit details
    Browse the repository at this point in the history

Commits on Dec 14, 2020

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

Commits on Dec 18, 2020

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

Commits on Jan 2, 2021

  1. Remove CloudABI support (rust-random#184)

    * Remove CloudABI support and update CI
    newpavlov authored Jan 2, 2021
    Configuration menu
    Copy the full SHA
    9b4bb00 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    77740f8 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    cadf11e View commit details
    Browse the repository at this point in the history

Commits on Jan 3, 2021

  1. Update badges (rust-random#189)

    Point the build status badges to point to Github Actions
    
    Add badges for:
      - Downloads
      - License
    
    Fix formatting to make updating easier
    
    Signed-off-by: Joe Richey <joerichey@google.com>
    josephlr authored Jan 3, 2021
    Configuration menu
    Copy the full SHA
    b78e2e8 View commit details
    Browse the repository at this point in the history
  2. Remove RtlGenRandom implementation

    Also remove outdated comment from windows_uwp.rs
    josephlr committed Jan 3, 2021
    Configuration menu
    Copy the full SHA
    ffb7215 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    a0d23eb View commit details
    Browse the repository at this point in the history
  4. Fix Target Triple

    Signed-off-by: Joe Richey <joerichey@google.com>
    josephlr committed Jan 3, 2021
    Configuration menu
    Copy the full SHA
    a37be0d View commit details
    Browse the repository at this point in the history

Commits on Jan 4, 2021

  1. Release v0.2.1 (rust-random#188)

    Updates Changelog to include v0.1.16 changes as well
    newpavlov authored Jan 4, 2021
    Configuration menu
    Copy the full SHA
    95be9b4 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    6c94834 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    3303349 View commit details
    Browse the repository at this point in the history
  4. Add Clippy msrv configuration file

    This allows us to automatically ignore lints that are
    incompatible with our MSRV.
    
    Signed-off-by: Joe Richey <joerichey@google.com>
    josephlr committed Jan 4, 2021
    Configuration menu
    Copy the full SHA
    d5186e0 View commit details
    Browse the repository at this point in the history
  5. Update CI

    - Cleanup `tests.yml`
    - Add better binary downloads
    - Add minimal dependancies check
    - Add tests for `custom` feature
    - Build/Link for iOS
    - Run cross tests on aarch64 linux and Android
    - Link on Solaris and Netbsd
    - Test wasm code on Node, Chrome, Firefox
    - Test WASI
    - No need for RDRAND feature on VxWorks
    
    Signed-off-by: Joe Richey <joerichey@google.com>
    josephlr committed Jan 4, 2021
    Configuration menu
    Copy the full SHA
    ea73f5a View commit details
    Browse the repository at this point in the history
  6. Only test macOS on stable

    Most of the advantages from testing various Rust versions already come
    from running those tests on Linux and Windows. There's very little
    gain from also running these tests on macOS, while macOS jobs are the
    slowest to schedule.
    
    Signed-off-by: Joe Richey <joerichey@google.com>
    josephlr committed Jan 4, 2021
    Configuration menu
    Copy the full SHA
    7687498 View commit details
    Browse the repository at this point in the history
  7. Clarify use of .cargo/config

    Signed-off-by: Joe Richey <joerichey@google.com>
    josephlr committed Jan 4, 2021
    Configuration menu
    Copy the full SHA
    e593f43 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    7b8f2ba View commit details
    Browse the repository at this point in the history
  9. Merge pull request rust-random#192 from rust-random/ci

    Update Github Actions CI for the master branch
    josephlr authored Jan 4, 2021
    Configuration menu
    Copy the full SHA
    1c6749e View commit details
    Browse the repository at this point in the history
  10. Move tests to tests/ directory (rust-random#195)

    Signed-off-by: Joe Richey <joerichey@google.com>
    josephlr authored Jan 4, 2021
    Configuration menu
    Copy the full SHA
    e29ed04 View commit details
    Browse the repository at this point in the history

Commits on Jan 5, 2021

  1. Add Emscripten tests (rust-random#196)

    See rust-random#194 
    
    This installs (and caches) the emsdk toolchain at the last version compatible w/ stable rust. It also tests on both asmjs and wasm32, uses node by default, and works around an asm.js bug.
    josephlr authored Jan 5, 2021
    Configuration menu
    Copy the full SHA
    9d7a76c View commit details
    Browse the repository at this point in the history
  2. Add test for custom RNG handler (rust-random#197)

    See rust-random#194
    
    This uses the fact that `wasm32-unknown-unknown` is an "unsupported" target. This means we can use the `"custom"` feature to define a custom handler, and then write tests to make sure that function is called.
    josephlr authored Jan 5, 2021
    Configuration menu
    Copy the full SHA
    347a300 View commit details
    Browse the repository at this point in the history

Commits on Jan 17, 2021

  1. Cache Cargo index and Rust build directory

    Signed-off-by: Joe Richey <joerichey@google.com>
    josephlr committed Jan 17, 2021
    Configuration menu
    Copy the full SHA
    03cc4f7 View commit details
    Browse the repository at this point in the history
  2. Properly forward rustc-dep-of-std feature

    Signed-off-by: Joe Richey <joerichey@google.com>
    josephlr committed Jan 17, 2021
    Configuration menu
    Copy the full SHA
    3661e9d View commit details
    Browse the repository at this point in the history
  3. Merge pull request rust-random#198 from rust-random/hermit

    Add fixes for Caching and rustc-dep-of-std feature
    josephlr authored Jan 17, 2021
    Configuration menu
    Copy the full SHA
    9a48bfa View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    69634b7 View commit details
    Browse the repository at this point in the history

Commits on Jan 19, 2021

  1. Modify doc tests to set docsrs

    Signed-off-by: Joe Richey <joerichey@google.com>
    josephlr committed Jan 19, 2021
    Configuration menu
    Copy the full SHA
    2cfbd8e View commit details
    Browse the repository at this point in the history
  2. Set doc(cfg(feature = "std")) on std trait impls

    Signed-off-by: Joe Richey <joerichey@google.com>
    josephlr committed Jan 19, 2021
    Configuration menu
    Copy the full SHA
    d7a0d58 View commit details
    Browse the repository at this point in the history
  3. Merge pull request rust-random#200 from rust-random/doc_feature

    Use doc_cfg to improve register_custom_getrandom docs
    josephlr authored Jan 19, 2021
    Configuration menu
    Copy the full SHA
    27b5172 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    d79de0c View commit details
    Browse the repository at this point in the history

Commits on Feb 2, 2021

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

Commits on Feb 17, 2021

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

Commits on Mar 6, 2021

  1. Update docs and compile_errors for wasm32-unknown-unknown (rust-rando…

    …m#209)
    
    Signed-off-by: Joe Richey <joerichey@google.com>
    josephlr authored Mar 6, 2021
    Configuration menu
    Copy the full SHA
    0eb0be1 View commit details
    Browse the repository at this point in the history

Commits on Apr 4, 2021

  1. Add support for getrandom syscall on DragonFly BSD (rust-random#210)

    DragonFly BSD supports the getrandom system call since version 5.7 [1].
    Use it if available, otherwise fall back to /dev/random.
    
    [1] https://leaf.dragonflybsd.org/cgi/web-man?command=getrandom
    
    Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
    tklauser authored Apr 4, 2021
    Configuration menu
    Copy the full SHA
    36d085a View commit details
    Browse the repository at this point in the history

Commits on Apr 11, 2021

  1. Merge branch 'main'

    m-ou-se committed Apr 11, 2021
    Configuration menu
    Copy the full SHA
    3d60f91 View commit details
    Browse the repository at this point in the history