Skip to content

Commit 100d5bc

Browse files
committed
README: Update crate version in Cargo.toml example
1 parent 98aef99 commit 100d5bc

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,8 @@ Cargo.toml
3636
```toml
3737
[dependencies]
3838
log = "0.4"
39-
android_logger = "0.11"
40-
android-activity = { version = "0.4", features = [ "native-activity" ] }
39+
android_logger = "0.13"
40+
android-activity = { version = "0.5", features = [ "native-activity" ] }
4141

4242
[lib]
4343
crate_type = ["cdylib"]
@@ -126,8 +126,8 @@ Middleware libraries can instead look at using the [ndk-context](https://crates.
126126
The steps to switch a simple standalone application over from `ndk-glue` to `android-activity` (still based on `NativeActivity`) should be:
127127

128128
1. Remove `ndk-glue` from your Cargo.toml
129-
2. Add a dependency on `android-activity`, like `android-activity = { version="0.4", features = [ "native-activity" ] }`
130-
3. Optionally add a dependency on `android_logger = "0.11.0"`
129+
2. Add a dependency on `android-activity`, like `android-activity = { version="0.5", features = [ "native-activity" ] }`
130+
3. Optionally add a dependency on `android_logger = "0.13.0"`
131131
4. Update the `main` entry point to look like this:
132132

133133
```rust

0 commit comments

Comments
 (0)