Skip to content

Commit

Permalink
Bump Android dependencies (ndk(-sys), android-activity) to latest…
Browse files Browse the repository at this point in the history
… release

And regenerate the lockfiles with:

  for l in */Cargo.toml; do cargo generate-lockfile --manifest-path $l; done
  • Loading branch information
MarijnS95 committed Dec 11, 2023
1 parent 3ad2b59 commit d0645a6
Show file tree
Hide file tree
Showing 34 changed files with 4,420 additions and 2,783 deletions.
445 changes: 306 additions & 139 deletions agdk-cpal/Cargo.lock

Large diffs are not rendered by default.

8 changes: 3 additions & 5 deletions agdk-cpal/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,14 @@ name = "agdk-cpal"
version = "0.1.0"
edition = "2021"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
log = "0.4"
android_logger = "0.11.0"
android-activity = { version = "0.4", features = ["game-activity"] }
android_logger = "0.13"
android-activity = { version = "0.5", features = ["game-activity"] }
cpal = "0.15"
atomic_float = "0.1"
anyhow = "1"

[lib]
name="main"
crate_type=["cdylib"]
crate_type=["cdylib"]
4 changes: 3 additions & 1 deletion agdk-cpal/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,9 @@ where

#[no_mangle]
fn android_main(app: AndroidApp) {
android_logger::init_once(android_logger::Config::default().with_min_level(log::Level::Info));
android_logger::init_once(
android_logger::Config::default().with_max_level(log::LevelFilter::Info),
);

let mut quit = false;
let mut redraw_pending = true;
Expand Down
Loading

0 comments on commit d0645a6

Please sign in to comment.