{"crate":{"id":"unicode-truncate","name":"unicode-truncate","updated_at":"2026-08-20T11:57:50.534548Z","versions":[3038645,1948147,1334526,1197279,1127893,316098,169556,169553],"keywords":["pad","text","truncate","unicode","width"],"categories":[],"badges":[],"created_at":"2019-08-15T02:50:03.550433Z","downloads":58134168,"recent_downloads":23186203,"default_version":"3.0.0","num_versions":8,"yanked":false,"max_version":"3.0.0","newest_version":"3.0.0","max_stable_version":"3.0.0","description":"Unicode-aware algorithm to pad or truncate `str` in terms of displayed width.\n","homepage":"https://github.com/Aetf/unicode-truncate","documentation":null,"repository":"https://github.com/Aetf/unicode-truncate","links":{"version_downloads":"/api/v1/crates/unicode-truncate/downloads","versions":null,"owners":"/api/v1/crates/unicode-truncate/owners","owner_team":"/api/v1/crates/unicode-truncate/owner_team","owner_user":"/api/v1/crates/unicode-truncate/owner_user","reverse_dependencies":"/api/v1/crates/unicode-truncate/reverse_dependencies"},"exact_match":false,"trustpub_only":true},"versions":[{"id":3038645,"crate":"unicode-truncate","num":"3.0.0","dl_path":"/api/v1/crates/unicode-truncate/3.0.0/download","readme_path":"/api/v1/crates/unicode-truncate/3.0.0/readme","updated_at":"2026-08-20T11:57:50.534548Z","created_at":"2026-08-20T11:57:50.534548Z","downloads":16163,"features":{"default":["std"],"std":[]},"yanked":false,"yank_message":null,"lib_links":null,"license":"MIT OR Apache-2.0","links":{"dependencies":"/api/v1/crates/unicode-truncate/3.0.0/dependencies","version_downloads":"/api/v1/crates/unicode-truncate/3.0.0/downloads","authors":"/api/v1/crates/unicode-truncate/3.0.0/authors"},"crate_size":18232,"published_by":null,"audit_actions":[],"checksum":"f5dde200aa133f5b6d9cc616878815ffaa45ad9529ef4a2f04d86bab91d63984","rust_version":"1.85","has_lib":true,"bin_names":[],"edition":"2018","description":"Unicode-aware algorithm to pad or truncate `str` in terms of displayed width.\n","homepage":"https://github.com/Aetf/unicode-truncate","documentation":null,"repository":"https://github.com/Aetf/unicode-truncate","trustpub_data":{"provider":"github","repository":"Aetf/unicode-truncate","run_id":"32366352328","sha":"ce5808f1816ca59969642234643395a4d28ed327"},"linecounts":{"languages":{"Rust":{"code_lines":399,"comment_lines":51,"files":1}},"total_code_lines":399,"total_comment_lines":51}},{"id":1948147,"crate":"unicode-truncate","num":"2.0.1","dl_path":"/api/v1/crates/unicode-truncate/2.0.1/download","readme_path":"/api/v1/crates/unicode-truncate/2.0.1/readme","updated_at":"2026-01-15T23:49:26.204889Z","created_at":"2026-01-15T23:49:26.204889Z","downloads":23388926,"features":{"default":["std"],"std":[]},"yanked":false,"yank_message":null,"lib_links":null,"license":"MIT OR Apache-2.0","links":{"dependencies":"/api/v1/crates/unicode-truncate/2.0.1/dependencies","version_downloads":"/api/v1/crates/unicode-truncate/2.0.1/downloads","authors":"/api/v1/crates/unicode-truncate/2.0.1/authors"},"crate_size":18182,"published_by":{"id":42377,"login":"Aetf","name":"Aetf","avatar":"https://avatars.githubusercontent.com/u/1519759?v=4","url":"https://github.com/Aetf","github_username_matches":true,"created_at":"2012-03-09T11:16:58Z"},"audit_actions":[{"action":"publish","user":{"id":42377,"login":"Aetf","name":"Aetf","avatar":"https://avatars.githubusercontent.com/u/1519759?v=4","url":"https://github.com/Aetf","github_username_matches":true,"created_at":"2012-03-09T11:16:58Z"},"time":"2026-01-15T23:49:26.204889Z"}],"checksum":"16b380a1238663e5f8a691f9039c73e1cdae598a30e9855f541d29b08b53e9a5","rust_version":"1.66","has_lib":true,"bin_names":[],"edition":"2018","description":"Unicode-aware algorithm to pad or truncate `str` in terms of displayed width.\n","homepage":"https://github.com/Aetf/unicode-truncate","documentation":null,"repository":"https://github.com/Aetf/unicode-truncate","trustpub_data":null,"linecounts":{"languages":{"Rust":{"code_lines":399,"comment_lines":51,"files":1}},"total_code_lines":399,"total_comment_lines":51}},{"id":1334526,"crate":"unicode-truncate","num":"2.0.0","dl_path":"/api/v1/crates/unicode-truncate/2.0.0/download","readme_path":"/api/v1/crates/unicode-truncate/2.0.0/readme","updated_at":"2024-11-10T05:37:57.975355Z","created_at":"2024-11-10T05:37:57.975355Z","downloads":1048680,"features":{"default":["std"],"std":[]},"yanked":false,"yank_message":null,"lib_links":null,"license":"MIT OR Apache-2.0","links":{"dependencies":"/api/v1/crates/unicode-truncate/2.0.0/dependencies","version_downloads":"/api/v1/crates/unicode-truncate/2.0.0/downloads","authors":"/api/v1/crates/unicode-truncate/2.0.0/authors"},"crate_size":12904,"published_by":{"id":42377,"login":"Aetf","name":"Aetf","avatar":"https://avatars.githubusercontent.com/u/1519759?v=4","url":"https://github.com/Aetf","github_username_matches":true,"created_at":"2012-03-09T11:16:58Z"},"audit_actions":[{"action":"publish","user":{"id":42377,"login":"Aetf","name":"Aetf","avatar":"https://avatars.githubusercontent.com/u/1519759?v=4","url":"https://github.com/Aetf","github_username_matches":true,"created_at":"2012-03-09T11:16:58Z"},"time":"2024-11-10T05:37:57.975355Z"}],"checksum":"8fbf03860ff438702f3910ca5f28f8dac63c1c11e7efb5012b8b175493606330","rust_version":"1.66","has_lib":true,"bin_names":[],"edition":"2018","description":"Unicode-aware algorithm to pad or truncate `str` in terms of displayed width.","homepage":"https://github.com/Aetf/unicode-truncate","documentation":null,"repository":"https://github.com/Aetf/unicode-truncate","trustpub_data":null,"linecounts":{"languages":{"Rust":{"code_lines":399,"comment_lines":51,"files":1}},"total_code_lines":399,"total_comment_lines":51}},{"id":1197279,"crate":"unicode-truncate","num":"1.1.0","dl_path":"/api/v1/crates/unicode-truncate/1.1.0/download","readme_path":"/api/v1/crates/unicode-truncate/1.1.0/readme","updated_at":"2024-07-09T06:18:19.053954Z","created_at":"2024-07-09T06:18:19.053954Z","downloads":32021562,"features":{"default":["std"],"std":[]},"yanked":false,"yank_message":null,"lib_links":null,"license":"MIT OR Apache-2.0","links":{"dependencies":"/api/v1/crates/unicode-truncate/1.1.0/dependencies","version_downloads":"/api/v1/crates/unicode-truncate/1.1.0/downloads","authors":"/api/v1/crates/unicode-truncate/1.1.0/authors"},"crate_size":12529,"published_by":{"id":42377,"login":"Aetf","name":"Aetf","avatar":"https://avatars.githubusercontent.com/u/1519759?v=4","url":"https://github.com/Aetf","github_username_matches":true,"created_at":"2012-03-09T11:16:58Z"},"audit_actions":[{"action":"publish","user":{"id":42377,"login":"Aetf","name":"Aetf","avatar":"https://avatars.githubusercontent.com/u/1519759?v=4","url":"https://github.com/Aetf","github_username_matches":true,"created_at":"2012-03-09T11:16:58Z"},"time":"2024-07-09T06:18:19.053954Z"}],"checksum":"b3644627a5af5fa321c95b9b235a72fd24cd29c648c2c379431e6628655627bf","rust_version":"1.63","has_lib":true,"bin_names":[],"edition":"2018","description":"Unicode-aware algorithm to pad or truncate `str` in terms of displayed width.","homepage":"https://github.com/Aetf/unicode-truncate","documentation":null,"repository":"https://github.com/Aetf/unicode-truncate","trustpub_data":null,"linecounts":{"languages":{"Rust":{"code_lines":395,"comment_lines":48,"files":1}},"total_code_lines":395,"total_comment_lines":48}},{"id":1127893,"crate":"unicode-truncate","num":"1.0.0","dl_path":"/api/v1/crates/unicode-truncate/1.0.0/download","readme_path":"/api/v1/crates/unicode-truncate/1.0.0/readme","updated_at":"2024-04-27T04:55:55.424537Z","created_at":"2024-04-27T04:55:55.424537Z","downloads":1065094,"features":{"default":["std"],"std":[]},"yanked":false,"yank_message":null,"lib_links":null,"license":"MIT OR Apache-2.0","links":{"dependencies":"/api/v1/crates/unicode-truncate/1.0.0/dependencies","version_downloads":"/api/v1/crates/unicode-truncate/1.0.0/downloads","authors":"/api/v1/crates/unicode-truncate/1.0.0/authors"},"crate_size":12017,"published_by":{"id":42377,"login":"Aetf","name":"Aetf","avatar":"https://avatars.githubusercontent.com/u/1519759?v=4","url":"https://github.com/Aetf","github_username_matches":true,"created_at":"2012-03-09T11:16:58Z"},"audit_actions":[{"action":"publish","user":{"id":42377,"login":"Aetf","name":"Aetf","avatar":"https://avatars.githubusercontent.com/u/1519759?v=4","url":"https://github.com/Aetf","github_username_matches":true,"created_at":"2012-03-09T11:16:58Z"},"time":"2024-04-27T04:55:55.424537Z"}],"checksum":"5a5fbabedabe362c618c714dbefda9927b5afc8e2a8102f47f081089a9019226","rust_version":"1.63","has_lib":true,"bin_names":[],"edition":"2018","description":"Unicode-aware algorithm to pad or truncate `str` in terms of displayed width.","homepage":"https://github.com/Aetf/unicode-truncate","documentation":null,"repository":"https://github.com/Aetf/unicode-truncate","trustpub_data":null,"linecounts":{"languages":{"Rust":{"code_lines":367,"comment_lines":52,"files":1}},"total_code_lines":367,"total_comment_lines":52}},{"id":316098,"crate":"unicode-truncate","num":"0.2.0","dl_path":"/api/v1/crates/unicode-truncate/0.2.0/download","readme_path":"/api/v1/crates/unicode-truncate/0.2.0/readme","updated_at":"2020-12-17T22:55:27.271683Z","created_at":"2020-12-17T22:55:27.271683Z","downloads":578523,"features":{"default":["std"],"std":[]},"yanked":false,"yank_message":null,"lib_links":null,"license":"MIT OR Apache-2.0","links":{"dependencies":"/api/v1/crates/unicode-truncate/0.2.0/dependencies","version_downloads":"/api/v1/crates/unicode-truncate/0.2.0/downloads","authors":"/api/v1/crates/unicode-truncate/0.2.0/authors"},"crate_size":9835,"published_by":{"id":42377,"login":"Aetf","name":"Aetf","avatar":"https://avatars.githubusercontent.com/u/1519759?v=4","url":"https://github.com/Aetf","github_username_matches":true,"created_at":"2012-03-09T11:16:58Z"},"audit_actions":[{"action":"publish","user":{"id":42377,"login":"Aetf","name":"Aetf","avatar":"https://avatars.githubusercontent.com/u/1519759?v=4","url":"https://github.com/Aetf","github_username_matches":true,"created_at":"2012-03-09T11:16:58Z"},"time":"2020-12-17T22:55:27.271683Z"}],"checksum":"a04be5ca5f7a4a7270ffea82bc41c59b87c611ed04f20e77c338e8d3c2348e42","rust_version":null,"has_lib":true,"bin_names":[],"edition":"2018","description":"Unicode-aware algorithm to pad or truncate `str` in terms of displayed width.","homepage":"https://github.com/Aetf/unicode-truncate","documentation":null,"repository":"https://github.com/Aetf/unicode-truncate","trustpub_data":null,"linecounts":{"languages":{"Rust":{"code_lines":250,"comment_lines":15,"files":1}},"total_code_lines":250,"total_comment_lines":15}},{"id":169556,"crate":"unicode-truncate","num":"0.1.1","dl_path":"/api/v1/crates/unicode-truncate/0.1.1/download","readme_path":"/api/v1/crates/unicode-truncate/0.1.1/readme","updated_at":"2019-08-15T03:58:01.640091Z","created_at":"2019-08-15T03:58:01.640091Z","downloads":13290,"features":{"default":["std"],"std":[]},"yanked":false,"yank_message":null,"lib_links":null,"license":"MIT OR Apache-2.0","links":{"dependencies":"/api/v1/crates/unicode-truncate/0.1.1/dependencies","version_downloads":"/api/v1/crates/unicode-truncate/0.1.1/downloads","authors":"/api/v1/crates/unicode-truncate/0.1.1/authors"},"crate_size":8871,"published_by":{"id":42377,"login":"Aetf","name":"Aetf","avatar":"https://avatars.githubusercontent.com/u/1519759?v=4","url":"https://github.com/Aetf","github_username_matches":true,"created_at":"2012-03-09T11:16:58Z"},"audit_actions":[],"checksum":"1ac822301b0f9f2c2e60509da419b2401a5dc480c784e951ac6bebeee16a7beb","rust_version":null,"has_lib":true,"bin_names":[],"edition":"2018","description":"Unicode-aware algorithm to pad or truncate `str` in terms of displayed width.","homepage":"https://github.com/Aetf/unicode-truncate","documentation":null,"repository":"https://github.com/Aetf/unicode-truncate","trustpub_data":null,"linecounts":{"languages":{"Rust":{"code_lines":188,"comment_lines":11,"files":1}},"total_code_lines":188,"total_comment_lines":11}},{"id":169553,"crate":"unicode-truncate","num":"0.1.0","dl_path":"/api/v1/crates/unicode-truncate/0.1.0/download","readme_path":"/api/v1/crates/unicode-truncate/0.1.0/readme","updated_at":"2019-08-15T02:50:03.550433Z","created_at":"2019-08-15T02:50:03.550433Z","downloads":1910,"features":{"default":["std"],"std":[]},"yanked":false,"yank_message":null,"lib_links":null,"license":"MIT OR Apache-2.0","links":{"dependencies":"/api/v1/crates/unicode-truncate/0.1.0/dependencies","version_downloads":"/api/v1/crates/unicode-truncate/0.1.0/downloads","authors":"/api/v1/crates/unicode-truncate/0.1.0/authors"},"crate_size":7973,"published_by":{"id":42377,"login":"Aetf","name":"Aetf","avatar":"https://avatars.githubusercontent.com/u/1519759?v=4","url":"https://github.com/Aetf","github_username_matches":true,"created_at":"2012-03-09T11:16:58Z"},"audit_actions":[],"checksum":"960f2bb1b252c904ed27959566753ee2418b3a9582ce8b8c1ccc2420895e3d90","rust_version":null,"has_lib":true,"bin_names":[],"edition":"2018","description":"Unicode-aware, `O(n)` algorithm to pad or truncate `str` in terms of displayed width.","homepage":"https://github.com/Aetf/unicode-truncate","documentation":null,"repository":"https://github.com/Aetf/unicode-truncate","trustpub_data":null,"linecounts":{"languages":{"Rust":{"code_lines":188,"comment_lines":11,"files":1}},"total_code_lines":188,"total_comment_lines":11}}],"keywords":[{"id":"pad","keyword":"pad","created_at":"2016-03-24T08:28:18.093718Z","crates_cnt":10},{"id":"text","keyword":"text","created_at":"2014-11-14T08:25:07.725999Z","crates_cnt":1226},{"id":"truncate","keyword":"truncate","created_at":"2019-04-17T09:29:26.239772Z","crates_cnt":18},{"id":"unicode","keyword":"unicode","created_at":"2014-11-14T08:25:07.740184Z","crates_cnt":628},{"id":"width","keyword":"width","created_at":"2015-04-14T01:12:34.184985Z","crates_cnt":21}],"categories":[]}