From 209aa262aad9e2aed0d93523d0097c484a40b654 Mon Sep 17 00:00:00 2001 From: DongHyun Kim Date: Sat, 14 Oct 2023 13:30:36 +0900 Subject: [PATCH] Fix sentences --- README.md | 2 +- documentation/docs/index.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index c785d53c..cd7dac99 100644 --- a/README.md +++ b/README.md @@ -39,7 +39,7 @@ All platforms available with Flutter are [tested](https://github.com/cunarist/ru - **Scalable**: You are able to use an arbitrary number of Rust library crates as you want, perhaps including ones that you've already been working on. - **Logical API**: You declare RESTful messages, not functions for APIs, which provides greater stability. Requesting from Dart and responsing from Rust, as well as streaming from Rust to Dart is possible. Messages are type-safe and flexible because it's powered by the well-known [Protobuf](https://protobuf.dev/) serialization. You also have the ability to send large binary data from Rust to Dart without any memory copy. - **File-based messages**: No more headaches from extremely big API code files that hinders readability. Even defining hundereds and thousands of API endpoints between Dart and Rust is easy and clean. -- **Async interaction**: You can seamlessly integrate Rust code with Flutter, ensuring that Rust operations won't block Flutter's main thread. +- **Async interaction**: Rust operations will never block Flutter's main thread because they are spawned in a separate thread pool. - **Convenient debugging**: All the debugging functionalities are provided by default, without the need for dealing with browsers or mobile emulators. Also, the whole Rust logic is automatically restarted on Dart's hot restart. - **Reliable**: This framework simply provides a connection between Dart and Rust without complex code generation mechanism. Each component is backed by big communities, which is especially important for ensuring safety. diff --git a/documentation/docs/index.md b/documentation/docs/index.md index 938216e0..3ae3d208 100644 --- a/documentation/docs/index.md +++ b/documentation/docs/index.md @@ -39,7 +39,7 @@ All platforms available with Flutter are [tested](https://github.com/cunarist/ru - **Scalable**: You are able to use an arbitrary number of Rust library crates as you want, perhaps including ones that you've already been working on. - **Logical API**: You declare RESTful messages, not functions for APIs, which provides greater stability. Requesting from Dart and responsing from Rust, as well as streaming from Rust to Dart is possible. Messages are type-safe and flexible because it's powered by the well-known [Protobuf](https://protobuf.dev/) serialization. You also have the ability to send large binary data from Rust to Dart without any memory copy. - **File-based messages**: No more headaches from extremely big API code files that hinders readability. Even defining hundereds and thousands of API endpoints between Dart and Rust is easy and clean. -- **Async interaction**: You can seamlessly integrate Rust code with Flutter, ensuring that Rust operations won't block Flutter's main thread. +- **Async interaction**: Rust operations will never block Flutter's main thread because they are spawned in a separate thread pool. - **Convenient debugging**: All the debugging functionalities are provided by default, without the need for dealing with browsers or mobile emulators. Also, the whole Rust logic is automatically restarted on Dart's hot restart. - **Reliable**: This framework simply provides a connection between Dart and Rust without complex code generation mechanism. Each component is backed by big communities, which is especially important for ensuring safety.