{"id":16851900,"url":"https://github.com/cad97/str-index","last_synced_at":"2025-03-18T09:40:18.575Z","repository":{"id":66119484,"uuid":"213717586","full_name":"CAD97/str-index","owner":"CAD97","description":"A sketch of a general Rust string index newtype","archived":false,"fork":false,"pushed_at":"2019-11-27T04:12:02.000Z","size":43,"stargazers_count":1,"open_issues_count":2,"forks_count":0,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-01-24T16:10:28.476Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","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/CAD97.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE-APACHE","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":"2019-10-08T18:14:36.000Z","updated_at":"2020-04-11T22:10:36.000Z","dependencies_parsed_at":null,"dependency_job_id":"09ab063f-1382-4dc9-9f46-23429957eeb4","html_url":"https://github.com/CAD97/str-index","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CAD97%2Fstr-index","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CAD97%2Fstr-index/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CAD97%2Fstr-index/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CAD97%2Fstr-index/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/CAD97","download_url":"https://codeload.github.com/CAD97/str-index/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244196780,"owners_count":20414367,"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":[],"created_at":"2024-10-13T13:34:02.596Z","updated_at":"2025-03-18T09:40:18.551Z","avatar_url":"https://github.com/CAD97.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# str-index\n\nA sketch for a general Rust string index newtype.\n\nDiscuss on Zulip: \u003chttps://rust-lang.zulipchat.com/#narrow/stream/185405-t-compiler.2Fwg-rls-2.2E0/topic/str_index\u003e\n\nThe idea is to produce [one API to replace](https://xkcd.com/927/) the\n[veritable number of Pos/Span structures on crates](https://github.com/CAD97/str-index/pull/1#issuecomment-539694123).\nWe have tentative buy-in from [text_unit](https://lib.rs/crates/text_unit) (used by rowan/rust-analyzer) and\n[codespan](https://lib.rs/crates/codespan) (used by gluon) at least for adopting a unified type.\n\n## License\n\nLicensed under either of\n\n * Apache License, Version 2.0\n   ([LICENSE-APACHE](LICENSE-APACHE) or http://www.apache.org/licenses/LICENSE-2.0)\n * MIT license\n   ([LICENSE-MIT](LICENSE-MIT) or http://opensource.org/licenses/MIT)\n\nat your option.\n\n## Contribution\n\nUnless you explicitly state otherwise, any contribution intentionally submitted\nfor inclusion in the work by you, as defined in the Apache-2.0 license, shall be\ndual licensed as above, without any additional terms or conditions.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcad97%2Fstr-index","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcad97%2Fstr-index","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcad97%2Fstr-index/lists"}