{"id":17465919,"url":"https://github.com/aayushchugh/rust-basics","last_synced_at":"2025-03-28T08:43:23.030Z","repository":{"id":257922137,"uuid":"868922832","full_name":"aayushchugh/rust-basics","owner":"aayushchugh","description":"This repo contains basics of rust and specifically made for people already experienced in some other language.","archived":false,"fork":false,"pushed_at":"2024-10-15T17:56:07.000Z","size":13,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-22T15:18:50.515Z","etag":null,"topics":["rust","rust-basics","rust-lang"],"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/aayushchugh.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-10-07T12:21:18.000Z","updated_at":"2024-10-15T17:56:10.000Z","dependencies_parsed_at":"2024-10-17T01:41:07.517Z","dependency_job_id":null,"html_url":"https://github.com/aayushchugh/rust-basics","commit_stats":null,"previous_names":["aayushchugh/rust-basics"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aayushchugh%2Frust-basics","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aayushchugh%2Frust-basics/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aayushchugh%2Frust-basics/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aayushchugh%2Frust-basics/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/aayushchugh","download_url":"https://codeload.github.com/aayushchugh/rust-basics/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245999319,"owners_count":20707554,"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":["rust","rust-basics","rust-lang"],"created_at":"2024-10-18T13:07:05.647Z","updated_at":"2025-03-28T08:43:23.007Z","avatar_url":"https://github.com/aayushchugh.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"Time to learn some rust!!\n\n## Installation\n\nTo install rust, follow the instructions on the [official rust website](https://www.rust-lang.org/tools/install).\n\n## Running the code\n\nAll rust code is in the src/bin directory. To run the code, use the command `cargo run` in the root directory of the project.\n\nEach file in the src directory is a separate rust program. To run a specific program, use the command `cargo run --bin \u003cfilename\u003e`.\n\neg: `cargo run --bin variables`\n\nEach rust program is wrapped inside a `main` function. The `main` function is the entry point of the program.\n\n## Naming conventions\n\n| Convention             | Types that use it                                                               |\n| ---------------------- | ------------------------------------------------------------------------------- |\n| `snake_case`           | Crates, modules, functions, methods, local variables and parameters, lifetimes. |\n| `CamelCase`            | Types (including traits and enums), type parameters in generics.                |\n| `SCREAMING_SNAKE_CASE` | Constant and static variables.                                                  |\n\n## Order of learning\n\n1. [Variables](src/bin/variables.rs)\n1. [Data types](src/bin/data_types.rs)\n1. [Input and output](src/bin/input_output.rs)\n1. [Ownership](src/bin/ownership.rs)\n1. [Borrowing](src/bin/borrowing.rs)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faayushchugh%2Frust-basics","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faayushchugh%2Frust-basics","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faayushchugh%2Frust-basics/lists"}