Skip to content

Commit 365578a

Browse files
committed
Add badges and install cargo readme
1 parent a773cbc commit 365578a

File tree

3 files changed

+7
-0
lines changed

3 files changed

+7
-0
lines changed

.travis.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ rust:
55
- nightly
66

77
script:
8+
- cargo install -f cargo-readme
89
- cargo test
910
- rustup target add wasm32-unknown-unknown --toolchain nightly
1011
- cargo build --target wasm32-unknown-unknown

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
## `console_error_panic_hook`
22

3+
[![](https://docs.rs/console_error_panic_hook/badge.svg)](https://docs.rs/console_error_panic_hook/)
4+
[![](https://img.shields.io/crates/v/console_error_panic_hook.svg)](https://crates.io/crates/console_error_panic_hook)
5+
[![](https://img.shields.io/crates/d/console_error_panic_hook.png)](https://crates.io/crates/console_error_panic_hook)
36
[![Build Status](https://travis-ci.org/rustwasm/console_error_panic_hook.svg?branch=master)](https://travis-ci.org/rustwasm/console_error_panic_hook)
47

58
This crate lets you debug panics on `wasm32-unknown-unknown` by providing a

src/lib.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
//! # `console_error_panic_hook`
22
//!
3+
//! [![](https://docs.rs/console_error_panic_hook/badge.svg)](https://docs.rs/console_error_panic_hook/)
4+
//! [![](https://img.shields.io/crates/v/console_error_panic_hook.svg)](https://crates.io/crates/console_error_panic_hook)
5+
//! [![](https://img.shields.io/crates/d/console_error_panic_hook.png)](https://crates.io/crates/console_error_panic_hook)
36
//! [![Build Status](https://travis-ci.org/rustwasm/console_error_panic_hook.svg?branch=master)](https://travis-ci.org/rustwasm/console_error_panic_hook)
47
//!
58
//! This crate lets you debug panics on `wasm32-unknown-unknown` by providing a

0 commit comments

Comments
 (0)