{"id":15673608,"url":"https://github.com/alancoding/learning-rust-workspace","last_synced_at":"2025-07-30T01:18:39.940Z","repository":{"id":144899663,"uuid":"221543817","full_name":"AlanCoding/learning-rust-workspace","owner":"AlanCoding","description":"rust workspace as I go through the book","archived":false,"fork":false,"pushed_at":"2020-01-27T23:41:49.000Z","size":7,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-22T11:43:42.512Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Rust","has_issues":false,"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/AlanCoding.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":"2019-11-13T20:17:17.000Z","updated_at":"2020-01-27T23:41:51.000Z","dependencies_parsed_at":null,"dependency_job_id":"94f3c44f-d183-4de0-b7bc-b8a65c5f1fd9","html_url":"https://github.com/AlanCoding/learning-rust-workspace","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/AlanCoding/learning-rust-workspace","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AlanCoding%2Flearning-rust-workspace","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AlanCoding%2Flearning-rust-workspace/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AlanCoding%2Flearning-rust-workspace/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AlanCoding%2Flearning-rust-workspace/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AlanCoding","download_url":"https://codeload.github.com/AlanCoding/learning-rust-workspace/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AlanCoding%2Flearning-rust-workspace/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267791153,"owners_count":24144914,"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","status":"online","status_checked_at":"2025-07-29T02:00:12.549Z","response_time":2574,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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-10-03T15:41:27.259Z","updated_at":"2025-07-30T01:18:39.899Z","avatar_url":"https://github.com/AlanCoding.png","language":"Rust","readme":"### Rust book notes by Alan\n\n#### Pre-chapters\n\nI'm using\n\nhttps://atom.io/packages/ide-rust\n\nI like it a lot. Coming from python, I know that a lot of the tips\nit gives wouldn't even be theoretically possible with it.\nSo right away, the statically typed dividend is obvious.\n\nWhen I first tried this I ran into a lot of Atom crashing issues,\nbut with updated versions I'm feeling more confident these days.\n\nIt still doesn't seem to have an option to run stuff.\n\n#### Chapter 1\n\nThe weird thing going on here is that I made a workspace\nwhere I am combining the sub-projects. So instead of\n\n```\nrustc main.rs\n```\n\nrun\n\n```\ncargo run hello-rust/src/main.rs\n```\n\nThis seems to work, but leaves open a lot of questions about\nwhat it means to compile and what it means to run.\n\n```\ncargo test\n```\n\nalso works as of this point in time.\n\n#### Chapter 2\n\ncurrent stopping point\n\nhttps://doc.rust-lang.org/book/ch02-00-guessing-game-tutorial.html\n\nhow to invoke:\n\n```\n$ cargo run --bin hello-rust\n    Finished dev [unoptimized + debuginfo] target(s) in 0.02s\n     Running `target/debug/hello-rust`\n----------------------------\n| Hello follow rusticians  |\n----------------------------\n              \\\n               \\\n                  _~^~^~_\n              \\) /  o o  \\ (/\n                '_   -   _'\n                / '-----' \\\n$ cargo run --bin guessing_game\n   Compiling guessing_game v0.1.0 (/Users/alancoding/Documents/repos/rust/guessing_game)\n    Finished dev [unoptimized + debuginfo] target(s) in 0.26s\n     Running `target/debug/guessing_game`\nHello, world!\n```\n\nIt will error now if you run with just `cargo run`.\n\nI should probably figure out sometime how to set a \"main main\".\n  Answer: in single project, can put default-run to itself.\n  this is not a good answer.\n\nLikewise, `cargo run --bin guessing_game` works. Now, runs with `cargo run`.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falancoding%2Flearning-rust-workspace","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falancoding%2Flearning-rust-workspace","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falancoding%2Flearning-rust-workspace/lists"}