mirror of
https://github.com/fluencelabs/wasm-bindgen
synced 2025-03-16 02:00:51 +00:00
Some small cleanups (#366)
* No need for version deps in dev-deps These are all internal so we can drop the version * Remove wasm-bindgen-cli's parity-wasm dep No longer needed * Tweak file hierarchy in webidl tests Use Cargo's conventions to avoid the need to define `[[test]]` sections * Remove unused imports
This commit is contained in:
parent
dcb3415da8
commit
4ceaf3e0f4
@ -15,7 +15,6 @@ information see https://github.com/alexcrichton/wasm-bindgen.
|
||||
[dependencies]
|
||||
docopt = "0.8"
|
||||
failure = "0.1"
|
||||
parity-wasm = "0.28"
|
||||
serde = "1.0"
|
||||
serde_derive = "1.0"
|
||||
wasm-bindgen-cli-support = { path = "../cli-support", version = "=0.2.11" }
|
||||
|
@ -2,7 +2,6 @@
|
||||
extern crate serde_derive;
|
||||
extern crate docopt;
|
||||
extern crate failure;
|
||||
extern crate parity_wasm;
|
||||
extern crate wasm_bindgen_cli_support;
|
||||
|
||||
use std::fs::File;
|
||||
|
@ -3,19 +3,11 @@ name = "wasm-bindgen-webidl"
|
||||
version = "0.2.11"
|
||||
authors = ["Nick Fitzgerald <fitzgen@gmail.com>"]
|
||||
|
||||
[[test]]
|
||||
name = "webidl-all"
|
||||
path = "tests/all/lib.rs"
|
||||
|
||||
[[test]]
|
||||
name = "webidl-expected"
|
||||
path = "tests/expected/lib.rs"
|
||||
|
||||
[dev-dependencies]
|
||||
diff = "0.1.11"
|
||||
env_logger = "0.5.10"
|
||||
wasm-bindgen = { version = "=0.2.11", path = "../..", default-features = false }
|
||||
wasm-bindgen-backend = { version = "=0.2.11", path = "../backend", features = ["extra-traits"] }
|
||||
wasm-bindgen = { path = "../..", default-features = false }
|
||||
wasm-bindgen-backend = { path = "../backend", features = ["extra-traits"] }
|
||||
|
||||
[dependencies]
|
||||
failure = "0.1"
|
||||
|
0
crates/webidl/src/lib.rs
Executable file → Normal file
0
crates/webidl/src/lib.rs
Executable file → Normal file
0
crates/webidl/tests/expected/lib.rs → crates/webidl/tests/expected/main.rs
Executable file → Normal file
0
crates/webidl/tests/expected/lib.rs → crates/webidl/tests/expected/main.rs
Executable file → Normal file
@ -1,6 +1,3 @@
|
||||
use std::fs::File;
|
||||
use std::io::Read;
|
||||
|
||||
use super::project;
|
||||
|
||||
#[test]
|
||||
|
Loading…
x
Reference in New Issue
Block a user