Skip to content

Commit f801d41

Browse files
committed
Add the standard WG header to the README
1 parent 2e6fd47 commit f801d41

File tree

3 files changed

+49
-11
lines changed

3 files changed

+49
-11
lines changed

Diff for: README.md

+24-5
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,29 @@
1-
# `wasm-snip`
1+
<div align="center">
22

3+
<h1><code>wasm-snip</code></h1>
4+
5+
<strong><code>wasm-snip</code> replaces a Wasm function's body with an <code>unreachable</code> instruction.</strong>
6+
7+
<p>
8+
<a href="https://travis-ci.org/rustwasm/wasm-snip"><img src="https://img.shields.io/travis/rustwasm/wasm-snip.svg?style=flat-square" alt="Build Status" /></a>
9+
<a href="https://crates.io/crates/wasm-snip"><img src="https://img.shields.io/crates/v/wasm-snip.svg?style=flat-square" alt="Crates.io version" /></a>
10+
<a href="https://crates.io/crates/wasm-snip"><img src="https://img.shields.io/crates/d/wasm-snip.svg?style=flat-square" alt="Download" /></a>
11+
<a href="https://docs.rs/wasm-snip"><img src="https://img.shields.io/badge/docs-latest-blue.svg?style=flat-square" alt="docs.rs docs" /></a>
12+
</p>
13+
14+
<h3>
15+
<a href="https://docs.rs/wasm-snip">API Docs</a>
16+
<span> | </span>
17+
<a href="https://github.com/rustwasm/wasm-snip/blob/master/CONTRIBUTING.md">Contributing</a>
18+
<span> | </span>
19+
<a href="https://discordapp.com/channels/442252698964721669/443151097398296587">Chat</a>
20+
</h3>
21+
22+
<sub>Built with 🦀🕸 by <a href="https://rustwasm.github.io/">The Rust and WebAssembly Working Group</a></sub>
23+
</div>
24+
25+
## About
326

4-
[![](https://docs.rs/wasm-snip/badge.svg)](https://docs.rs/wasm-snip/)
5-
[![](https://img.shields.io/crates/v/wasm-snip.svg)](https://crates.io/crates/wasm-snip)
6-
[![](https://img.shields.io/crates/d/wasm-snip.png)](https://crates.io/crates/wasm-snip)
7-
[![Build Status](https://travis-ci.org/rustwasm/wasm-snip.png?branch=master)](https://travis-ci.org/rustwasm/wasm-snip)
827

928
`wasm-snip` replaces a WebAssembly function's body with an `unreachable`.
1029

Diff for: README.tpl

+25-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,27 @@
1-
# `{{crate}}`
1+
<div align="center">
2+
3+
<h1><code>wasm-snip</code></h1>
4+
5+
<strong><code>wasm-snip</code> replaces a Wasm function's body with an <code>unreachable</code> instruction.</strong>
6+
7+
<p>
8+
<a href="https://travis-ci.org/rustwasm/wasm-snip"><img src="https://img.shields.io/travis/rustwasm/wasm-snip.svg?style=flat-square" alt="Build Status" /></a>
9+
<a href="https://crates.io/crates/wasm-snip"><img src="https://img.shields.io/crates/v/wasm-snip.svg?style=flat-square" alt="Crates.io version" /></a>
10+
<a href="https://crates.io/crates/wasm-snip"><img src="https://img.shields.io/crates/d/wasm-snip.svg?style=flat-square" alt="Download" /></a>
11+
<a href="https://docs.rs/wasm-snip"><img src="https://img.shields.io/badge/docs-latest-blue.svg?style=flat-square" alt="docs.rs docs" /></a>
12+
</p>
13+
14+
<h3>
15+
<a href="https://docs.rs/wasm-snip">API Docs</a>
16+
<span> | </span>
17+
<a href="https://github.com/rustwasm/wasm-snip/blob/master/CONTRIBUTING.md">Contributing</a>
18+
<span> | </span>
19+
<a href="https://discordapp.com/channels/442252698964721669/443151097398296587">Chat</a>
20+
</h3>
21+
22+
<sub>Built with 🦀🕸 by <a href="https://rustwasm.github.io/">The Rust and WebAssembly Working Group</a></sub>
23+
</div>
24+
25+
## About
226

327
{{readme}}

Diff for: src/lib.rs

-5
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,5 @@
11
/*!
22
3-
[![](https://docs.rs/wasm-snip/badge.svg)](https://docs.rs/wasm-snip/)
4-
[![](https://img.shields.io/crates/v/wasm-snip.svg)](https://crates.io/crates/wasm-snip)
5-
[![](https://img.shields.io/crates/d/wasm-snip.png)](https://crates.io/crates/wasm-snip)
6-
[![Build Status](https://travis-ci.org/rustwasm/wasm-snip.png?branch=master)](https://travis-ci.org/rustwasm/wasm-snip)
7-
83
`wasm-snip` replaces a WebAssembly function's body with an `unreachable`.
94
105
Maybe you know that some function will never be called at runtime, but the

0 commit comments

Comments
 (0)