{"crate":{"id":"num-conv","name":"num-conv","updated_at":"2026-05-18T18:35:52.284847Z","versions":[2419383,2164880,1703771,994957],"keywords":["cast","convert","extend","integer","truncate"],"categories":["rust-patterns","no-std","no-std::no-alloc"],"badges":[],"created_at":"2023-12-23T08:52:41.119523Z","downloads":602929779,"recent_downloads":173113207,"default_version":"0.2.2","num_versions":4,"yanked":false,"max_version":"0.2.2","newest_version":"0.2.2","max_stable_version":"0.2.2","description":"`num_conv` is a crate to convert between integer types without using `as` casts. This provides\nbetter certainty when refactoring, makes the exact behavior of code more explicit, and allows using\nturbofish syntax.\n","homepage":null,"documentation":null,"repository":"https://github.com/jhpratt/num-conv","links":{"version_downloads":"/api/v1/crates/num-conv/downloads","versions":null,"owners":"/api/v1/crates/num-conv/owners","owner_team":"/api/v1/crates/num-conv/owner_team","owner_user":"/api/v1/crates/num-conv/owner_user","reverse_dependencies":"/api/v1/crates/num-conv/reverse_dependencies"},"exact_match":false,"trustpub_only":false},"versions":[{"id":2419383,"crate":"num-conv","num":"0.2.2","dl_path":"/api/v1/crates/num-conv/0.2.2/download","readme_path":"/api/v1/crates/num-conv/0.2.2/readme","updated_at":"2026-05-18T18:35:52.284847Z","created_at":"2026-05-18T18:35:52.284847Z","downloads":120060355,"features":{},"yanked":false,"yank_message":null,"lib_links":null,"license":"MIT OR Apache-2.0","links":{"dependencies":"/api/v1/crates/num-conv/0.2.2/dependencies","version_downloads":"/api/v1/crates/num-conv/0.2.2/downloads","authors":"/api/v1/crates/num-conv/0.2.2/authors"},"crate_size":7441,"published_by":{"id":15682,"login":"jhpratt","name":"Jacob Pratt","avatar":"https://avatars.githubusercontent.com/u/3161395?v=4","url":"https://github.com/jhpratt","github_username_matches":true,"created_at":"2013-01-01T00:56:51Z"},"audit_actions":[{"action":"publish","user":{"id":15682,"login":"jhpratt","name":"Jacob Pratt","avatar":"https://avatars.githubusercontent.com/u/3161395?v=4","url":"https://github.com/jhpratt","github_username_matches":true,"created_at":"2013-01-01T00:56:51Z"},"time":"2026-05-18T18:35:52.284847Z"}],"checksum":"521739c6d2bac4aa25192232afe6841231376b2b26d4d9fae5ecf8ca5772e441","rust_version":"1.57.0","has_lib":true,"bin_names":[],"edition":"2021","description":"`num_conv` is a crate to convert between integer types without using `as` casts. This provides\nbetter certainty when refactoring, makes the exact behavior of code more explicit, and allows using\nturbofish syntax.\n","homepage":null,"documentation":null,"repository":"https://github.com/jhpratt/num-conv","trustpub_data":null,"linecounts":{"languages":{"Rust":{"code_lines":198,"comment_lines":0,"files":1}},"total_code_lines":198,"total_comment_lines":0}},{"id":2164880,"crate":"num-conv","num":"0.2.1","dl_path":"/api/v1/crates/num-conv/0.2.1/download","readme_path":"/api/v1/crates/num-conv/0.2.1/readme","updated_at":"2026-03-25T00:55:12.134899Z","created_at":"2026-03-25T00:55:12.134899Z","downloads":75760186,"features":{},"yanked":false,"yank_message":null,"lib_links":null,"license":"MIT OR Apache-2.0","links":{"dependencies":"/api/v1/crates/num-conv/0.2.1/dependencies","version_downloads":"/api/v1/crates/num-conv/0.2.1/downloads","authors":"/api/v1/crates/num-conv/0.2.1/authors"},"crate_size":7099,"published_by":{"id":15682,"login":"jhpratt","name":"Jacob Pratt","avatar":"https://avatars.githubusercontent.com/u/3161395?v=4","url":"https://github.com/jhpratt","github_username_matches":true,"created_at":"2013-01-01T00:56:51Z"},"audit_actions":[{"action":"publish","user":{"id":15682,"login":"jhpratt","name":"Jacob Pratt","avatar":"https://avatars.githubusercontent.com/u/3161395?v=4","url":"https://github.com/jhpratt","github_username_matches":true,"created_at":"2013-01-01T00:56:51Z"},"time":"2026-03-25T00:55:12.134899Z"}],"checksum":"c6673768db2d862beb9b39a78fdcb1a69439615d5794a1be50caa9bc92c81967","rust_version":"1.57.0","has_lib":true,"bin_names":[],"edition":"2021","description":"`num_conv` is a crate to convert between integer types without using `as` casts. This provides\nbetter certainty when refactoring, makes the exact behavior of code more explicit, and allows using\nturbofish syntax.\n","homepage":null,"documentation":null,"repository":"https://github.com/jhpratt/num-conv","trustpub_data":null,"linecounts":{"languages":{"Rust":{"code_lines":164,"comment_lines":0,"files":1}},"total_code_lines":164,"total_comment_lines":0}},{"id":1703771,"crate":"num-conv","num":"0.2.0","dl_path":"/api/v1/crates/num-conv/0.2.0/download","readme_path":"/api/v1/crates/num-conv/0.2.0/readme","updated_at":"2025-08-28T05:31:18.710951Z","created_at":"2025-08-28T05:31:18.710951Z","downloads":82638065,"features":{},"yanked":false,"yank_message":null,"lib_links":null,"license":"MIT OR Apache-2.0","links":{"dependencies":"/api/v1/crates/num-conv/0.2.0/dependencies","version_downloads":"/api/v1/crates/num-conv/0.2.0/downloads","authors":"/api/v1/crates/num-conv/0.2.0/authors"},"crate_size":7034,"published_by":{"id":15682,"login":"jhpratt","name":"Jacob Pratt","avatar":"https://avatars.githubusercontent.com/u/3161395?v=4","url":"https://github.com/jhpratt","github_username_matches":true,"created_at":"2013-01-01T00:56:51Z"},"audit_actions":[{"action":"publish","user":{"id":15682,"login":"jhpratt","name":"Jacob Pratt","avatar":"https://avatars.githubusercontent.com/u/3161395?v=4","url":"https://github.com/jhpratt","github_username_matches":true,"created_at":"2013-01-01T00:56:51Z"},"time":"2025-08-28T05:31:18.710951Z"}],"checksum":"cf97ec579c3c42f953ef76dbf8d55ac91fb219dde70e49aa4a6b7d74e9919050","rust_version":"1.57.0","has_lib":true,"bin_names":[],"edition":"2021","description":"`num_conv` is a crate to convert between integer types without using `as` casts. This provides\nbetter certainty when refactoring, makes the exact behavior of code more explicit, and allows using\nturbofish syntax.\n","homepage":null,"documentation":null,"repository":"https://github.com/jhpratt/num-conv","trustpub_data":null,"linecounts":{"languages":{"Rust":{"code_lines":124,"comment_lines":0,"files":1}},"total_code_lines":124,"total_comment_lines":0}},{"id":994957,"crate":"num-conv","num":"0.1.0","dl_path":"/api/v1/crates/num-conv/0.1.0/download","readme_path":"/api/v1/crates/num-conv/0.1.0/readme","updated_at":"2023-12-23T08:52:41.119523Z","created_at":"2023-12-23T08:52:41.119523Z","downloads":324471173,"features":{},"yanked":false,"yank_message":null,"lib_links":null,"license":"MIT OR Apache-2.0","links":{"dependencies":"/api/v1/crates/num-conv/0.1.0/dependencies","version_downloads":"/api/v1/crates/num-conv/0.1.0/downloads","authors":"/api/v1/crates/num-conv/0.1.0/authors"},"crate_size":7444,"published_by":{"id":15682,"login":"jhpratt","name":"Jacob Pratt","avatar":"https://avatars.githubusercontent.com/u/3161395?v=4","url":"https://github.com/jhpratt","github_username_matches":true,"created_at":"2013-01-01T00:56:51Z"},"audit_actions":[{"action":"publish","user":{"id":15682,"login":"jhpratt","name":"Jacob Pratt","avatar":"https://avatars.githubusercontent.com/u/3161395?v=4","url":"https://github.com/jhpratt","github_username_matches":true,"created_at":"2013-01-01T00:56:51Z"},"time":"2023-12-23T08:52:41.119523Z"}],"checksum":"51d515d32fb182ee37cda2ccdcb92950d6a3c2893aa280e540671c2cd0f3b1d9","rust_version":"1.57.0","has_lib":true,"bin_names":[],"edition":"2021","description":"`num_conv` is a crate to convert between integer types without using `as` casts. This provides\nbetter certainty when refactoring, makes the exact behavior of code more explicit, and allows using\nturbofish syntax.","homepage":null,"documentation":null,"repository":"https://github.com/jhpratt/num-conv","trustpub_data":null,"linecounts":{"languages":{"Rust":{"code_lines":188,"comment_lines":0,"files":1}},"total_code_lines":188,"total_comment_lines":0}}],"keywords":[{"id":"cast","keyword":"cast","created_at":"2015-09-07T22:26:22.655922Z","crates_cnt":84},{"id":"convert","keyword":"convert","created_at":"2016-03-30T20:16:02.348858Z","crates_cnt":227},{"id":"extend","keyword":"extend","created_at":"2020-01-19T16:39:05.035957Z","crates_cnt":11},{"id":"integer","keyword":"integer","created_at":"2015-07-08T14:40:04.524560Z","crates_cnt":227},{"id":"truncate","keyword":"truncate","created_at":"2019-04-17T09:29:26.239772Z","crates_cnt":17}],"categories":[{"id":"rust-patterns","category":"Rust patterns","slug":"rust-patterns","description":"Shared solutions for particular situations specific to programming in Rust.","created_at":"2017-01-17T19:13:05.112025Z","crates_cnt":4282},{"id":"no-std","category":"No standard library","slug":"no-std","description":"Crates that are able to function without the Rust standard library.","created_at":"2017-02-10T01:52:09.447906Z","crates_cnt":13659},{"id":"no-std::no-alloc","category":"No dynamic allocation","slug":"no-std::no-alloc","description":"Crates that are able to function without the Rust alloc crate.","created_at":"2023-01-23T10:07:45.986892Z","crates_cnt":1555}]}