Tweak intro text

This commit is contained in:
Alex Crichton 2018-03-22 19:14:37 -07:00
parent a4ed4331dd
commit 5eff7c58f9

View File

@ -21,24 +21,21 @@ that it can be used for languages like C/C++!
Notable features of this project includes: Notable features of this project includes:
* Exposing Rust structs to JS as classes * Importing JS functionality in to Rust such as [DOM manipulation][dom-ex],
* Exposing Rust functions to JS [console logging][console-log], or [performance monitoring][perf-ex].
* Managing arguments between JS/Rust (strings, numbers, classes, objects, etc) * [Exporting Rust functionality][smorg-ex] to JS such as classes, funtions, etc.
* Importing JS functions with richer types (strings, objects) * Working with rich types like strings, numbers, classes, and objects rather
* Importing JS classes and calling methods than simply `u32` and floats.
* Receiving arbitrary JS objects in Rust, passing them through to JS
* Catching JS exceptions in imports
Planned features include: This project is still relatively new but feedback is of course always
* Field setters/getters in JS through Rust functions
* ... and more coming soon!
This project is still very "early days" but feedback is of course always
welcome! If you're curious about the design plus even more information about welcome! If you're curious about the design plus even more information about
what this crate can do, check out the [design doc]. what this crate can do, check out the [design doc].
[design doc]: https://github.com/alexcrichton/wasm-bindgen/blob/master/DESIGN.md [design doc]: https://github.com/alexcrichton/wasm-bindgen/blob/master/DESIGN.md
[dom-ex]: https://github.com/alexcrichton/wasm-bindgen/tree/master/examples/dom
[console-log]: https://github.com/alexcrichton/wasm-bindgen/tree/master/examples/console_log
[perf-ex]: https://github.com/alexcrichton/wasm-bindgen/tree/master/examples/performance
[smorg-ex]: https://github.com/alexcrichton/wasm-bindgen/tree/master/examples/smorgasboard
## Basic usage ## Basic usage