{"id":50832159,"url":"https://github.com/brendanddev/struccs","last_synced_at":"2026-06-14T00:06:09.275Z","repository":{"id":350348354,"uuid":"1082250565","full_name":"brendanddev/struccs","owner":"brendanddev","description":"A lightweight, generic C library of fundamental data structures. No dependencies, no standard container libraries.","archived":false,"fork":false,"pushed_at":"2026-05-06T23:57:33.000Z","size":478,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-05-07T01:32:32.839Z","etag":null,"topics":["algorithms","data-structures","memory-management"],"latest_commit_sha":null,"homepage":"","language":"C","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/brendanddev.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-10-24T00:49:17.000Z","updated_at":"2026-05-06T23:57:37.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/brendanddev/struccs","commit_stats":null,"previous_names":["brendanddev/struccs"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/brendanddev/struccs","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brendanddev%2Fstruccs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brendanddev%2Fstruccs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brendanddev%2Fstruccs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brendanddev%2Fstruccs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/brendanddev","download_url":"https://codeload.github.com/brendanddev/struccs/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brendanddev%2Fstruccs/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34304650,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-13T02:00:06.617Z","response_time":62,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["algorithms","data-structures","memory-management"],"created_at":"2026-06-14T00:06:08.186Z","updated_at":"2026-06-14T00:06:09.268Z","avatar_url":"https://github.com/brendanddev.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# struccs\nA lightweight, generic C library of fundamental data structures built from scratch with a focus on memory management, performance, and type-agnostic design.\n\n\u003e Version 0.9.8\n\n---\n\n## Overview\nA collection of generic, reusable data structures implemented in C using `void*` pointers, \nfunction pointers, and manual memory management — no dependencies, no standard container \nlibraries.\n\n---\n\n## Structures\n| Structure | Description |\n|---|---|\n| GenericArray | Type-agnostic dynamically resizing array |\n| LinkedList | Doubly linked list with bidirectional traversal |\n| Stack | LIFO structure backed by linked nodes |\n| Queue | FIFO structure backed by linked nodes |\n| HashTable | Generic hash table with separate chaining |\n| BinarySearchTree | Generic BST with recursive operations |\n| BinaryTree | Complete binary tree backed by flat array |\n| Heap | Min/max heap |\n| Set | In progres... |\n\n---\n\n## Project Structure\n\n```\nstruccs/\n├── include/                    # Public headers\n│   ├── generic_array.h\n│   ├── linked_list.h\n|   ├── set.h\n│   ├── stack.h\n│   ├── queue.h\n│   ├── hash_table.h\n│   ├── binary_tree.h\n│   ├── binarysearch_tree.h\n│   └── heap.h\n├── src/                        # Implementations\n│   ├── generic_array.c\n│   ├── linked_list.c\n│   ├── set.c\n│   ├── stack.c\n│   ├── queue.c\n│   ├── hash_table.c\n│   ├── binary_tree.c\n│   ├── binarysearch_tree.c\n│   └── heap.c\n├── tests/                      # Test suites\n├── docs/                       # Documentation\n│   ├── USAGE.md\n│   ├── API.md\n│   └── PERFORMANCE.md\n├── Makefile\n├── LICENSE\n└── README.md\n```\n \n---\n\n## Building\n\nClone the repo and build the static library:\n \n```bash\ngit clone https://github.com/brendanddev/struccs.git\ncd struccs\nmake\n```\n \nThis produces `build/libstruccs.a`.\n \nTo run a specific test:\n \n```bash\nmake test_ga\nmake test_ll\nmake test_bt\n# etc...\n```\n \nTo run all tests:\n \n```bash\nmake test_all\n```\n \nTo clean build artifacts:\n \n```bash\nmake clean\n```\n\n---\n\n## Usage\n \nInclude the umbrella header to get everything:\n \n```c\n#include \"struccs.h\"\n```\n \nOr include individual headers:\n \n```c\n#include \"generic_array.h\"\n#include \"linked_list.h\"\n```\n \nLink against the static library when compiling:\n \n```bash\nclang myprogram.c -I/path/to/struccs/include -L/path/to/struccs/build -lstruccs -o myprogram\n```\n \nSee [docs/usage.md](docs/usage.md) for full code examples for each structure.\n \n---\n\n## Docs\n \n- [Usage Examples](docs/USAGE.md)\n- [API Reference](docs/API.md)\n- [Performance](docs/PERFORMANCE.md)\n\n---\n\n## License\n \nMIT License — see [LICENSE](LICENSE) for details.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbrendanddev%2Fstruccs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbrendanddev%2Fstruccs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbrendanddev%2Fstruccs/lists"}