diff --git a/rhttp/CHANGELOG.md b/rhttp/CHANGELOG.md index a0d99a8..c5c8c6c 100644 --- a/rhttp/CHANGELOG.md +++ b/rhttp/CHANGELOG.md @@ -1,3 +1,7 @@ +## 0.8.1 + +- deps: bump `flutter_rust_bridge` to `2.5.0` + ## 0.8.0 - feat: add `IoCompatibleClient`, a compatibility layer for dart:io's `HttpClient` diff --git a/rhttp/example/pubspec.lock b/rhttp/example/pubspec.lock index 1b9d273..1a71efc 100644 --- a/rhttp/example/pubspec.lock +++ b/rhttp/example/pubspec.lock @@ -135,10 +135,10 @@ packages: dependency: transitive description: name: flutter_rust_bridge - sha256: a43a6649385b853bc836ef2bc1b056c264d476c35e131d2d69c38219b5e799f1 + sha256: "0ad5079de35d317650fec59b26cb4d0c116ebc2ce703a29f9367513b8a91c287" url: "https://pub.dev" source: hosted - version: "2.4.0" + version: "2.5.0" flutter_test: dependency: "direct dev" description: flutter @@ -272,7 +272,7 @@ packages: path: ".." relative: true source: path - version: "0.7.2" + version: "0.8.1" riverpod: dependency: transitive description: diff --git a/rhttp/lib/src/rust/api/client.dart b/rhttp/lib/src/rust/api/client.dart index b942444..209824c 100644 --- a/rhttp/lib/src/rust/api/client.dart +++ b/rhttp/lib/src/rust/api/client.dart @@ -1,5 +1,5 @@ // This file is automatically generated, so please do not edit it. -// @generated by `flutter_rust_bridge`@ 2.4.0. +// @generated by `flutter_rust_bridge`@ 2.5.0. // ignore_for_file: invalid_use_of_internal_member, unused_import, unnecessary_import diff --git a/rhttp/lib/src/rust/api/error.dart b/rhttp/lib/src/rust/api/error.dart index 2cc8688..5cf4614 100644 --- a/rhttp/lib/src/rust/api/error.dart +++ b/rhttp/lib/src/rust/api/error.dart @@ -1,5 +1,5 @@ // This file is automatically generated, so please do not edit it. -// @generated by `flutter_rust_bridge`@ 2.4.0. +// @generated by `flutter_rust_bridge`@ 2.5.0. // ignore_for_file: invalid_use_of_internal_member, unused_import, unnecessary_import diff --git a/rhttp/lib/src/rust/api/http.dart b/rhttp/lib/src/rust/api/http.dart index cdfd9e4..a76525c 100644 --- a/rhttp/lib/src/rust/api/http.dart +++ b/rhttp/lib/src/rust/api/http.dart @@ -1,5 +1,5 @@ // This file is automatically generated, so please do not edit it. -// @generated by `flutter_rust_bridge`@ 2.4.0. +// @generated by `flutter_rust_bridge`@ 2.5.0. // ignore_for_file: invalid_use_of_internal_member, unused_import, unnecessary_import diff --git a/rhttp/lib/src/rust/api/stream.dart b/rhttp/lib/src/rust/api/stream.dart index c07a315..d0b609f 100644 --- a/rhttp/lib/src/rust/api/stream.dart +++ b/rhttp/lib/src/rust/api/stream.dart @@ -1,5 +1,5 @@ // This file is automatically generated, so please do not edit it. -// @generated by `flutter_rust_bridge`@ 2.4.0. +// @generated by `flutter_rust_bridge`@ 2.5.0. // ignore_for_file: invalid_use_of_internal_member, unused_import, unnecessary_import diff --git a/rhttp/lib/src/rust/frb_generated.dart b/rhttp/lib/src/rust/frb_generated.dart index fdfaa34..d6a6083 100644 --- a/rhttp/lib/src/rust/frb_generated.dart +++ b/rhttp/lib/src/rust/frb_generated.dart @@ -1,5 +1,5 @@ // This file is automatically generated, so please do not edit it. -// @generated by `flutter_rust_bridge`@ 2.4.0. +// @generated by `flutter_rust_bridge`@ 2.5.0. // ignore_for_file: unused_import, unused_element, unnecessary_import, duplicate_ignore, invalid_use_of_internal_member, annotate_overrides, non_constant_identifier_names, curly_braces_in_flow_control_structures, prefer_const_literals_to_create_immutables, unused_field @@ -69,7 +69,7 @@ class RustLib extends BaseEntrypoint { kDefaultExternalLibraryLoaderConfig; @override - String get codegenVersion => '2.4.0'; + String get codegenVersion => '2.5.0'; @override int get rustContentHash => 2036241710; diff --git a/rhttp/lib/src/rust/frb_generated.io.dart b/rhttp/lib/src/rust/frb_generated.io.dart index 267b305..0254616 100644 --- a/rhttp/lib/src/rust/frb_generated.io.dart +++ b/rhttp/lib/src/rust/frb_generated.io.dart @@ -1,5 +1,5 @@ // This file is automatically generated, so please do not edit it. -// @generated by `flutter_rust_bridge`@ 2.4.0. +// @generated by `flutter_rust_bridge`@ 2.5.0. // ignore_for_file: unused_import, unused_element, unnecessary_import, duplicate_ignore, invalid_use_of_internal_member, annotate_overrides, non_constant_identifier_names, curly_braces_in_flow_control_structures, prefer_const_literals_to_create_immutables, unused_field diff --git a/rhttp/lib/src/rust/frb_generated.web.dart b/rhttp/lib/src/rust/frb_generated.web.dart index 2c39e75..b8bc170 100644 --- a/rhttp/lib/src/rust/frb_generated.web.dart +++ b/rhttp/lib/src/rust/frb_generated.web.dart @@ -1,5 +1,5 @@ // This file is automatically generated, so please do not edit it. -// @generated by `flutter_rust_bridge`@ 2.4.0. +// @generated by `flutter_rust_bridge`@ 2.5.0. // ignore_for_file: unused_import, unused_element, unnecessary_import, duplicate_ignore, invalid_use_of_internal_member, annotate_overrides, non_constant_identifier_names, curly_braces_in_flow_control_structures, prefer_const_literals_to_create_immutables, unused_field diff --git a/rhttp/lib/src/rust/lib.dart b/rhttp/lib/src/rust/lib.dart index c89e1a2..e791013 100644 --- a/rhttp/lib/src/rust/lib.dart +++ b/rhttp/lib/src/rust/lib.dart @@ -1,5 +1,5 @@ // This file is automatically generated, so please do not edit it. -// @generated by `flutter_rust_bridge`@ 2.4.0. +// @generated by `flutter_rust_bridge`@ 2.5.0. // ignore_for_file: invalid_use_of_internal_member, unused_import, unnecessary_import diff --git a/rhttp/pubspec.yaml b/rhttp/pubspec.yaml index a76df6f..a09f631 100644 --- a/rhttp/pubspec.yaml +++ b/rhttp/pubspec.yaml @@ -1,6 +1,6 @@ name: rhttp description: Make HTTP requests using Rust for Flutter developers. It uses FFI to call Rust functions from Dart. On the Rust side, it uses reqwest to make HTTP requests. -version: 0.8.0 +version: 0.8.1 repository: https://github.com/Tienisto/rhttp topics: - http @@ -18,7 +18,7 @@ environment: dependencies: flutter: sdk: flutter - flutter_rust_bridge: ^2.4.0 + flutter_rust_bridge: 2.5.0 freezed_annotation: ^2.0.0 http: ^1.2.0 meta: ^1.12.0 diff --git a/rhttp/rust/Cargo.lock b/rhttp/rust/Cargo.lock index e5296fb..1ec5254 100644 --- a/rhttp/rust/Cargo.lock +++ b/rhttp/rust/Cargo.lock @@ -296,9 +296,9 @@ checksum = "9fc0510504f03c51ada170672ac806f1f105a88aa97a5281117e1ddc3368e51a" [[package]] name = "flutter_rust_bridge" -version = "2.4.0" +version = "2.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6ff967a5893be60d849e4362910762acdc275febe44333153a11dcec1bca2cd2" +checksum = "35a06af75bcc46b5443c2293f99fda22819e816f8a5f5bea04c72f8cb04a106a" dependencies = [ "allo-isolate", "android_logger", @@ -316,6 +316,7 @@ dependencies = [ "lazy_static", "log", "oslog", + "portable-atomic", "threadpool", "tokio", "wasm-bindgen", @@ -325,9 +326,9 @@ dependencies = [ [[package]] name = "flutter_rust_bridge_macros" -version = "2.4.0" +version = "2.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d48b4d3fae9d29377b19134a38386d8792bde70b9448cde49e96391bcfc8fed1" +checksum = "9250f0a18500e7825617ddb677bccf1336a2fe4c4edf6c6ce7717967ed67f42e" dependencies = [ "hex", "md-5", @@ -888,6 +889,12 @@ version = "0.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8b870d8c151b6f2fb93e84a13146138f05d02ed11c7e7c54f8826aaaf7c9f184" +[[package]] +name = "portable-atomic" +version = "1.9.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cc9c68a3f6da06753e9335d63e27f6b9754dd1920d941135b7ea8224f141adb2" + [[package]] name = "ppv-lite86" version = "0.2.17" diff --git a/rhttp/rust/Cargo.toml b/rhttp/rust/Cargo.toml index 8057b27..397baa8 100644 --- a/rhttp/rust/Cargo.toml +++ b/rhttp/rust/Cargo.toml @@ -8,7 +8,7 @@ crate-type = ["cdylib", "staticlib"] [dependencies] chrono = "0.4.38" -flutter_rust_bridge = { version = "=2.4.0", features = ["chrono"] } +flutter_rust_bridge = { version = "=2.5.0", features = ["chrono"] } futures-util = "0.3.30" reqwest = { version = "0.12.7", default-features = false, features = ["charset", "http2", "http3", "rustls-tls", "rustls-tls-native-roots", "stream", "multipart"] } tokio = { version = "1.40.0", features = ["full"] } diff --git a/rhttp/rust/src/frb_generated.rs b/rhttp/rust/src/frb_generated.rs index 4a44753..bd73d59 100644 --- a/rhttp/rust/src/frb_generated.rs +++ b/rhttp/rust/src/frb_generated.rs @@ -1,5 +1,5 @@ // This file is automatically generated, so please do not edit it. -// @generated by `flutter_rust_bridge`@ 2.4.0. +// @generated by `flutter_rust_bridge`@ 2.5.0. #![allow( non_camel_case_types, @@ -39,7 +39,7 @@ flutter_rust_bridge::frb_generated_boilerplate!( default_rust_opaque = RustOpaqueMoi, default_rust_auto_opaque = RustAutoOpaqueMoi, ); -pub(crate) const FLUTTER_RUST_BRIDGE_CODEGEN_VERSION: &str = "2.4.0"; +pub(crate) const FLUTTER_RUST_BRIDGE_CODEGEN_VERSION: &str = "2.5.0"; pub(crate) const FLUTTER_RUST_BRIDGE_CODEGEN_CONTENT_HASH: i32 = 2036241710; // Section: executor @@ -3030,7 +3030,7 @@ impl SseEncode for usize { #[cfg(not(target_family = "wasm"))] mod io { // This file is automatically generated, so please do not edit it. - // @generated by `flutter_rust_bridge`@ 2.4.0. + // @generated by `flutter_rust_bridge`@ 2.5.0. // Section: imports @@ -3125,7 +3125,7 @@ pub use io::*; #[cfg(target_family = "wasm")] mod web { // This file is automatically generated, so please do not edit it. - // @generated by `flutter_rust_bridge`@ 2.4.0. + // @generated by `flutter_rust_bridge`@ 2.5.0. // Section: imports