41 Commits

Author SHA1 Message Date
Diggory Hardy
214a71386f Enable optional logging of failures 2019-03-13 11:09:12 +00:00
Diggory Hardy
d33356f55f Enable optional logging support 2019-03-12 17:39:20 +00:00
Diggory Hardy
13d49ec09a Remove error module from API 2019-03-11 13:03:35 +00:00
Diggory Hardy
7d931042de Print error codes in hex; include codes in documentation 2019-03-11 12:54:52 +00:00
Diggory Hardy
23d8285296 Re-enable minimal dependency version testing on nightly runners 2019-03-02 10:59:14 +00:00
Diggory Hardy
1fabf59c96 Don't test minimal versions in CI
Option isn't compatible with stable Rustc.
Nightly runners already have important tests for latest version.
2019-03-01 12:00:08 +00:00
Diggory Hardy
1a2dcdc89b 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.
2019-03-01 11:53:46 +00:00
Diggory Hardy
b771a82ea6 Revise error types and codes 2019-03-01 11:27:43 +00:00
Diggory Hardy
679c52c23b
Merge pull request #10 from dhardy/ci
Add CI config and implement on WASM
2019-02-26 09:49:54 +00:00
Diggory Hardy
ac13e04b83 CI: do not test benches with stable Rustc (again) 2019-02-25 17:16:52 +00:00
Diggory Hardy
0d5f4c56f2 Remove usage of ATOMIC_BOOL_INIT
We currently don't support old enough compilers to require this.
2019-02-25 17:03:41 +00:00
Diggory Hardy
a40d3ded39 Fixes for CI, CloudABI, 32-bit Linux, MacOS, WASM
Also new: impl From<NonZeroU32> for Error
2019-02-25 17:03:41 +00:00
Diggory Hardy
51303b5bb8 Implement on WASM via stdweb and bindgen; add tests 2019-02-25 12:54:46 +00:00
Diggory Hardy
5607368c93 Fix Mac OSX implementation 2019-02-25 11:01:23 +00:00
Diggory Hardy
446cff37ed Fix cross-compilation script; disable non-existant Fuchsia target 2019-02-25 11:01:05 +00:00
Diggory Hardy
25bc1acba6 Fix doc links
Arguably the doc links and root URL are wrong, but they
avoid broken links and will do for now.
2019-02-25 10:51:20 +00:00
Diggory Hardy
557ee8f635 CI fix: do not test benches on stable 2019-02-25 10:44:47 +00:00
Diggory Hardy
b6e859cf0f Add CI configuration
Some of these tests will fail for now!
2019-02-25 10:37:22 +00:00
Diggory Hardy
ae1e2aab25 Add note on min Rustc version 2019-02-25 10:37:22 +00:00
Diggory Hardy
7f68c78868
Merge pull request #9 from jasonbking/illumos
8 Update Solaris getrandom
2019-02-25 10:36:54 +00:00
Jason King
819fb3fb38 8 Update Solaris getrandom 2019-02-23 02:32:33 +00:00
Diggory Hardy
10fdedd4cf
Merge pull request #7 from dhardy/master
Add getrandom wrapper func and documentation
2019-02-20 08:58:29 +00:00
Diggory Hardy
0f371be445 Rename getrandom_os → getrandom_inner; more WASM doc 2019-02-18 14:38:53 +00:00
Diggory Hardy
7ff3aff076 Error doc; fix for Solaris 2019-02-18 12:50:37 +00:00
Diggory Hardy
9ba1d37952 Impl From not Into 2019-02-18 12:23:11 +00:00
Diggory Hardy
4374fd7783 Add getrandom wrapper func and documentation 2019-02-18 12:10:29 +00:00
Diggory Hardy
24e7f8ffbb
Merge pull request #6 from newpavlov/init
Crate implementation
2019-02-14 10:23:32 +00:00
Artyom Pavlov
af5035f548
remove unused feature 2019-02-06 22:03:33 +00:00
newpavlov
9871d55e0a remove unsafe 2019-02-06 15:01:59 +03:00
newpavlov
1e2a5aa75e new error 2019-02-06 14:51:04 +03:00
newpavlov
f860bde8d8 use atomic bool to check RNG initialization 2019-02-06 13:47:36 +03:00
newpavlov
5ebbaf787e remove unsafe and newlines, add notice 2019-02-06 13:04:47 +03:00
Артём Павлов [Artyom Pavlov]
9855b52df2 change test cfg 2019-02-05 22:07:56 +03:00
Артём Павлов [Artyom Pavlov]
39ba5d2c92 remove redundant extern crate 2019-02-05 22:00:30 +03:00
Артём Павлов [Artyom Pavlov]
1049ce888e review updates 2019-02-05 21:57:35 +03:00
Артём Павлов [Artyom Pavlov]
8f6edad1bc add benchmarks 2019-02-05 20:59:26 +03:00
Артём Павлов [Artyom Pavlov]
d8c356b9e7 remove wasm-bindgen shims 2019-02-05 18:16:33 +03:00
newpavlov
99a1310986 use fuchsia-cprng 2019-02-05 13:00:43 +03:00
Artyom Pavlov
9420df9149
remove fuchsia loop
per https://github.com/rust-random/getrandom/pull/6#discussion_r253737722
2019-02-05 09:03:55 +00:00
newpavlov
71a3cb8a96 first commit 2019-02-04 20:57:30 +03:00
Diggory Hardy
c9440a20bd Add library skeleton 2019-01-19 12:56:20 +00:00