{"id":13608259,"url":"https://github.com/chromium/subspace","last_synced_at":"2025-04-06T09:06:52.563Z","repository":{"id":38041248,"uuid":"489505152","full_name":"chromium/subspace","owner":"chromium","description":"A concept-centered standard library for C++20, enabling safer and more reliable products and a more modern feel for C++ code; Also home of Subdoc the code-documentation generator.","archived":false,"fork":false,"pushed_at":"2025-03-29T17:50:52.000Z","size":6985,"stargazers_count":95,"open_issues_count":81,"forks_count":12,"subscribers_count":6,"default_branch":"main","last_synced_at":"2025-03-30T08:09:41.058Z","etag":null,"topics":["cxx","cxx20","functional-programming","safety","standard-library"],"latest_commit_sha":null,"homepage":"https://suslib.cc","language":"C++","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/chromium.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","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":"2022-05-06T22:06:15.000Z","updated_at":"2025-03-30T07:58:58.000Z","dependencies_parsed_at":"2024-06-11T01:55:38.723Z","dependency_job_id":"966b7377-9a59-4d6a-a1d1-903462f70c2e","html_url":"https://github.com/chromium/subspace","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/chromium%2Fsubspace","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chromium%2Fsubspace/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chromium%2Fsubspace/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chromium%2Fsubspace/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/chromium","download_url":"https://codeload.github.com/chromium/subspace/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247457799,"owners_count":20941906,"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":["cxx","cxx20","functional-programming","safety","standard-library"],"created_at":"2024-08-01T19:01:25.663Z","updated_at":"2025-04-06T09:06:52.540Z","avatar_url":"https://github.com/chromium.png","language":"C++","funding_links":[],"categories":["C++"],"sub_categories":[],"readme":"[![CI](https://github.com/chromium/subspace/actions/workflows/ci.yml/badge.svg)](https://github.com/chromium/subspace/actions/workflows/ci.yml)\n[![docs](https://github.com/chromium/subspace/actions/workflows/subdoc.yml/badge.svg)](https://suslib.cc)\n\u003c!---\n[![hdoc](https://github.com/chromium/subspace/actions/workflows/hdoc.yml/badge.svg)](https://docs.hdoc.io/danakj/subspace/)\n--\u003e\n\u003c!---\n[![clang-doc](https://github.com/chromium/subspace/actions/workflows/clang-doc.yml/badge.svg)](https://danakj.github.io/subspace-docs/sus/#Namespaces)\n--\u003e\n# Subspace Library\n\n\u003cimg src=\"https://github.com/subspace-cpp/logos/blob/main/logo-512px/subspace unpadded.png?raw=true\" width=100 alt=\"logo\" class=\"logo\"  align=\"right\"\u003e\u003c/img\u003e\n\nAn [experimental take](https://danakj.github.io/2022/12/31/why-subspace.html)\non a safer, simpler C++ standard library.\n\nPlease don't use this library. This is an experiment and we don't yet know where\nit will take us. There will be breaking changes without warning, and there is no\nstable version.\n\n1. See [BUILD.md](BUILD.md) for instructions on building Subspace and Subdoc\nand running their tests.\n1. See [USAGE.md](USAGE.md) for instructions on integrating the\nSubspace library into your project.\n1. See [PRINCIPLES.md](PRINCIPLES.md) for the principles behind design choices in\nthe Subspace library.\n1. See [STYLE.md](STYLE.md) for evolving guidance and best practices for\ndevelopers of the Subspace library.\n\n## Subdoc\n\n[Subdoc](subdoc/) is a documentation generator from inline C++ documentation\nin the spirit of\n[Rustdoc](https://doc.rust-lang.org/rustdoc/what-is-rustdoc.html).\n\nThe comments in the Subspace library use markdown syntax with additional Subdoc\nattributes, and are designed to be consumed by Subdoc in order to generate an\nHTML website.\n\nSubdoc is built on top of Subspace, giving the developers a chance to see the\nSubspace library in action and test the ergonomics and features of the library.\n\n**Status:**\nSubdoc is still very much a work-in-progress, but it is being used to generate\n[Subspace documentation](https://suslib.cc)\non each commit.\n\n## Compiler Support\n\nSubspace is a\n[concept-first](https://en.cppreference.com/w/cpp/language/constraints)\nlibrary and requires C++20.\nCompiler support for C++20 varies, and with active development ongoing, bugs in\ntheir implementations still appear and disappear regularly. When in doubt,\ncheck out which compiler versions are used by the\n[CI bots](.github/workflows/ci.yml).\n\n| Compiler   | Version |\n|------------|---------|\n| **Clang:** | 16 and up |\n| **GCC**:   | 13 and up |\n| **MSVC**:   | VS2022 17.8.1 (Build 17.8.34316.72) and up |\n\nWe attempt to work around bugs when reasonable, to widen compiler version\nsupport. See [compiler_bugs.h](sus/macros/__private/compiler_bugs.h) for\nthe set of bugs we are aware of and currently work around.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchromium%2Fsubspace","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchromium%2Fsubspace","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchromium%2Fsubspace/lists"}