From 2382a38b1d6af464c3d4030ffa3e7aa0e1719956 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 22 Apr 2023 18:02:04 -0300 Subject: [PATCH] Publish New Versions (#135) Co-authored-by: lucasfernog --- .changes/adb-duct.md | 5 ----- .changes/bossy-to-duct.md | 5 ----- .changes/run-return-val.md | 5 ----- .changes/wry-0.28.md | 5 ----- CHANGELOG.md | 11 +++++++++++ Cargo.toml | 30 +++++++++++++++--------------- 6 files changed, 26 insertions(+), 35 deletions(-) delete mode 100644 .changes/adb-duct.md delete mode 100644 .changes/bossy-to-duct.md delete mode 100644 .changes/run-return-val.md delete mode 100644 .changes/wry-0.28.md diff --git a/.changes/adb-duct.md b/.changes/adb-duct.md deleted file mode 100644 index 5a6332b6..00000000 --- a/.changes/adb-duct.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"tauri-mobile": minor ---- - -Use `duct` to run the ADB commands. diff --git a/.changes/bossy-to-duct.md b/.changes/bossy-to-duct.md deleted file mode 100644 index 2b735b8f..00000000 --- a/.changes/bossy-to-duct.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"tauri-mobile": "minor" ---- - -**Breaking** Replace `bossy` with `duct` across the crate. bossy has two ways to create commands, impure and pure. The pure version won't inherit env variables. This causes child processes won't get the env varialbes and results in issues like openssl cross compilation. diff --git a/.changes/run-return-val.md b/.changes/run-return-val.md deleted file mode 100644 index 20d4f050..00000000 --- a/.changes/run-return-val.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"tauri-mobile": minor ---- - -Return `duct::Handle` in `apple::Device::run` to keep compatibility with Android. diff --git a/.changes/wry-0.28.md b/.changes/wry-0.28.md deleted file mode 100644 index ecf9be8f..00000000 --- a/.changes/wry-0.28.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"tauri-mobile": "patch" ---- - -Update `wry` template to `wry@0.28` diff --git a/CHANGELOG.md b/CHANGELOG.md index 81b061fb..d88d82bf 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,16 @@ # Changelog +## \[0.4.0] + +- Use `duct` to run the ADB commands. + - [8caa30c](https://github.com/tauri-apps/tauri-mobile/commit/8caa30c8fc3369b94f5da18c246bf945e32c8a4f) fix(android): use duct to run the ADB commands ([#134](https://github.com/tauri-apps/tauri-mobile/pull/134)) on 2023-04-15 +- **Breaking** Replace `bossy` with `duct` across the crate. bossy has two ways to create commands, impure and pure. The pure version won't inherit env variables. This causes child processes won't get the env varialbes and results in issues like openssl cross compilation. + - [6ee75fb](https://github.com/tauri-apps/tauri-mobile/commit/6ee75fbb10a17624e3a3ec64ab04dad2928ef9ed) refactor: replace bossy with duct ([#143](https://github.com/tauri-apps/tauri-mobile/pull/143)) on 2023-04-22 +- Return `duct::Handle` in `apple::Device::run` to keep compatibility with Android. + - [84311da](https://github.com/tauri-apps/tauri-mobile/commit/84311da4aec6f30c9158f60caea285e61ffef32f) refactor(apple): use duct for Device::run commands ([#137](https://github.com/tauri-apps/tauri-mobile/pull/137)) on 2023-04-15 +- Update `wry` template to `wry@0.28` + - [0b9580f](https://github.com/tauri-apps/tauri-mobile/commit/0b9580ff702d57ba5d3095de95ce77e4539b7874) chore: update wry template ([#141](https://github.com/tauri-apps/tauri-mobile/pull/141)) on 2023-04-17 + ## \[0.3.0] - This change manually instructs Java and Kotlin to use/generate code for the same JVM target. diff --git a/Cargo.toml b/Cargo.toml index b4916adf..b2f9a149 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,31 +1,31 @@ [package] name = "tauri-mobile" -version = "0.3.0" +version = "0.4.0" authors = [ "Tauri Programme within The Commons Conservancy", "Brainium Studios LLC", - "Francesca Lovebloom ", + "Francesca Lovebloom " ] edition = "2018" description = "Rust on mobile made easy!" documentation = "https://docs.rs/tauri-mobile" repository = "https://github.com/tauri-apps/tauri-mobile" readme = "README.md" -keywords = ["cargo", "mobile", "ios", "android", "tauri"] -categories = ["development-tools::cargo-plugins"] +keywords = [ "cargo", "mobile", "ios", "android", "tauri" ] +categories = [ "development-tools::cargo-plugins" ] license = "Apache-2.0 OR MIT" [[bin]] name = "cargo-mobile" -required-features = ["cli"] +required-features = [ "cli" ] [[bin]] name = "cargo-apple" -required-features = ["cli"] +required-features = [ "cli" ] [[bin]] name = "cargo-android" -required-features = ["cli"] +required-features = [ "cli" ] [features] cli = [ @@ -37,11 +37,11 @@ cli = [ "serde_json", "thiserror", "structopt", - "env_logger", + "env_logger" ] -brainium = [] -openssl-vendored = ["openssl/vendored"] -default = ["cli"] +brainium = [ ] +openssl-vendored = [ "openssl/vendored" ] +default = [ "cli" ] [dependencies] handlebars = "3.3.0" @@ -59,11 +59,11 @@ java-properties = { version = "1.2.0" } log = "0.4.8" once-cell-regex = "0.2.1" path_abs = "0.5.0" -serde = { version = "1.0.105", features = ["derive"] } +serde = { version = "1.0.105", features = [ "derive" ] } structopt = { version = "0.3.12", optional = true } -textwrap = { version = "0.11.0", features = ["term_size"] } +textwrap = { version = "0.11.0", features = [ "term_size" ] } thiserror = "1.0.20" -toml = { version = "0.5.6", features = ["preserve_order"] } +toml = { version = "0.5.6", features = [ "preserve_order" ] } os_pipe = "1" duct = "0.13" which = "4.4.0" @@ -102,7 +102,7 @@ features = [ "Win32_System_Registry", "Win32_System_SystemInformation", "Win32_System_SystemServices", - "Win32_UI_Shell", + "Win32_UI_Shell" ] [target."cfg(windows)".build-dependencies]