cargo cleanup; remove wee allocator; license

This commit is contained in:
Matthew Ryan Dillon 2020-09-25 11:00:05 -07:00
parent ea488c7eba
commit 1d04a7139f
3 changed files with 6 additions and 18 deletions

View file

@ -2,12 +2,6 @@ mod utils;
use wasm_bindgen::prelude::*;
// When the `wee_alloc` feature is enabled, use `wee_alloc` as the global
// allocator.
#[cfg(feature = "wee_alloc")]
#[global_allocator]
static ALLOC: wee_alloc::WeeAlloc = wee_alloc::WeeAlloc::INIT;
#[wasm_bindgen]
extern {
fn alert(s: &str);
@ -15,5 +9,7 @@ extern {
#[wasm_bindgen]
pub fn greet() {
utils::set_panic_hook();
alert("Hello, gpx-web-utils!");
}