Sam Green
|
d5f9f284e3
|
Rewrite to use builder pattern. Fix dispatch unsafety. (#36)
* Major rewrite.
- Fix unsafety (require 'static bound on dispatched closure)
- Switch to builder pattern.
- Run rustfmt
- Fix clippy warnings
- Userdata borrowed from webview instead of being arg of dispatch closure
- Bump minor version
- Update webview
- Add crate-level doc
* Add rustfmt.toml
* Allow propagation of errors from invoke and dispatch closures.
* Refine doc comments.
* Add enum derives.
* Remove mut bound from `handle()`.
* Remove dependency on failure.
|
2018-11-10 20:16:12 +00:00 |
|