{"id":66399,"library":"normalize-line-endings","title":"Normalize Line Endings","description":"Takes an iterator over chars and returns a new iterator with all line endings (\\r, \\n, or \\r\\n) as \\n.","status":"active","version":"0.3.0","language":"rust","source_language":null,"source_url":"https://github.com/derekdreery/normalize-line-endings","tags":["line-endings","normalization","text-processing"],"install":[{"cmd":"# Cargo.toml\n[dependencies]\nnormalize-line-endings = \"0.3.0\"","lang":"toml","label":"Cargo.toml"},{"cmd":"cargo add normalize-line-endings","lang":"bash","label":"cargo add"}],"dependencies":[],"imports":[{"symbol":"normalized","correct":"use normalize_line_endings::normalized;"}],"quickstart":{"code":"use normalize_line_endings::normalized;\n\nfn main() {\n    let input = \"hello\\r\\nworld\\r\";\n    let result: String = normalized(input.chars()).collect();\n    assert_eq!(result, \"hello\\nworld\\n\");\n}","lang":"rust","description":"Normalizes all line endings to \\n."},"warnings":[],"env_vars":null,"search_vec":"'char':8 'end':3,17,27 'iter':6,13 'line':2,16,26 'line-end':25 'n':19,22,24 'new':12 'normal':1,28 'process':31 'r':18,21 'return':10 'take':4 'text':30 'text-process':29","created_at":"2026-06-17T17:23:16.938742+00:00","updated_at":"2026-06-17T17:23:16.938742+00:00","problems":[],"ecosystem":"crates","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"https://github.com/derekdreery/normalize-line-endings","github":"https://github.com/derekdreery/normalize-line-endings","docs":"https://docs.rs/normalize-line-endings/","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["utility"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-17","next_check":"2026-12-14","install_tag":null}}