From 6bec2bb42810c34d34f4172b6d75c964ff18f1da Mon Sep 17 00:00:00 2001 From: Donghyun Kim Date: Sat, 22 Feb 2025 22:33:30 +0900 Subject: [PATCH 1/4] Simplify the landing page --- documentation/source/_templates/landing.html | 255 +++---------------- 1 file changed, 35 insertions(+), 220 deletions(-) diff --git a/documentation/source/_templates/landing.html b/documentation/source/_templates/landing.html index 3c7480ea..44716c43 100644 --- a/documentation/source/_templates/landing.html +++ b/documentation/source/_templates/landing.html @@ -1,11 +1,14 @@ -Rinf + +
-
-
-
- - - -
-
-

Rinf

-

RUST IN FLUTTER

-
-
-
-
-
- -

Flutter for Aesthetics

-

- While Rust is a powerful language for high-performance native - programming, its ecosystem for building graphical user interfaces is - far from being mature. Though Rust already has some GUI frameworks, - they don't compete with extensive support and smooth development - experience that Flutter provides. It's only Flutter that compiles to - all 6 major platforms from a single codebase. -

-

- Flutter is a powerful and versatile framework that has gained immense - popularity for building cross-platform applications with stunning user - interfaces. It provides declarative pattern, beautiful widgets, hot - reload, convenient debugging tools, and dedicated packages for user - interfaces right out-of-the-box. -

-
-
- -

Rust for Performance

-

- While Dart excels as an amazing object-oriented language for GUI apps, - it may not always meet demanding performance requirements, and it may - lack advanced data manipulation packages. This is where - Rust - steps in, offering an incredible speed advantage of roughly 2-40 times - faster than Dart, alongside the ability to leverage multiple threads - and various crates that get the job done. -

-

- Rust has garnered a devoted following, being - the most loved programming language - on Stack Overflow. Rust's simplicity, memory safety, superior - performance, vibrant community, and robust tooling support contribute - to its growing popularity and ensures high productivity. -

-
-
+ + +
-
-

Cross-platform

-
-
✅ Linux
-
✅ Android
-
✅ Windows
-
✅ macOS
-
✅ iOS
-
✅ Web
-
+

Rinf

+

RUST IN FLUTTER

-
-
-

Streamlined

-
-
-
Truly easy
-

It only takes about a minute or two to fully setup your app.

-
-
-
Efficient
-

- All communication occurs solely through native FFI. There are no - webviews, web servers, hidden threads, or unnecessary memory copying - that might cause performance overhead. This setup acts as a very thin - wrapper around Dart and Rust. -

-
-
-
Minimal
-

- This is not a bulky framework that requires you to install so many - dependencies and use complicated CLI commands. Just focus on your code - using your preferred Flutter and Rust libraries. -

-
-
-
Scalable
-

- Creating hundreds or even thousands of message APIs between Dart and - Rust feels smooth and clean. Additionally, you have the flexibility to - utilize any number of Rust library crates, perhaps including those you - might have been working on. -

-
-
-
High-level interface
-

- No messing with sensitive build files, no concerns about memory - safety. Stay with Dart and Rust that you're familiar with. -

-
-
-
Well maintained
-

- Our automated workflows including build tests are always kept passing, - thanks to the main branch protection rule. Also, the number of - external dependencies is kept as low as possible and documentations - are thoughtfully organized. -

-
-
-
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
-

- Each component is supported by huge communities, ensuring a strong - emphasis on future safety. You can easily assure your team of - stability since this framework's underlying concept is fairly simple. -

-
-
-
-
From ab533b1ffa52fc334c39ec2b3d638828c43af89b Mon Sep 17 00:00:00 2001 From: Donghyun Kim Date: Sat, 22 Feb 2025 22:34:11 +0900 Subject: [PATCH 2/4] Organize CSS --- documentation/source/_templates/landing.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/documentation/source/_templates/landing.html b/documentation/source/_templates/landing.html index 44716c43..20915e27 100644 --- a/documentation/source/_templates/landing.html +++ b/documentation/source/_templates/landing.html @@ -38,7 +38,7 @@ border-radius: 2.5%; box-shadow: 0px 8px 24px rgba(0, 0, 0, 0.4); width: 400px; - max-width: 60svw !important; + max-width: 60svw; outline: 1px solid rgba(122, 122, 122, 1); outline-offset: -1px; filter: grayscale(); From e55c8363de14326119765951136dbec28eb62d19 Mon Sep 17 00:00:00 2001 From: Donghyun Kim Date: Sat, 22 Feb 2025 23:12:45 +0900 Subject: [PATCH 3/4] Update source suffix --- documentation/source/conf.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/documentation/source/conf.py b/documentation/source/conf.py index 5f83cca0..704561a6 100644 --- a/documentation/source/conf.py +++ b/documentation/source/conf.py @@ -15,7 +15,7 @@ # https://www.sphinx-doc.org/en/master/usage/configuration.html#general-configuration extensions = ["myst_parser"] -source_suffix = {".rst": "restructuredtext", ".md": "markdown"} +source_suffix = {".md": "markdown"} templates_path = ["_templates"] exclude_patterns = [] From 0da48c3fc94ba12840346a61ed14cb60594e8bb9 Mon Sep 17 00:00:00 2001 From: Donghyun Kim Date: Sat, 22 Feb 2025 23:21:17 +0900 Subject: [PATCH 4/4] Restore the introduction as a separate page --- .../source/_templates/icon_pair.html | 12 +++++ documentation/source/_templates/landing.html | 2 +- documentation/source/index.md | 1 + documentation/source/introduction.md | 52 +++++++++++++++++++ 4 files changed, 66 insertions(+), 1 deletion(-) create mode 100644 documentation/source/_templates/icon_pair.html create mode 100644 documentation/source/introduction.md diff --git a/documentation/source/_templates/icon_pair.html b/documentation/source/_templates/icon_pair.html new file mode 100644 index 00000000..14b2312f --- /dev/null +++ b/documentation/source/_templates/icon_pair.html @@ -0,0 +1,12 @@ + + +Rust Icon +Flutter Icon diff --git a/documentation/source/_templates/landing.html b/documentation/source/_templates/landing.html index 20915e27..62d0f4e7 100644 --- a/documentation/source/_templates/landing.html +++ b/documentation/source/_templates/landing.html @@ -62,7 +62,7 @@