mirror of https://github.com/ndarilek/tts-rs.git
Set Android API versions, and add Makefile.toml convenience script for getting Android logs.
This commit is contained in:
parent
187cd71eeb
commit
cb91760468
|
@ -44,6 +44,10 @@ web-sys = { version = "0.3", features = ["EventTarget", "SpeechSynthesis", "Spee
|
||||||
jni = "0.18"
|
jni = "0.18"
|
||||||
ndk-glue = "0.2"
|
ndk-glue = "0.2"
|
||||||
|
|
||||||
|
[package.metadata.android]
|
||||||
|
target_sdk_version = 29
|
||||||
|
min_sdk_version = 21
|
||||||
|
|
||||||
[[example]]
|
[[example]]
|
||||||
name = "hello_world_android"
|
name = "hello_world_android"
|
||||||
crate-type = ["cdylib"]
|
crate-type = ["cdylib"]
|
||||||
|
|
|
@ -0,0 +1,3 @@
|
||||||
|
[tasks.log-android]
|
||||||
|
command = "adb"
|
||||||
|
args = ["logcat", "RustStdoutStderr:D", "*:S"]
|
Loading…
Reference in New Issue