diff --git a/.gitignore b/.gitignore index feb2a1a..ad897da 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,3 @@ target/ example/Cargo.lock -bindings.json +bindings.json \ No newline at end of file diff --git a/.rustfmt.toml b/.rustfmt.toml index 8712501..233fe75 100644 --- a/.rustfmt.toml +++ b/.rustfmt.toml @@ -1,3 +1,3 @@ max_width = 80 tab_spaces = 2 -edition = "2018" +edition = "2018" \ No newline at end of file diff --git a/Cargo.toml b/Cargo.toml index 1cce5e4..1646b64 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -3,5 +3,4 @@ members = [ "deno_bindgen_macro", "deno_bindgen", ] -exclude = ["example/"] - +exclude = ["example/"] \ No newline at end of file diff --git a/cli.ts b/cli.ts index a2ab356..f8547e5 100644 --- a/cli.ts +++ b/cli.ts @@ -1,7 +1,7 @@ // Copyright 2020-2021 the Deno authors. All rights reserved. MIT license. -import { ensureDir } from "https://deno.land/std@0.105.0/fs/ensure_dir.ts"; -import { parse } from "https://deno.land/std@0.105.0/flags/mod.ts"; +import { ensureDir } from "https://deno.land/std@0.123.0/fs/ensure_dir.ts"; +import { parse } from "https://deno.land/std@0.123.0/flags/mod.ts"; import { codegen } from "./codegen.ts"; const flags = parse(Deno.args, { "--": true }); diff --git a/codegen.ts b/codegen.ts index a23fb93..c16047a 100644 --- a/codegen.ts +++ b/codegen.ts @@ -126,7 +126,7 @@ export function codegen( return tsFormatter.formatText( "bindings.ts", - `import { CachePolicy, prepare } from "https://deno.land/x/plug@0.4.1/plug.ts"; + `import { CachePolicy, prepare } from "https://deno.land/x/plug@0.5.1/plug.ts"; function encode(v: string | Uint8Array): Uint8Array { if (typeof v !== "string") return v; return new TextEncoder().encode(v); diff --git a/deno_bindgen/Cargo.toml b/deno_bindgen/Cargo.toml index 48b551f..fd7d135 100644 --- a/deno_bindgen/Cargo.toml +++ b/deno_bindgen/Cargo.toml @@ -17,5 +17,4 @@ path = "./lib.rs" [dependencies] deno_bindgen_macro = { path = "../deno_bindgen_macro", version = "0.4.1" } serde = { version = "1", features = ["derive"] } -serde_json = "1" - +serde_json = "1" \ No newline at end of file