ashley williams
a7324f7528
Merge pull request #197 from Brooooooklyn/master
...
fix(mainfest): missing _bg.js file in package.json
7 years ago
LongYinan
729d543802
fix(mainfest): missing _bg.js file in package.json
7 years ago
Michael Gattozzi
b0470b08e0
Merge pull request #195 from steveklabnik/patch-1
...
Fix code example in README
7 years ago
Steve Klabnik
81e5868e1e
Fix code example in README
...
This won't compile if it isn't pub!
Fixes https://github.com/rustwasm/wasm-bindgen/issues/309
7 years ago
Michael Gattozzi
faed3912f3
Merge pull request #193 from SoryRawyer/remove-quicli-result
...
Remove result prefix and std import, now that quicli is no longer a d…
7 years ago
soryrawyer
072bbc67da
Remove result prefix and std import, now that quicli is no longer a dependency
7 years ago
ashley williams
d71a7e480e
Merge pull request #166 from ashleygwilliams/0.4.0
...
v0.4.0
7 years ago
Ashley Williams
309e6ab712
v0.4.0
7 years ago
Ashley Williams
880c8a75fa
feat(dep): update lock file
7 years ago
ashley williams
3f8584e4de
Merge pull request #187 from migerh/replace-std-rwlock
...
Replace std::sync::RwLock with parking_lot
7 years ago
ashley williams
48410ba07f
Merge pull request #186 from ashleygwilliams/no-install-no-cry
...
feat(init): no install flag
7 years ago
Ashley Williams
78527b7a7e
fix(style): appease cargo fmt
7 years ago
Michael Gattozzi
f2fbe264d4
fix(no-install): cratename should not be an option
7 years ago
Michael Gerhaeuser
62423e33d4
Replace std::sync::RwLock with parking_lot
...
The standard library version of an `RwLock` may get poisoned if a thread
panics that holds a write lock. The `RwLock` from parking_lot [1] does
not get poisoned it instead released the lock on a panic. This allows us
to simplify the `ProgressOutput` API since it no longer returns any
errors. No more panics can occur on `ProgressOutput::drop()`. The
`Error` enum can thus be simplified as well because there is no need to
convert `PoisonErrors` anymore.
[1] https://github.com/Amanieu/parking_lot
7 years ago
Ashley Williams
44f26dfcb2
feat(init): no install flag
7 years ago
ashley williams
1c50b12b8f
Merge pull request #181 from ashleygwilliams/migerh-fix-spinners
...
Let the spinners spin again
7 years ago
Michael Gattozzi
1b0120e7cc
Merge pull request #184 from mtharrison/fix-broken-links
...
Fix broken links to rust-lang-nursery/rust-wasm
7 years ago
Matt Harrison
d1c39eb8b8
Fix broken links to rust-lang-nursery
7 years ago
Michael Gattozzi
e30ed470aa
Merge pull request #182 from ashleygwilliams/refactor-command-into-mods
...
refactor(command): modularize command.rs
7 years ago
Ashley Williams
ca0f469356
refactor(command): modularize command.rs
7 years ago
Ashley Williams
d09db16623
fix(crate_config): combine crate type and dep check, emit step
7 years ago
Ashley Williams
c190d5d444
fix(nobuild): don't check dependency
7 years ago
Ashley Williams
c789b6a522
refactor(crate_type): bring inline with wasm-bindgen check
7 years ago
Ashley Williams
f063f4cfcc
fix(command): s/create_type/crate_type
7 years ago
Michael Gerhaeuser
9a220f10dd
Let the spinners spin again
...
This will fix the broken spinners that indicate steps which are
currently in progress. To achieve this the behavior of the progressbar
helper had to be adjusted.
The multibar does not work while a child process is run with
`std::process::Command`. Using multiple spinners without a multibar is
problematic as well because emitting warnings, infos and errors while a
single spinner is active will duplicate the spinners message. The
spinner will also absorb the last warning/error/info. Instead of
publishing warnings, errors and infos immediately they will now be
cached and only output when the current spinner finishes.
To make sure we can output all warnings to the user ProgressBars are no
longer exposed to the caller. Instead the active spinner will be
finished implicitly when a new spinner is allocated with the `message()`
function. Instead of relying on the `done()` function to be called the
progressbar now implements the `Drop` trait which will finish the last
spinner automatically.
Unfortunately, this introduces members that have to be mutable. To not
have to deal with mutable ProgressOutput all over the place the members
were put inside an RwLock. This allows us to use ProgressOutput from
inside multiple threads to emit warnings and errors.
7 years ago
ashley williams
a8d6e6864a
Merge pull request #176 from na-g/patch-1
...
Fix broken guide link
7 years ago
na-g
9778f46fe1
Fix broken guide link
7 years ago
ashley williams
460dade1df
Merge pull request #175 from ashleygwilliams/FreeMasen-master
...
Add nightly toolchain to commands
7 years ago
Robert Masen
5e8f723665
Add nightly toolchain to commands
7 years ago
ashley williams
0c8c90ab14
Merge pull request #151 from kohensu/add_--skip-build_flag_#144
...
Add --skip-build flag for init command #144
7 years ago
kohensu
74fe847f77
Add test of --skip-build
7 years ago
kohensu
365813e96e
Add doc for --skip-build
7 years ago
kohensu
09046aa40b
Add --skip-build flag for init command
...
This flag skips:
adding target
compiling to wasm
installing wasm-bindgen
running wasm-bindgen
7 years ago
ashley williams
06160a1edb
Merge pull request #167 from ashleygwilliams/robertohuertasm-feature-wasm-bindgen-detection
...
Robertohuertasm feature wasm bindgen detection
7 years ago
Ashley Williams
2100c153d2
fix(style): appease cargo fmt
7 years ago
ashley williams
f449346416
Merge branch 'master' into feature-wasm-bindgen-detection
7 years ago
ashley williams
11908d700f
Merge pull request #150 from kedromelon/cdylib-check
...
check that crate type includes cdylib
7 years ago
ashley williams
d9fdd631e8
Merge pull request #127 from clanehin/master
...
Add a --debug option to suppress cargo build --release.
7 years ago
ashley williams
53d6641d33
Merge pull request #155 from ashleygwilliams/readme-redo
...
doc(readme): clean up readme and move some stuff to docs dir
7 years ago
Ashley Williams
0cb28e7e06
doc(readme): clean up readme and move some stuff to docs dir
7 years ago
Roberto Huertas
92b18f05bb
feat(wasm_bindgen): checks wasm-bindgen declaration in Cargo.toml
7 years ago
ashley williams
0cab05d6c1
Merge pull request #156 from spacekookie/bump-human-panic
...
Bumping human-panic to 1.0.0
7 years ago
Christopher Lane Hinson
b393e4b6c2
Add warning about --debug flag in documentation.
7 years ago
Christopher Lane Hinson
e3c251b6d8
Documentation for --debug flag.
7 years ago
Christopher Lane Hinson
fb4c8e2731
Add a --debug option to suppress --release.
7 years ago
Katharina Fey
efa965f02a
Bumping human-panic to 1.0.0
7 years ago
Noah Lemen
2cb292164c
change crate config error naming, improve error message content
7 years ago
Noah Lemen
ee29ab2a76
refactor `has_cdylib` and return `Result<bool, Error>`, use serde renaming
7 years ago
Noah Lemen
cad30f42ce
check that crate type includes cdylib
7 years ago
ashley williams
1d946d6a19
Merge pull request #149 from TomasHubelbauer/patch-1
...
Add WASM to Cargo categories
7 years ago