Skip to content

Commit

Permalink
Version 6.13.0
Browse files Browse the repository at this point in the history
  • Loading branch information
temeddix committed Jun 29, 2024
1 parent 56e044d commit 584dcf4
Show file tree
Hide file tree
Showing 6 changed files with 18 additions and 4 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
## 6.13.0

- The `get_dart_signal_receiver` function now returns `Result`. You need to use `unwrap` or `?` to retrieve Dart signal receivers from the generated message structs.
- You now need to manually provide the generated `assignRustSignal` to the `initializeRust` function, which can be imported using `import 'package:rinf/rinf.dart';` in Dart.
- The tokio runtime will now default to being single-threaded. To use a multi-threaded tokio runtime, enable the new `rt-multi-thread` crate feature.
- By default, backtraces will be hidden in the CLI, with only the error message being printed. To display the Rust backtrace, enable the new `backtrace` crate feature.

## 6.12.1

- Fixed linefeed problem in published files.
Expand Down
7 changes: 7 additions & 0 deletions flutter_ffi_plugin/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
## 6.13.0

- The `get_dart_signal_receiver` function now returns `Result`. You need to use `unwrap` or `?` to retrieve Dart signal receivers from the generated message structs.
- You now need to manually provide the generated `assignRustSignal` to the `initializeRust` function, which can be imported using `import 'package:rinf/rinf.dart';` in Dart.
- The tokio runtime will now default to being single-threaded. To use a multi-threaded tokio runtime, enable the new `rt-multi-thread` crate feature.
- By default, backtraces will be hidden in the CLI, with only the error message being printed. To display the Rust backtrace, enable the new `backtrace` crate feature.

## 6.12.1

- Fixed linefeed problem in published files.
Expand Down
2 changes: 1 addition & 1 deletion flutter_ffi_plugin/example/native/hub/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ edition = "2021"
crate-type = ["lib", "cdylib", "staticlib"]

[dependencies]
rinf = "6.12.1"
rinf = "6.13.0"
prost = "0.12.6"
tokio = { version = "1", features = ["rt", "sync", "macros", "time"] }
tokio_with_wasm = { version = "0.6.1", features = [
Expand Down
2 changes: 1 addition & 1 deletion flutter_ffi_plugin/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: rinf
description: Rust for native business logic, Flutter for flexible and beautiful GUI
version: 6.12.1
version: 6.13.0
repository: https://github.com/cunarist/rinf

environment:
Expand Down
2 changes: 1 addition & 1 deletion flutter_ffi_plugin/template/native/hub/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ edition = "2021"
crate-type = ["lib", "cdylib", "staticlib"]

[dependencies]
rinf = "6.12.1"
rinf = "6.13.0"
prost = "0.12.6"
tokio = { version = "1", features = ["sync", "rt"] }

Expand Down
2 changes: 1 addition & 1 deletion rust_crate/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "rinf"
version = "6.12.1"
version = "6.13.0"
edition = "2021"
license = "MIT"
description = "Rust for native business logic, Flutter for flexible and beautiful GUI"
Expand Down

0 comments on commit 584dcf4

Please sign in to comment.