{"id":15866461,"url":"https://github.com/squidmin/rust-labs","last_synced_at":"2025-04-01T21:20:49.261Z","repository":{"id":234078720,"uuid":"776626141","full_name":"squidmin/rust-labs","owner":"squidmin","description":"Rust learning sandbox","archived":false,"fork":false,"pushed_at":"2024-03-24T02:42:23.000Z","size":1,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-07T13:54:21.894Z","etag":null,"topics":["cargo","learning","learning-exercises","rust"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/squidmin.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-03-24T02:42:02.000Z","updated_at":"2024-03-24T02:43:49.000Z","dependencies_parsed_at":null,"dependency_job_id":"b87fef0c-6276-440d-8d29-ff8a1e7cb9c2","html_url":"https://github.com/squidmin/rust-labs","commit_stats":null,"previous_names":["squidmin/rust-labs"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/squidmin%2Frust-labs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/squidmin%2Frust-labs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/squidmin%2Frust-labs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/squidmin%2Frust-labs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/squidmin","download_url":"https://codeload.github.com/squidmin/rust-labs/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246709991,"owners_count":20821314,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["cargo","learning","learning-exercises","rust"],"created_at":"2024-10-05T23:20:52.923Z","updated_at":"2025-04-01T21:20:49.238Z","avatar_url":"https://github.com/squidmin.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# rust-labs\n\nRust learning sandbox.\n\n## Getting Started\n\nEnsure that Rust is installed on your system:\n\n```bash\ncurl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh\n```\n\nFollow the on-screen instructions to complete the installation.\nOnce installed, restart your terminal and verify the installation by running `rustc --version`.\nYou should see the version of the Rust compiler.\n\n## Creating a New Rust Project\n\nThis project was created by running the command:\n\n```bash\ncargo new rust-labs\n```\n\n- `Cargo.toml`: The manifest file for Rust. It contains metadata for your project and dependencies.\n- `src/main.rs`: The main source file for your project. By default, it contains a simple program that prints \"Hello, world!\".\n\n## Compiling Rust programs\n\nRust projects are compiled with Cargo, Rust's package manager and build system.\nTo compile your project, run the following command in your project directory:\n\n```bash\ncargo build --bin binary1\n```\n\n```bash\ncargo build --bin binary2\n```\n\netc.\n\nCargo reads the `Cargo.toml` file, downloads the necessary dependencies, and compiles your project.\nAfter successful compilation, Cargo places the executable in the `target/debug` directory.\n\n## Running Rust programs\n\nAfter compiling your project, you can run it using Cargo:\n\n```bash\ncargo run --bin binary1\n```\n\n```bash\ncargo run --bin binary2\n```\n\netc.\n\nThis command compiles your project (if it hasn't been compiled yet) and runs the resulting executable.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsquidmin%2Frust-labs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsquidmin%2Frust-labs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsquidmin%2Frust-labs/lists"}