{"id":19680827,"url":"https://github.com/codewars/rust-devcontainer","last_synced_at":"2025-04-29T04:31:40.265Z","repository":{"id":45773804,"uuid":"496401020","full_name":"codewars/rust-devcontainer","owner":"codewars","description":"devcontainer for solving Rust kata locally","archived":false,"fork":false,"pushed_at":"2022-12-17T08:06:16.000Z","size":3,"stargazers_count":4,"open_issues_count":0,"forks_count":1,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-04-05T13:11:12.717Z","etag":null,"topics":["devcontainer","vscode"],"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/codewars.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-05-25T21:54:34.000Z","updated_at":"2024-10-03T08:55:37.000Z","dependencies_parsed_at":"2023-01-29T17:00:37.994Z","dependency_job_id":null,"html_url":"https://github.com/codewars/rust-devcontainer","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codewars%2Frust-devcontainer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codewars%2Frust-devcontainer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codewars%2Frust-devcontainer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codewars%2Frust-devcontainer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/codewars","download_url":"https://codeload.github.com/codewars/rust-devcontainer/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251432862,"owners_count":21588669,"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":["devcontainer","vscode"],"created_at":"2024-11-11T18:06:14.076Z","updated_at":"2025-04-29T04:31:39.998Z","avatar_url":"https://github.com/codewars.png","language":"Rust","readme":"# rust-devcontainer\n\nRust devcontainer definition for [VS Code Remote - Containers][remote-containers] extension to easily develop locally in the same environment used by the CodeRunner.\n\nIf you're not familiar with devcontainers, see [Developing inside a Container](https://code.visualstudio.com/docs/remote/containers).\n\n## Usage\n\nOpen this project in a devcontainer with [VS Code Remote - Containers][remote-containers] extension.\n\nPut your solution and tests in `src/lib.rs`:\n```rust\nfn add(a: i32, b: i32) -\u003e i32 {\n    a + b\n}\n\n// -------------------- 8\u003c --------------------\n#[cfg(test)]\nmod tests {\n    use super::*;\n    #[test]\n    fn test_example() {\n        assert_eq!(add(1, 1), 2);\n    }\n}\n```\n\nThen run `cargo test`. If the kata uses preloaded code, create `lib/preloaded.rs`.\n\n## Extensions\n\nOnly [`rust-analyzer`][rust-analyzer] and [`Better TOML`][better-toml] are installed.\n\nTo install more extensions in the devcontainer, configure default extensions in _your_ VS Code settings:\n\n```jsonc\n    \"remote.containers.defaultExtensions\": [\n        \"usernamehw.errorlens\",\n    ],\n```\n\n[remote-containers]: https://marketplace.visualstudio.com/items?itemName=ms-vscode-remote.remote-containers\n[rust-analyzer]: https://marketplace.visualstudio.com/items?itemName=rust-lang.rust-analyzer\n[better-toml]: https://marketplace.visualstudio.com/items?itemName=bungcip.better-toml\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodewars%2Frust-devcontainer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcodewars%2Frust-devcontainer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodewars%2Frust-devcontainer/lists"}