{"id":21582070,"url":"https://github.com/sudo-self/hello-rust","last_synced_at":"2026-03-19T20:56:05.639Z","repository":{"id":189660032,"uuid":"681047096","full_name":"sudo-self/hello-rust","owner":"sudo-self","description":"Rust-APP template","archived":false,"fork":false,"pushed_at":"2023-08-22T01:52:17.000Z","size":2810,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-24T14:47:00.795Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Makefile","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/sudo-self.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}},"created_at":"2023-08-21T06:37:57.000Z","updated_at":"2023-09-23T09:53:59.000Z","dependencies_parsed_at":"2023-08-21T07:57:37.438Z","dependency_job_id":null,"html_url":"https://github.com/sudo-self/hello-rust","commit_stats":null,"previous_names":["sudo-self/hello-rust"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sudo-self%2Fhello-rust","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sudo-self%2Fhello-rust/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sudo-self%2Fhello-rust/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sudo-self%2Fhello-rust/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sudo-self","download_url":"https://codeload.github.com/sudo-self/hello-rust/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244181300,"owners_count":20411605,"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":[],"created_at":"2024-11-24T14:14:45.981Z","updated_at":"2026-01-03T09:45:15.666Z","avatar_url":"https://github.com/sudo-self.png","language":"Makefile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# hello-rust\n### INSTALL RUST ON MACos AND CREAT A NEW PROJECT\n\ncurl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh\n\n stable-aarch64-apple-darwin installed\n\n\n### RELOAD SHELL TO INCLUDE CARGO\n\nsource \"$HOME/.cargo/env\"\n\n\n### START A NEW PROJECT \n\nCargo new hello-rust\n\n Created binary (application) `hello-rust` package\n\nCargo.toml = metadata\n\nSrc/main.rs = application code\n\ncd hello-rust\n\ncargo run\nCompiling hello-rust v0.1.0 (/Users/admin/hello-rust)\n    Finished dev [unoptimized + debuginfo] target(s) in 0.68s\n     Running `target/debug/hello-rust`\n\nHello World!\n\n\n\n### Adding Dependencies\n\ncargo add ferris-says@0.2\n\n Updating crates.io index\n      Adding ferris-says v0.2 to dependencies.\n             Features as of v0.2.0:\n             - clippy\n    Updating crates.io index\n\n\n### Add the following line to “main.rs”\n\nuse ferris_says::say;\n\n\nCargo build\n\n\n\n\n### Application written in main.rs\n\n\nuse ferris_says::say; // from the previous step\nuse std::io::{stdout, BufWriter};\n\nfn main() {\n    let stdout = stdout();\n    let message = String::from(\"Hello fellow Rustaceans!\");\n    let width = message.chars().count();\n\n    let mut writer = BufWriter::new(stdout.lock());\n    say(message.as_bytes(), width, \u0026mut writer).unwrap();\n\n    \n\nCargo run \n\n\u003e cargo run                                                                                                                     ~/hello-rust(main✗)@JesseJesse.local\n   Compiling hello-rust v0.1.0 (/Users/admin/hello-rust)\n    Finished dev [unoptimized + debuginfo] target(s) in 0.56s\n     Running `target/debug/hello-rust`\n __________________________\n\u003c Hello fellow Rustaceans! \u003e\n --------------------------\n        \\\n         \\\n            _~^~^~_\n        \\) /  o o  \\ (/\n          '_   -   _'\n          / '-----' \\\n\u003e                              \n\n![Screenshot 2023-08-21 at 12 45 53 AM](https://github.com/sudo-self/hello-rust/assets/119916323/4a8def80-16e1-46ed-969f-1182d347426b)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsudo-self%2Fhello-rust","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsudo-self%2Fhello-rust","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsudo-self%2Fhello-rust/lists"}