Skip to content

Commit

Permalink
Update crate dependencies to integrate with Android emulator (#24)
Browse files Browse the repository at this point in the history
* Update crate dependencies to integrate with Android emulator

- Android emulator is built by CMake in AOSP emu-master-dev repo.
- Update Cargo.toml to use Rust crates that are available in AOSP.
- Add tokio/rt-multi-thread dependency for web feature to fix build error
  • Loading branch information
AlpineOolong authored Apr 14, 2023
1 parent 89a25c4 commit d4635f9
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,19 +21,19 @@ path = "src/bin/server/mod.rs"

[features]
default = ["web"]
web = ["hyper"]
web = ["hyper", "tokio/rt-multi-thread"]

[dependencies]
tokio = { version = "1.18.5", features = ["full"] }
tokio = { version = "1.25.0", features = [ "fs", "io-util", "macros", "net", "rt" ] }
tokio-stream = { version = "0.1.8", features = ["sync"] }
bytes = "1"
anyhow = "1.0.56"
num-derive = "*"
num-traits = "*"
thiserror = "*"
glam = "0.20.3"
glam = "0.23.0"
hyper = { version = "0.14", features = ["server", "stream", "http1", "tcp"], optional = true }
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
hex = "0.4.3"
clap = { version = "4.1.8", features = ["derive"] }
clap = { version = "4.1.8", default-features = false, features = ["derive", "error-context", "help", "std", "usage"] }

0 comments on commit d4635f9

Please sign in to comment.