{"id":16189952,"url":"https://github.com/brson/big_s","last_synced_at":"2025-08-30T15:32:03.542Z","repository":{"id":57508433,"uuid":"193815831","full_name":"brson/big_s","owner":"brson","description":"Rust's missing `String` literal","archived":false,"fork":false,"pushed_at":"2019-06-26T02:57:15.000Z","size":2,"stargazers_count":18,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-04-24T00:44:10.035Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/brson.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-06-26T02:34:23.000Z","updated_at":"2024-02-06T12:39:12.000Z","dependencies_parsed_at":"2022-08-30T01:31:59.643Z","dependency_job_id":null,"html_url":"https://github.com/brson/big_s","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/brson%2Fbig_s","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brson%2Fbig_s/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brson%2Fbig_s/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brson%2Fbig_s/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/brson","download_url":"https://codeload.github.com/brson/big_s/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":231494487,"owners_count":18385252,"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-10T07:37:42.859Z","updated_at":"2024-12-27T14:56:39.033Z","avatar_url":"https://github.com/brson.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Big `S` \u0026mdash; Rust's missing `String` literal\n\nHey. Sometimes we need a `String` but all we have is a string literal (an\n`\u0026'static str`). I mean, I think we've all seen eye-searing code filled with\n`\"this\".to_string()`, `\"that\".to_owned()`, or `String::from(\"theother\")`.\n\nOMG somebody just do something about it.\n\nIntroducing `S`, the three-char solution to Rust's stupidest papercut.\n\nCheck it out:\n\n```rust\ndo_something_lame(\"this\".to_string(), \"that\".to_string(), \"theother\".to_string());\n```\n\n🙄\n\n```rust\nuse big_s::S;\n\ndo_something_rad(S(\"this\"), S(\"that\"), S(\"theother\"));\n```\n\n👍\n\n## License\n\nMIT/Apache-2.0/CC0-1.0\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbrson%2Fbig_s","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbrson%2Fbig_s","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbrson%2Fbig_s/lists"}