Skip to content

Commit 21df5c1

Browse files
committed
doc: update README file with some fixes and new stuff
1 parent 90c03c1 commit 21df5c1

File tree

3 files changed

+9
-7
lines changed

3 files changed

+9
-7
lines changed

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,10 @@ This repository aims to cover The Rust Programming Language integration with oth
77
- **[WEB](web-sample/):** via WebAssembly.
88
- **[DESKTOP](desktop-sample/):** via [Tauri](https://tauri.app/).
99

10+
At the moment ONLY the Android Part is done:
11+
1012
<p align="center">
1113
<img src="https://github.com/android10/Rust-Cross-Platform-Development/assets/1360604/18d8a3f2-a487-4b2a-9000-1e4e52ab58d3" width="300" alt="rust-cross-platform-project-overview"/>
12-
<img src="https://github.com/android10/Rust-Cross-Platform-Development/assets/1360604/18d8a3f2-a487-4b2a-9000-1e4e52ab58d3" width="300" alt="rust-cross-platform-project-overview"/>
13-
<img src="https://github.com/android10/Rust-Cross-Platform-Development/assets/1360604/18d8a3f2-a487-4b2a-9000-1e4e52ab58d3" width="300" alt="rust-cross-platform-project-overview"/>
1414
</p>
1515

1616

android-sample/app/src/main/kotlin/com/fernandocejas/sample/MainActivity.kt

+3-1
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ import androidx.compose.runtime.remember
4343
import androidx.compose.runtime.setValue
4444
import androidx.compose.ui.Alignment
4545
import androidx.compose.ui.Modifier
46+
import androidx.compose.ui.graphics.Color
4647
import androidx.compose.ui.res.stringResource
4748
import androidx.compose.ui.unit.dp
4849
import androidx.core.view.WindowCompat
@@ -63,7 +64,8 @@ class MainActivity : AppCompatActivity() {
6364
MaterialTheme {
6465
Surface(
6566
modifier = Modifier.fillMaxSize(),
66-
color = MaterialTheme.colorScheme.background
67+
color = Color.Gray
68+
// color = MaterialTheme.colorScheme.background
6769
) {
6870
Column(modifier = Modifier.fillMaxSize()) {
6971
MainScreenComponent()

rust-library/README.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -42,10 +42,10 @@ This crate fully depends on the `crypto` crate and its main purpose is to **act
4242
#### Available commands
4343

4444
```bash
45-
$ cargo build // build the debug version of the project.
46-
$ cargo build --bin release // build the release version of the project for all android targets.
47-
$ cargo build --bin publish // copy all the released libraries/crates inside the android project.
48-
$ cargo test // run all the tests.
45+
$ cargo build // build the debug version of the project.
46+
$ cargo run --bin release // build the release version of the project for all android targets.
47+
$ cargo run --bin publish // copy all the released libraries/crates inside the android project.
48+
$ cargo test // run all the tests.
4949
```
5050

5151
### **cryptor_c**

0 commit comments

Comments
 (0)