From 34371f36a832950201670a47442b1c9e402abc7b Mon Sep 17 00:00:00 2001 From: Divy Srivastava Date: Sun, 12 Nov 2023 23:31:50 +0530 Subject: [PATCH] 0.9.0-alpha --- Cargo.lock | 4 ++-- README.md | 4 ++++ assets/release.sh | 5 +++++ deno_bindgen/Cargo.toml | 6 +++--- deno_bindgen_cli/Cargo.toml | 3 ++- deno_bindgen_macro/Cargo.toml | 7 ++++--- 6 files changed, 20 insertions(+), 9 deletions(-) create mode 100644 assets/release.sh diff --git a/Cargo.lock b/Cargo.lock index 8407e0f..f32f070 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -111,7 +111,7 @@ dependencies = [ [[package]] name = "deno_bindgen" -version = "0.8.1" +version = "0.9.0-alpha" dependencies = [ "deno_bindgen_ir", "deno_bindgen_macro", @@ -142,7 +142,7 @@ dependencies = [ [[package]] name = "deno_bindgen_macro" -version = "0.8.1" +version = "0.9.0-alpha" dependencies = [ "Inflector", "deno_bindgen_ir", diff --git a/README.md b/README.md index 3e5427a..7df7d99 100644 --- a/README.md +++ b/README.md @@ -2,6 +2,10 @@ +[![ci](https://github.com/denoland/deno_bindgen/workflows/ci/badge.svg?branch=main)](https://github.com/denoland/deno_bindgen/actions) +[![crates](https://img.shields.io/crates/v/deno_bindgen.svg)](https://crates.io/crates/deno_bindgen) +[![docs](https://docs.rs/deno_bindgen/badge.svg)](https://docs.rs/deno_bindgen) + This tool aims to simplify glue code generation for Deno FFI libraries written in Rust. diff --git a/assets/release.sh b/assets/release.sh new file mode 100644 index 0000000..26552e1 --- /dev/null +++ b/assets/release.sh @@ -0,0 +1,5 @@ +# TODO: bmp +cargo publish -p deno_bindgen_ir +cargo publish -p deno_bindgen_macro +cargo publish -p deno_bindgen_cli +cargo publish -p deno_bindgen \ No newline at end of file diff --git a/deno_bindgen/Cargo.toml b/deno_bindgen/Cargo.toml index df535ad..c08d4e3 100644 --- a/deno_bindgen/Cargo.toml +++ b/deno_bindgen/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "deno_bindgen" -version = "0.8.1" -description = "This tool aims to simplify glue code generation for Deno FFI libraries written in Rust." +version = "0.9.0-alpha" +description = "Write high-level Deno FFI libraries in Rust." documentation = "https://docs.rs/deno_bindgen" homepage = "https://github.com/denoland/deno_bindgen" repository = "https://github.com/denoland/deno_bindgen" @@ -15,7 +15,7 @@ edition = "2021" path = "./lib.rs" [dependencies] -deno_bindgen_macro = { path = "../deno_bindgen_macro", version = "0.8.1" } +deno_bindgen_macro = { path = "../deno_bindgen_macro", version = "0.9.0-alpha" } deno_bindgen_ir = { path = "../deno_bindgen_ir", version = "0.1.0" } serde = { version = "1", features = ["derive"] } serde_json = "1" diff --git a/deno_bindgen_cli/Cargo.toml b/deno_bindgen_cli/Cargo.toml index b71d64c..241d6f4 100644 --- a/deno_bindgen_cli/Cargo.toml +++ b/deno_bindgen_cli/Cargo.toml @@ -16,7 +16,8 @@ name = "deno_bindgen" path = "./main.rs" [dependencies] -structopt = "0.3.26" deno_bindgen_ir = { path = "../deno_bindgen_ir", version = "0.1.0" } + +structopt = "0.3.26" dlopen2 = "0.6.1" cargo_metadata = "0.18.1" \ No newline at end of file diff --git a/deno_bindgen_macro/Cargo.toml b/deno_bindgen_macro/Cargo.toml index 736f529..0b6a24b 100644 --- a/deno_bindgen_macro/Cargo.toml +++ b/deno_bindgen_macro/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "deno_bindgen_macro" -version = "0.8.1" -description = "This tool aims to simplify glue code generation for Deno FFI libraries written in Rust." +version = "0.9.0-alpha" +description = "Write high-level Deno FFI libraries in Rust." documentation = "https://docs.rs/deno_bindgen_macro" homepage = "https://github.com/denoland/deno_bindgen" repository = "https://github.com/denoland/deno_bindgen" @@ -15,13 +15,14 @@ edition = "2021" proc-macro = true [dependencies] +deno_bindgen_ir = { path = "../deno_bindgen_ir", version = "0.1.0" } + proc-macro2 = "1.0" quote = "1.0" syn = { version = "2.0", features = ["full", "extra-traits"] } serde = { version = "1.0.59", features = ["derive"] } serde_json = "1.0.59" Inflector = "0.11.4" -deno_bindgen_ir = { path = "../deno_bindgen_ir", version = "0.1.0" } [dev-dependencies] prettyplease = "0.2.15"