diff --git a/README.md b/README.md index 14563487cd..398bdd3019 100644 --- a/README.md +++ b/README.md @@ -231,7 +231,7 @@ I plan to support the following features. Of course, if you want to have other f ## Appendix: Contributing -Firstly, welcome, and thanks for your contributions! If you want to contribute, feel free to create a Pull Request. If you need some ideas of what to contribute, have a look at the Issues section of this repository. The code is covered by CI, and please ensure the CI passes - which often catches bugs. To release a new version, bump several versions, write down a changelog, and use `cargo check` to automatically update the examples' dependency versions: `vim frb_codegen/Cargo.toml && vim frb_rust/Cargo.toml && vim frb_dart/pubspec.yaml && vim CHANGELOG.md && (cd frb_example/pure_dart/rust && cargo check) && (cd frb_example/with_flutter/rust && cargo check)` +Firstly, welcome, and thanks for your contributions! If you want to contribute, feel free to create a Pull Request. If you need some ideas of what to contribute, have a look at the Issues section of this repository. The code is covered by CI, and please ensure the CI passes - which often catches bugs. To release a new version, bump several versions, write down a changelog, and use `cargo check` to automatically update the examples' dependency versions: `vim frb_codegen/Cargo.toml && vim frb_rust/Cargo.toml && vim frb_dart/pubspec.yaml && vim CHANGELOG.md && (cd frb_example/pure_dart/rust && cargo check) && (cd frb_example/with_flutter/rust && cargo check) && (cd frb_example/pure_dart/dart && dart pub get) && (cd frb_example/with_flutter && dart pub get)` ## Contributors ✨ diff --git a/frb_codegen/Cargo.toml b/frb_codegen/Cargo.toml index 6d052d3f91..c085868de2 100644 --- a/frb_codegen/Cargo.toml +++ b/frb_codegen/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "flutter_rust_bridge_codegen" -version = "1.1.0" +version = "1.2.0" edition = "2018" description = "High-level memory-safe bindgen for Dart/Flutter <-> Rust" license = "MIT" diff --git a/frb_dart/pubspec.yaml b/frb_dart/pubspec.yaml index 48782ee4c4..7b032fc5c2 100644 --- a/frb_dart/pubspec.yaml +++ b/frb_dart/pubspec.yaml @@ -1,6 +1,6 @@ name: flutter_rust_bridge description: High-level memory-safe binding generator for Flutter/Dart <-> Rust -version: 1.1.0 +version: 1.2.0 repository: https://github.com/fzyzcjy/flutter_rust_bridge environment: sdk: '>=2.14.0 <3.0.0' diff --git a/frb_example/pure_dart/rust/Cargo.lock b/frb_example/pure_dart/rust/Cargo.lock index 382da39bad..2bfb4d10ab 100644 --- a/frb_example/pure_dart/rust/Cargo.lock +++ b/frb_example/pure_dart/rust/Cargo.lock @@ -85,7 +85,7 @@ checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd" [[package]] name = "flutter_rust_bridge" -version = "1.1.0" +version = "1.2.0" dependencies = [ "allo-isolate", "anyhow", diff --git a/frb_example/with_flutter/pubspec.lock b/frb_example/with_flutter/pubspec.lock index d77d7c9c21..3a25ebad63 100644 --- a/frb_example/with_flutter/pubspec.lock +++ b/frb_example/with_flutter/pubspec.lock @@ -5,77 +5,77 @@ packages: dependency: transitive description: name: archive - url: "https://pub.dartlang.org" + url: "https://pub.flutter-io.cn" source: hosted version: "3.1.2" async: dependency: transitive description: name: async - url: "https://pub.dartlang.org" + url: "https://pub.flutter-io.cn" source: hosted - version: "2.8.2" + version: "2.8.1" boolean_selector: dependency: transitive description: name: boolean_selector - url: "https://pub.dartlang.org" + url: "https://pub.flutter-io.cn" source: hosted version: "2.1.0" characters: dependency: transitive description: name: characters - url: "https://pub.dartlang.org" + url: "https://pub.flutter-io.cn" source: hosted version: "1.1.0" charcode: dependency: transitive description: name: charcode - url: "https://pub.dartlang.org" + url: "https://pub.flutter-io.cn" source: hosted version: "1.3.1" clock: dependency: transitive description: name: clock - url: "https://pub.dartlang.org" + url: "https://pub.flutter-io.cn" source: hosted version: "1.1.0" collection: dependency: transitive description: name: collection - url: "https://pub.dartlang.org" + url: "https://pub.flutter-io.cn" source: hosted version: "1.15.0" crypto: dependency: transitive description: name: crypto - url: "https://pub.dartlang.org" + url: "https://pub.flutter-io.cn" source: hosted version: "3.0.1" cupertino_icons: dependency: "direct main" description: name: cupertino_icons - url: "https://pub.dartlang.org" + url: "https://pub.flutter-io.cn" source: hosted version: "1.0.3" fake_async: dependency: transitive description: name: fake_async - url: "https://pub.dartlang.org" + url: "https://pub.flutter-io.cn" source: hosted version: "1.2.0" file: dependency: transitive description: name: file - url: "https://pub.dartlang.org" + url: "https://pub.flutter-io.cn" source: hosted version: "6.1.2" flutter: @@ -92,7 +92,7 @@ packages: dependency: "direct dev" description: name: flutter_lints - url: "https://pub.dartlang.org" + url: "https://pub.flutter-io.cn" source: hosted version: "1.0.4" flutter_rust_bridge: @@ -101,7 +101,7 @@ packages: path: "../../frb_dart" relative: true source: path - version: "1.1.0" + version: "1.2.0" flutter_test: dependency: "direct dev" description: flutter @@ -121,42 +121,42 @@ packages: dependency: transitive description: name: lints - url: "https://pub.dartlang.org" + url: "https://pub.flutter-io.cn" source: hosted version: "1.0.1" matcher: dependency: transitive description: name: matcher - url: "https://pub.dartlang.org" + url: "https://pub.flutter-io.cn" source: hosted - version: "0.12.11" + version: "0.12.10" meta: dependency: transitive description: name: meta - url: "https://pub.dartlang.org" + url: "https://pub.flutter-io.cn" source: hosted version: "1.7.0" path: dependency: transitive description: name: path - url: "https://pub.dartlang.org" + url: "https://pub.flutter-io.cn" source: hosted version: "1.8.0" platform: dependency: transitive description: name: platform - url: "https://pub.dartlang.org" + url: "https://pub.flutter-io.cn" source: hosted - version: "3.0.2" + version: "3.0.0" process: dependency: transitive description: name: process - url: "https://pub.dartlang.org" + url: "https://pub.flutter-io.cn" source: hosted version: "4.2.3" sky_engine: @@ -168,77 +168,77 @@ packages: dependency: transitive description: name: source_span - url: "https://pub.dartlang.org" + url: "https://pub.flutter-io.cn" source: hosted version: "1.8.1" stack_trace: dependency: transitive description: name: stack_trace - url: "https://pub.dartlang.org" + url: "https://pub.flutter-io.cn" source: hosted version: "1.10.0" stream_channel: dependency: transitive description: name: stream_channel - url: "https://pub.dartlang.org" + url: "https://pub.flutter-io.cn" source: hosted version: "2.1.0" string_scanner: dependency: transitive description: name: string_scanner - url: "https://pub.dartlang.org" + url: "https://pub.flutter-io.cn" source: hosted version: "1.1.0" sync_http: dependency: transitive description: name: sync_http - url: "https://pub.dartlang.org" + url: "https://pub.flutter-io.cn" source: hosted version: "0.3.0" term_glyph: dependency: transitive description: name: term_glyph - url: "https://pub.dartlang.org" + url: "https://pub.flutter-io.cn" source: hosted version: "1.2.0" test_api: dependency: transitive description: name: test_api - url: "https://pub.dartlang.org" + url: "https://pub.flutter-io.cn" source: hosted - version: "0.4.3" + version: "0.4.2" typed_data: dependency: transitive description: name: typed_data - url: "https://pub.dartlang.org" + url: "https://pub.flutter-io.cn" source: hosted version: "1.3.0" vector_math: dependency: transitive description: name: vector_math - url: "https://pub.dartlang.org" + url: "https://pub.flutter-io.cn" source: hosted version: "2.1.0" vm_service: dependency: transitive description: name: vm_service - url: "https://pub.dartlang.org" + url: "https://pub.flutter-io.cn" source: hosted - version: "7.2.0" + version: "7.1.1" webdriver: dependency: transitive description: name: webdriver - url: "https://pub.dartlang.org" + url: "https://pub.flutter-io.cn" source: hosted version: "3.0.0" sdks: diff --git a/frb_example/with_flutter/rust/Cargo.lock b/frb_example/with_flutter/rust/Cargo.lock index ab38789065..a2e54c65fe 100644 --- a/frb_example/with_flutter/rust/Cargo.lock +++ b/frb_example/with_flutter/rust/Cargo.lock @@ -202,7 +202,7 @@ dependencies = [ [[package]] name = "flutter_rust_bridge" -version = "1.1.0" +version = "1.2.0" dependencies = [ "allo-isolate", "anyhow", diff --git a/frb_rust/Cargo.toml b/frb_rust/Cargo.toml index 31b4fc9fe5..92c12d549c 100644 --- a/frb_rust/Cargo.toml +++ b/frb_rust/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "flutter_rust_bridge" -version = "1.1.0" +version = "1.2.0" edition = "2018" description = "High-level memory-safe binding generator for Flutter/Dart <-> Rust" license = "MIT"