70 Commits

Author SHA1 Message Date
Artyom Pavlov
6c94834850
Remove outdated entries from Cargo.toml (#193) 2021-01-03 20:43:15 -08:00
Artyom Pavlov
95be9b40b4
Release v0.2.1 (#188)
Updates Changelog to include v0.1.16 changes as well
2021-01-03 19:52:26 -08:00
Artyom Pavlov
77740f8c45
remove direct stdweb support (#178) 2021-01-02 02:54:25 -08:00
Jurgis
c29dd5f80e
Fix multithreaded wasm crash (solves #164) (#165)
Signed-off-by: Joe Richey <joerichey@google.com>
2020-10-26 13:41:31 -07:00
koushiro
3a7e605345 Update wasi to 0.10
Signed-off-by: koushiro <koushiro.cqx@gmail.com>
2020-10-15 23:11:33 -07:00
Matt Brubeck
7dd681ec08 Update to cfg-if 1.0 2020-10-15 22:25:36 -07:00
Joe Richey
99260dfaef Update docs for 0.2
The main things here are clarifying how fallback functionatliy works.

Signed-off-by: Joe Richey <joerichey@google.com>
2020-09-10 00:45:13 -07:00
Joe Richey
4d750dd240 travis: Enable Firefox testing
https://github.com/rustwasm/wasm-bindgen/pull/2305 released the bugfix for wasm-bindgen.

Signed-off-by: Joe Richey <joerichey@google.com>
2020-09-09 00:53:31 -07:00
Joe Richey
11b4f9e406 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>
2020-05-29 01:11:13 -07:00
Joe Richey
eacffd578a 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>
2020-05-29 01:11:13 -07:00
Joe Richey
6aba12ccdb Rename "cpu" feature to "rdrand"
Signed-off-by: Joe Richey <joerichey@google.com>
2020-05-28 19:03:02 -07:00
Joe Richey
ff6299dd77 cpu: Add support for CPU-based randomness
This allows freestanding targets to use getrandom.

Signed-off-by: Joe Richey <joerichey@google.com>
2020-02-19 10:21:58 -08:00
Joe Richey
8365277450 custom: Add Custom RNG for wasm-bindgen 2020-01-10 09:16:20 +00:00
Joe Richey
7d558f1cc3 custom: Add custom RNG for stdweb 2020-01-10 09:16:20 +00:00
Joe Richey
3d7a7b5f06 Remove built-in support for wasm32-unknown-unknown 2020-01-10 09:16:20 +00:00
Joe Richey
448bcac6b1 custom: Add support for Custom RNGs 2020-01-10 09:16:20 +00:00
Joseph Richey
d6b75d1c05
log: Remove optional log dependancy (#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.
2020-01-09 13:27:09 -08:00
Joe Richey
0f14f2a186 Merge branch 'master' into 0.2
Signed-off-by: Joe Richey <joerichey@google.com>
2020-01-08 11:11:08 -08:00
Artyom Pavlov
33b859bae1
Prepare release v0.1.14 (#128) 2020-01-07 12:05:23 +00:00
Joseph Richey
48781cd9ec wasi: Update and Fix Travis failures (#126) 2020-01-05 20:59:50 +00:00
Joseph Richey
8096bac100 0.2: Error and Testing improvements (#120) 2019-10-28 08:06:05 +00:00
Artyom Pavlov
d661aa7e1b
Prepare release v0.1.13 (#118) 2019-10-25 12:25:33 +00:00
Joe Richey
1f1f964e4a Merge branch 'master' into 0.2 2019-10-24 02:10:00 -07:00
Artyom Pavlov
9a385f1923
Add VxWorks support (#86) 2019-10-23 09:35:50 +00:00
Joseph Richey
add45a3899 Remove dummy implementation (#107)
Removes the “dummy” feature and “wasm32-unknown-unknown” dummy impl
2019-10-15 23:40:05 -07:00
David Kellum
2052159fd1 cfg-if 0.1.2 needed as minimal version of dep 2019-09-30 14:06:16 -07:00
Joseph Richey
fa6f929aed
Improve CI for web targets (#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
2019-09-21 01:46:26 -07:00
Artyom Pavlov
5cfa668403
Prepare release v0.1.12 (#103) 2019-09-06 12:01:01 +00:00
Artyom Pavlov
31e5b2fdd6
Update wasi dependency (#100) 2019-08-31 14:32:18 +00:00
Artyom Pavlov
208b318ace
Prepare release v0.1.11 (#97) 2019-08-25 02:28:06 +00:00
Joseph Richey
4db1b14074
Fix Redox CI (#85)
* Fix Redox CI

* Bump libc version to fix Redox
2019-08-24 19:23:36 -07:00
Artyom Pavlov
a9b7f92965
Prepare release v0.1.10 (#93) 2019-08-17 23:27:45 +00:00
Joseph Richey
3d1d2ff313 Wasi does not need libc (#88) 2019-08-15 00:10:22 +00:00
Artyom Pavlov
e266249f61
Prepare release v0.1.9 (#83) 2019-08-14 13:55:27 +00:00
Artyom Pavlov
7449a087f2
Add dummy feature (#71) 2019-08-08 14:31:41 +00:00
Artyom Pavlov
86c2cd6265
Use wasi isntead of libc (#64) 2019-08-08 08:02:19 +00:00
Joseph Richey
98934cb4ab Add rustc-dep-of-std feature (#78) 2019-08-06 10:08:16 +00:00
Joseph Richey
b69f832210 Remove libstd dependancy for Opening and Reading files (#58) 2019-08-06 10:07:22 +00:00
Artyom Pavlov
199b11576e
prepare release v0.1.8 (#76) 2019-08-05 09:02:19 +00:00
Artyom Pavlov
d93954a138
Prepare v0.1.7 release (#67) 2019-07-29 10:07:23 +00:00
Joseph Richey
dadef458ba Fix stdweb extern issue (#66) 2019-07-28 08:07:07 +00:00
Joseph Richey
00c3cff101 Improve Error handling (#54) 2019-07-27 01:51:54 +00:00
Joseph Richey
479d036949 Use cfg-if to simplify lib.rs (#55) 2019-07-05 15:47:51 +00:00
Joseph Richey
0c72017424 Remove lazy_static dependancy (#52) 2019-07-04 15:29:48 +00:00
Joseph Richey
b1e81542f8 Add Structures for lock-free initialization (#51) 2019-07-02 12:27:19 +00:00
newpavlov
e02e9466f9 release v0.1.6 2019-06-30 07:40:23 +03:00
Artyom Pavlov
30ac77336e
prepare release v0.1.5 (#47) 2019-06-29 13:53:32 +00:00
Artyom Pavlov
70f6ff70b7
Prepare v0.1.4 release (#42) 2019-06-28 11:45:13 +00:00
Joseph Richey
ea999a6dd2 Remove cloudabi, winapi, and fuchsia-cprng dependancies (#40) 2019-06-27 17:24:17 +00:00
Joseph Richey
af4ea8dc47 Remove TLS by using lazy_static (#25) 2019-06-25 19:58:44 +00:00