{"id":16368122,"url":"https://github.com/code-ape/rust_length_arithmetic_example","last_synced_at":"2025-09-06T06:42:55.677Z","repository":{"id":152814447,"uuid":"84369471","full_name":"code-ape/rust_length_arithmetic_example","owner":"code-ape","description":"The code to go along with blog post on creating a arithmetic system for units of length in Rust","archived":false,"fork":false,"pushed_at":"2017-03-08T22:25:42.000Z","size":7,"stargazers_count":7,"open_issues_count":2,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-07T17:11:45.270Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/code-ape.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-03-08T21:50:06.000Z","updated_at":"2022-07-23T07:16:32.000Z","dependencies_parsed_at":null,"dependency_job_id":"27ae8d15-c895-4204-9f86-d0a2ec1ce97a","html_url":"https://github.com/code-ape/rust_length_arithmetic_example","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/code-ape/rust_length_arithmetic_example","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/code-ape%2Frust_length_arithmetic_example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/code-ape%2Frust_length_arithmetic_example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/code-ape%2Frust_length_arithmetic_example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/code-ape%2Frust_length_arithmetic_example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/code-ape","download_url":"https://codeload.github.com/code-ape/rust_length_arithmetic_example/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/code-ape%2Frust_length_arithmetic_example/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273868158,"owners_count":25182423,"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-09-06T02:00:13.247Z","response_time":2576,"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-11T02:51:43.387Z","updated_at":"2025-09-06T06:42:55.669Z","avatar_url":"https://github.com/code-ape.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Rust Length Arithmetic Example\n\nThis repo holds the code related to my article on creating an arithmetic system for lengths in Rust to guarantee safety and correctness of computation along with clean code without adding overhead. To read the article please visit:\n[ferrisellis.com/posts/rust-implementing-units-for-types/](ferrisellis.com/posts/rust-implementing-units-for-types/)\n\nThis code was tested on Rustc 1.15.1 stable.\n\nTo run this code do:\n\n```bash\nrustc example.rs\n./example\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcode-ape%2Frust_length_arithmetic_example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcode-ape%2Frust_length_arithmetic_example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcode-ape%2Frust_length_arithmetic_example/lists"}