{"id":21857229,"url":"https://github.com/hicarod/inip","last_synced_at":"2025-06-20T18:37:22.189Z","repository":{"id":41996112,"uuid":"473374193","full_name":"HicaroD/INIp","owner":"HicaroD","description":":pencil: INI parser","archived":false,"fork":false,"pushed_at":"2022-04-19T19:50:31.000Z","size":105,"stargazers_count":0,"open_issues_count":2,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-13T09:44:21.706Z","etag":null,"topics":["ini","parser","rust"],"latest_commit_sha":null,"homepage":"https://crates.io/crates/inip","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/HicaroD.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-03-23T22:11:31.000Z","updated_at":"2022-05-08T18:08:53.000Z","dependencies_parsed_at":"2022-08-12T01:50:16.533Z","dependency_job_id":null,"html_url":"https://github.com/HicaroD/INIp","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/HicaroD/INIp","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HicaroD%2FINIp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HicaroD%2FINIp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HicaroD%2FINIp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HicaroD%2FINIp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/HicaroD","download_url":"https://codeload.github.com/HicaroD/INIp/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HicaroD%2FINIp/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260998449,"owners_count":23095110,"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":["ini","parser","rust"],"created_at":"2024-11-28T02:26:19.550Z","updated_at":"2025-06-20T18:37:22.125Z","avatar_url":"https://github.com/HicaroD.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# INIp\n:pencil: An INI parser library written in Rust.\n\n## Summary\n   1. [Features](#features)\n   2. [Installation](#installation)\n   3. [Examples](#examples)\n   4. [Rules](#rules)\n   5. [Contributions](#contributions)\n   6. [License](#license)\n\n## Features\n\n| Feature                    | Implemented?       |\n|----------------------------|--------------------|\n| Sections support           | :heavy_check_mark: |\n| Disabled entry recognition | :heavy_check_mark: |\n| Section nesting support    | :x:                |\n| Multi-line support         | :x:                |\n\n## Installation\n   Add this to your `Cargo.toml`:\n\n   ```\n   inip = \"0.2.7\"\n   ```\n\n## Example\n\n```ini\n; file.ini\n[section]\nfull_name = \"Hicaro\"\n```\n\n```rust\nuse inip::Parser;\n\nfn main() {\n    let parsed_file = Parser::parse(\"file.ini\").unwrap();\n    assert_eq!(parsed_file[\"section\"][\"full_name\"], \"Hicaro\".to_string());\n}\n```\n\nYou can read valid and invalid examples on [`examples`](examples).\n\n## Rules\n\n1. Comment lines start with `;` or it should be the first non-whitespace character of the line.\n   ```ini\n   ; this is a comment\n         ; This is another comment\n   # this is not a comment\n   ```\n\n2. All values must be surrounded by quotes\n\n   Valid:\n   ```ini\n   [section]\n   name = \"John Doe\"\n   ```\n\n   Invalid:\n   ```ini\n   [section]\n   name = John Doe\n   ```\n\n3. All key names must have one word\n\n   Valid:\n   ```ini\n   [credentials]\n   full_name = \"John Doe\"\n   ```\n\n   Invalid:\n   ```ini\n   [credentials]\n   full name = \"John Doe\"\n   ```\n\n   If you want multiple words on your key name, use whatever style you want, but don't use space to separate that.\n\n4. Disable entry recognition by using `;`\n\n   ```ini\n   [credentials]\n   ; full_name = \"John Doe\"\n   ```\n\n## Contributions\nIf you find any problems with this library, please let me know by opening an issue explaining the problem.\n\n## License\nThis project is licensed under the [MIT](LICENSE) license.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhicarod%2Finip","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhicarod%2Finip","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhicarod%2Finip/lists"}