{"id":21902947,"url":"https://github.com/utilforever/2022-infcon-rust-crossplatform","last_synced_at":"2026-04-08T12:02:13.208Z","repository":{"id":59481833,"uuid":"522235817","full_name":"utilForever/2022-INFCON-Rust-CrossPlatform","owner":"utilForever","description":"INFCON 2022 - Rust 크로스 플랫폼 프로그래밍 발표 자료 및 예제 코드","archived":false,"fork":false,"pushed_at":"2022-08-29T02:00:22.000Z","size":6167,"stargazers_count":62,"open_issues_count":0,"forks_count":5,"subscribers_count":2,"default_branch":"main","last_synced_at":"2026-03-31T22:37:50.057Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/utilForever.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-08-07T14:30:02.000Z","updated_at":"2026-03-02T06:48:16.000Z","dependencies_parsed_at":"2022-09-16T20:01:05.235Z","dependency_job_id":null,"html_url":"https://github.com/utilForever/2022-INFCON-Rust-CrossPlatform","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/utilForever/2022-INFCON-Rust-CrossPlatform","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/utilForever%2F2022-INFCON-Rust-CrossPlatform","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/utilForever%2F2022-INFCON-Rust-CrossPlatform/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/utilForever%2F2022-INFCON-Rust-CrossPlatform/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/utilForever%2F2022-INFCON-Rust-CrossPlatform/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/utilForever","download_url":"https://codeload.github.com/utilForever/2022-INFCON-Rust-CrossPlatform/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/utilForever%2F2022-INFCON-Rust-CrossPlatform/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31554110,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-08T10:21:54.569Z","status":"ssl_error","status_checked_at":"2026-04-08T10:21:38.171Z","response_time":54,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-28T15:22:22.355Z","updated_at":"2026-04-08T12:02:12.454Z","avatar_url":"https://github.com/utilForever.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 2022-INFCON-Rust-CrossPlatform\n\nINFCON 2022 - Rust 크로스 플랫폼 프로그래밍 발표 자료 및 예제 코드\n\n## Contents\n\n- [Presentation](./인프콘%202022%20-%20Rust%20크로스%20플랫폼%20프로그래밍.pdf)\n\n- Supplement\n\n- Example\n  - Core library\n    - [rust-cross](./rust-cross)\n    - [rust-cross-ios](./rust-cross-ios)\n    - [rust-cross-web](./rust-cross-web)\n  - [iOS Example](./example-ios)\n  - [Web Example](./example-web/)\n\n## Prerequisite\n\n1. Install [Rust](https://www.rust-lang.org/learn/get-started).\n\n### Rust + iOS\n\n1. Install [Xcode](https://developer.apple.com/xcode/).\n\n2. Install Xcode Command Line Tools:\n\n```sh\nxcode-select --install\n```\n\n3. Add iOS architectures to support cross-compile:\n\n```sh\nrustup target add aarch64-apple-ios aarch64-apple-ios-sim x86_64-apple-ios\n```\n\n4. Install [cargo-lipo](https://github.com/TimNN/cargo-lipo) for making universal library easily:\n\n```sh\ncargo install cargo-lipo\n```\n\n### Rust + WebAssembly\n\n1. Install [wasm-pack](https://rustwasm.github.io/wasm-pack/) for making WebAssembly binary file easily.\n\n2. Install [node](https://nodejs.org/en/) and [npm](https://www.npmjs.com/) using homebrew:\n\n```sh\nbrew install node\n```\n\n3. Install [yarn](https://yarnpkg.com/) using homebrew:\n\n```sh\nbrew install yarn\n```\n\n## Quick Start\n\n### Rust + iOS\n\n1. Run this command inside the `rust-cross-ios` directory:\n\n```sh\ncargo-lipo --release\n```\n\n2. That's it! You can run iOS example in Xcode.\n\n### Rust + WebAssembly\n\n1. Run this command inside the `rust-cross-web` directory:\n\n```sh\nwasm-pack build\n```\n\n2. Copy `pkg` folder to `example-web` directory.\n\n### WebAssembly with TypeScript\n\n1. Ensure that the local development server and its dependencies are installed by running this command within the `example-web` directory:\n```sh\nnpm install\n```\n\n2. Run this command from within the `example-web` directory:\n```sh\nnpm run start\n```\n\n3. Go to `http://localhost:8080/`\n\n## References\n\n- Rust Core\n  - Beginner\n    * [The Rust Programming Language](https://doc.rust-lang.org/book/)\n    * [Rustlings](https://github.com/rust-lang/rustlings/)\n    * [Rust By Example](https://doc.rust-lang.org/stable/rust-by-example/)\n    * [Rust-101 by Ralf Jung](https://www.ralfj.de/projects/rust-101/main.html)\n    * [Exercism - Rust](https://exercism.org/tracks/rust)\n    * [Book: The Rust Programming Language](http://www.yes24.com/Product/Goods/83075894)\n    * [Book: Rust in Action](https://www.manning.com/books/rust-in-action)\n    * [Book: Programming Rust](https://www.oreilly.com/library/view/programming-rust-2nd/9781492052586/)\n  - Intermediate\n    * [The Standard Library](https://doc.rust-lang.org/std/index.html)\n    * [The Edition Guide](https://doc.rust-lang.org/edition-guide/index.html)\n    * [The Cargo Book](https://doc.rust-lang.org/cargo/index.html)\n    * [The rustdoc Book](https://doc.rust-lang.org/rustdoc/index.html)\n    * [The rustc Book](https://doc.rust-lang.org/rustc/index.html)\n    * [Book: Concurrent Programming](http://www.yes24.com/Product/Goods/108570426)\n    * [Book: Rust for Rustaceans](https://rust-for-rustaceans.com/)\n  - Advanced\n    * [The Rust Reference](https://doc.rust-lang.org/reference/index.html)\n    * [The Rustonomicon](https://doc.rust-lang.org/nomicon/index.html)\n    * [The Rust Unstable Book](https://doc.rust-lang.org/nightly/unstable-book/index.html)\n- Rust + iOS\n  * [Building and Deploying a Rust library on iOS](https://mozilla.github.io/firefox-browser-architecture/experiments/2017-09-06-rust-on-ios.html)\n- Rust + WebAssembly\n  * [Rust and WebAssembly](https://rustwasm.github.io/docs/book/)\n  * [Book: The Art of WebAssembly](https://nostarch.com/art-webassembly)\n  * [Book: WebAssembly: The Definitive Guide](https://www.oreilly.com/library/view/webassembly-the-definitive/9781492089834/)\n\n## How To Contribute\n\nContributions are always welcome, either reporting issues/bugs or forking the repository and then issuing pull requests when you have completed some additional coding that you feel will be beneficial to the main project. If you are interested in contributing in a more dedicated capacity, then please contact me.\n\n## Contact\n\nYou can contact me via e-mail (utilForever at gmail.com). I am always happy to answer questions or help with any issues you might have, and please be sure to share any additional work or your creations with me, I love seeing what other people are making.\n\n## License\n\n\u003cimg align=\"right\" src=\"http://opensource.org/trademarks/opensource/OSI-Approved-License-100x137.png\"\u003e\n\nThe class is licensed under the [MIT License](http://opensource.org/licenses/MIT):\n\nCopyright \u0026copy; 2022 [Chris Ohk](http://www.github.com/utilForever).\n\nPermission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the \"Software\"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Futilforever%2F2022-infcon-rust-crossplatform","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Futilforever%2F2022-infcon-rust-crossplatform","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Futilforever%2F2022-infcon-rust-crossplatform/lists"}