-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add basic iOS Platform Implementation (#111)
* Add basic ios platform implementation * Add working Camera and PhotoLibrary permission request on iOS
- Loading branch information
Showing
27 changed files
with
409 additions
and
74 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,25 +6,31 @@ authors = ["DodoRare Team <[email protected]>"] | |
description = "Cross-Platform Rust Toolkit for Games 🏹" | ||
repository = "https://github.com/dodorare/crossbow" | ||
license = "Apache-2.0" | ||
keywords = ["build", "android", "apple", "ios", "tools"] | ||
keywords = ["build", "android", "ios", "tools"] | ||
readme = "README.md" | ||
exclude = [".github/**/*"] | ||
|
||
[dependencies] | ||
# Platform-specific dependencies | ||
crossbow-android = { path = "platform/android", version = "0.1.6", optional = true } | ||
thiserror = "1.0" | ||
displaydoc = "0.2" | ||
anyhow = "1.0" | ||
|
||
[target.'cfg(target_os = "android")'.dependencies] | ||
crossbow-android = { path = "platform/android", version = "0.1.6", optional = true } | ||
ndk-glue = "0.6.2" | ||
|
||
[target.'cfg(target_os = "ios")'.dependencies] | ||
crossbow-ios = { path = "platform/ios", version = "0.1.6", optional = true } | ||
|
||
[patch.crates-io] | ||
winit = { git = "https://github.com/rust-windowing/winit", rev = "f93f2c158bf527ed56ab2b6f5272214f0c1d9f7d" } | ||
bevy = { git = "https://github.com/dodorare/bevy", rev = "d51104020004d34db1aa3a9a5795834d7814ae55" } | ||
miniquad = { git = "https://github.com/not-fl3/miniquad", rev = "d67ffe6950cf73df307e2d23aaa4726f14399985" } | ||
|
||
[features] | ||
default = ["android"] | ||
default = ["android", "ios"] | ||
android = ["crossbow-android"] | ||
ios = ["crossbow-ios"] | ||
|
||
[workspace] | ||
members = [ | ||
|
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Oops, something went wrong.