diff --git a/examples/demo/Cargo.toml b/examples/demo/Cargo.toml index cf6ce07..b44fc2d 100644 --- a/examples/demo/Cargo.toml +++ b/examples/demo/Cargo.toml @@ -5,7 +5,7 @@ edition = "2021" [lib] -crate-type = ["cdylib"] +crate-type = ["cdylib","lib"] # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] diff --git a/examples/demo/Readme.md b/examples/demo/Readme.md new file mode 100644 index 0000000..0d44451 --- /dev/null +++ b/examples/demo/Readme.md @@ -0,0 +1,10 @@ + +# setup + + install xbuild ´´´sh cargo install --git https://github.com/rust-mobile/xbuild ´´´ + run ´´´sh x doctor ´´´ and install all required depencencies + +# how to run + + run ´´´sh x devices ´´´ and get the device name that looks something like this "adb:1WD523S" (probably a bit longer) + then ´´´sh run x run --release ´´´