rinf

Rust for native business logic, Flutter for flexible and beautiful GUI

MIT License

Downloads
653K
Stars
1.9K
Committers
15

Bot releases are hidden (Show)

rinf - v6.15.0 Latest Release

Published by temeddix 3 months ago

What's Changed

Full Changelog: https://github.com/cunarist/rinf/compare/v6.14.2...v6.15.0

  • Now it's possible to add attributes to generated message structs in Rust. Thanks @H2Sxxa!
rinf - v6.14.2

Published by temeddix 3 months ago

What's Changed

Full Changelog: https://github.com/cunarist/rinf/compare/v6.14.1...v6.14.2

  • Now, the message channels work after reopening the app following the use of the back button on mobile devices.
rinf - v6.14.1

Published by temeddix 3 months ago

What's Changed

Full Changelog: https://github.com/cunarist/rinf/compare/v6.14.0...v6.14.1

  • The return type of Rust's main function can now be anything.
  • Fixed the issue causing the app to hang on the splash screen after closing it with the back button on Android.
rinf - v6.14.0

Published by temeddix 4 months ago

What's Changed

New Contributors

Full Changelog: https://github.com/cunarist/rinf/compare/v6.13.0...v6.14.0

  • New feature bevy for treating Dart signals as Bevy events was added. Thanks @Deep-co-de!
rinf - v6.13.0

Published by temeddix 4 months ago

What's Changed

Full Changelog: https://github.com/cunarist/rinf/compare/v6.12.1...v6.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.
rinf - v6.12.1

Published by temeddix 4 months ago

Full Changelog: https://github.com/cunarist/rinf/compare/v6.12.0...v6.12.1

  • Fixed linefeed problem in published files.

Full Changelog: https://github.com/cunarist/rinf/compare/v6.12.0...v6.12.1

rinf - v6.12.0

Published by temeddix 4 months ago

What's Changed

New Contributors

Full Changelog: https://github.com/cunarist/rinf/compare/v6.11.1...v6.12.0

Summarization

  • Generated message channels are now more efficient.
  • Minimum Android SDK version increased from 16 to 21. Thanks @debanjanbasu!
  • The finalizeRust() function in Dart has been removed. The tokio async runtime, which holds Rust logic, still drops automatically when the app ends.
  • Bumped prost version to 0.12.6. Thanks @yeoupooh!
  • Internal code has been organized.
rinf - v6.11.1

Published by temeddix 5 months ago

What's Changed

Full Changelog: https://github.com/cunarist/rinf/compare/v6.11.0...v6.11.1

  • Fixed a bug with Dart's extension methods in the generated message code.
rinf - v6.11.0

Published by temeddix 5 months ago

What's Changed

Full Changelog: https://github.com/cunarist/rinf/compare/v6.10.0...v6.11.0

  • Now it's possible to set the dynamic library's path.
  • Now rinf message generates more memory-efficient and cleaner code.
rinf - v6.10.0

Published by temeddix 5 months ago

What's Changed

New Contributors

Full Changelog: https://github.com/cunarist/rinf/compare/v6.9.2...v6.10.0

  • Early Dart signals are now stored in the tokio channel instead of being ignored. Their performance is also slightly better.
  • Excessive sample code is not included in the template from the rinf template command anymore.
  • Now tokio is enabled by default in the template, not tokio_with_wasm.
  • A configuration option, rinf.message.rust_serde, was added to make generated Rust message files compatible with serde. Thanks @NeoVance!
rinf - v6.9.2

Published by temeddix 5 months ago

What's Changed

Full Changelog: https://github.com/cunarist/rinf/compare/v6.9.1...v6.9.2

rinf - v6.9.1

Published by temeddix 5 months ago

What's Changed

Full Changelog: https://github.com/cunarist/rinf/compare/v6.9.0...v6.9.1

rinf - v6.9.0

Published by temeddix 5 months ago

What's Changed

Full Changelog: https://github.com/cunarist/rinf/compare/v6.8.0...v6.9.0

  • This version supports Flutter 3.22
  • The new version of Flutter has a little different way of resolving paths. This release adapts to this change.
rinf - v6.8.0

Published by temeddix 6 months ago

What's Changed

Full Changelog: https://github.com/cunarist/rinf/compare/v6.7.0...v6.8.0

  • Now sendSignalToRust and send_signal_to_dart methods no longer require null or None, making the API much cleaner. To make them include binary data, write [RINF:DART-SIGNAL-BINARY] or [RINF:RUST-SIGNAL-BINARY] in Protobuf files.
  • The problem of panicking from null pointers that arise from empty signal data has been fixed.
rinf - v6.7.0

Published by temeddix 7 months ago

What's Changed

New Contributors

Full Changelog: https://github.com/cunarist/rinf/compare/v6.6.3...v6.7.0

  • Allowed enum and oneof statements to work in Protobuf message files. Thanks @yeoupooh!
rinf - v6.6.3

Published by temeddix 7 months ago

What's Changed

New Contributors

Full Changelog: https://github.com/cunarist/rinf/compare/v6.6.2...v6.6.3

rinf - v6.6.2

Published by temeddix 8 months ago

What's Changed

Full Changelog: https://github.com/cunarist/rinf/compare/v6.6.1...v6.6.2

  • Updated tokio_with_wasm to a newer version that addresses performance issues with spawn_blocking.
  • Added example code that shows how to use global state in sample_functions.rs file.
rinf - v6.6.1

Published by temeddix 8 months ago

What's Changed

New Contributors

Full Changelog: https://github.com/cunarist/rinf/compare/v6.6.0...v6.6.1

  • Added support for some Linux distributions where patching Flutter SDK is not possible.
  • Fixed a problem with the web sector not working. To use this new version, it's recommended to discard all Git changes in Flutter SDK's directory, or simply run flutter upgrade --force.
  • Fixed a problem with cd error on Windows. Thanks @H2Sxxa!
  • Fixed pub.dev package score.
rinf - v6.6.0

Published by temeddix 9 months ago

Full Changelog: https://github.com/cunarist/rinf/compare/v6.5.0...v6.6.0

  • Now early Rust signals on startup works properly, even if the widgets are not built yet. rustSignalStream will remember Rust signals that were received before widgets were built, and give them to the first listener.
rinf - v6.5.0

Published by temeddix 9 months ago

What's Changed

Full Changelog: https://github.com/cunarist/rinf/compare/v6.4.0...v6.5.0

  • Now native library are loaded as dynamic library, not static library, on iOS and macOS, like other platforms. This reduces the possibility of potential conflicts of native symbols.
  • Now rinf template checks pubspec.yaml instead of lib/main.dart to ensure that the current folder is a Flutter project.