Skip to content

Commit

Permalink
deps: bump flutter_rust_bridge to 2.5.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Tienisto committed Oct 21, 2024
1 parent 50eeb33 commit 56e31f6
Show file tree
Hide file tree
Showing 14 changed files with 34 additions and 23 deletions.
4 changes: 4 additions & 0 deletions rhttp/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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`
Expand Down
6 changes: 3 additions & 3 deletions rhttp/example/pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -272,7 +272,7 @@ packages:
path: ".."
relative: true
source: path
version: "0.7.2"
version: "0.8.1"
riverpod:
dependency: transitive
description:
Expand Down
2 changes: 1 addition & 1 deletion rhttp/lib/src/rust/api/client.dart
Original file line number Diff line number Diff line change
@@ -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

Expand Down
2 changes: 1 addition & 1 deletion rhttp/lib/src/rust/api/error.dart
Original file line number Diff line number Diff line change
@@ -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

Expand Down
2 changes: 1 addition & 1 deletion rhttp/lib/src/rust/api/http.dart
Original file line number Diff line number Diff line change
@@ -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

Expand Down
2 changes: 1 addition & 1 deletion rhttp/lib/src/rust/api/stream.dart
Original file line number Diff line number Diff line change
@@ -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

Expand Down
4 changes: 2 additions & 2 deletions rhttp/lib/src/rust/frb_generated.dart
Original file line number Diff line number Diff line change
@@ -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

Expand Down Expand Up @@ -69,7 +69,7 @@ class RustLib extends BaseEntrypoint<RustLibApi, RustLibApiImpl, RustLibWire> {
kDefaultExternalLibraryLoaderConfig;

@override
String get codegenVersion => '2.4.0';
String get codegenVersion => '2.5.0';

@override
int get rustContentHash => 2036241710;
Expand Down
2 changes: 1 addition & 1 deletion rhttp/lib/src/rust/frb_generated.io.dart
Original file line number Diff line number Diff line change
@@ -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

Expand Down
2 changes: 1 addition & 1 deletion rhttp/lib/src/rust/frb_generated.web.dart
Original file line number Diff line number Diff line change
@@ -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

Expand Down
2 changes: 1 addition & 1 deletion rhttp/lib/src/rust/lib.dart
Original file line number Diff line number Diff line change
@@ -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

Expand Down
4 changes: 2 additions & 2 deletions rhttp/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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
Expand Down
15 changes: 11 additions & 4 deletions rhttp/rust/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion rhttp/rust/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"] }
Expand Down
8 changes: 4 additions & 4 deletions rhttp/rust/src/frb_generated.rs
Original file line number Diff line number Diff line change
@@ -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,
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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

Expand Down Expand Up @@ -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

Expand Down

0 comments on commit 56e31f6

Please sign in to comment.