Last active
November 3, 2019 10:40
-
-
Save robertohuertasm/fb402fe2e887661d6fc4eb91cbac43bb to your computer and use it in GitHub Desktop.
rust_for_android_ios_flutter
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[package] | |
name = "rustylib" | |
version = "0.1.0" | |
authors = ["Roberto Huertas <[email protected]>"] | |
edition = "2018" | |
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html | |
[lib] | |
name = "rustylib" | |
# this is needed to build for iOS and Android. | |
crate-type = ["staticlib", "cdylib"] | |
# this dependency is only needed for Android. | |
[target.'cfg(target_os = "android")'.dependencies] | |
jni = { version = "0.13.1", default-features = false } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment