{"id":19396216,"url":"https://github.com/anvouk/anv","last_synced_at":"2025-04-24T05:30:53.336Z","repository":{"id":155450039,"uuid":"194340922","full_name":"anvouk/anv","owner":"anvouk","description":"Collection of 1 header-only utility libraries under MIT license","archived":false,"fork":false,"pushed_at":"2023-06-03T22:50:33.000Z","size":177,"stargazers_count":7,"open_issues_count":0,"forks_count":2,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-04-02T23:12:44.547Z","etag":null,"topics":["c","cross-platform","header-only","libraries","library","no-dependencies","unit-testing","utility-library"],"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/anvouk.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}},"created_at":"2019-06-28T22:38:38.000Z","updated_at":"2024-01-10T14:20:27.000Z","dependencies_parsed_at":null,"dependency_job_id":"0b2bd571-9334-4e1b-9de3-efe38570e29f","html_url":"https://github.com/anvouk/anv","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/anvouk%2Fanv","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anvouk%2Fanv/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anvouk%2Fanv/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anvouk%2Fanv/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/anvouk","download_url":"https://codeload.github.com/anvouk/anv/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250572176,"owners_count":21452326,"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":["c","cross-platform","header-only","libraries","library","no-dependencies","unit-testing","utility-library"],"created_at":"2024-11-10T10:34:06.384Z","updated_at":"2025-04-24T05:30:53.326Z","avatar_url":"https://github.com/anvouk.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# anv\n\nanv is a collection of one-header-only C99 libraries.\n\nAll libraries prefixed with `anv_` are made by me and under MIT license.\n\nThe libs inside the `repackages` folder are existing libs which have been converted\ninto single header-only and plus eventual minor changes. These should be 1:1 drop-in replacement\nto the originals without any changes to public interfaces.\n\nList of changes applied:\n- Converted to single header only lib\n- Reformatted/cleaned-up\n- Made conformant with stricter build options (e.g. `-Wall -Wextra -Werror -Wpedantic`)\n- Other improvements (see comments in header files for more info)\n\nAll repackaged libs are under their original license.\n\nNeedless to say, this collection has been heavily inspired by [stb](https://github.com/nothings/stb).\nHope this small collection may be of help.\n\n## Usage\n\nEvery header has its own `[HEADER_NAME]_IMPLEMENTATION` macro.\nDefine this macro before including the source file in exactly one place in your\nprogram.\n\nAfter this is done, the header can be included as normal wherever is needed.\n\n## ANV libs list\n\n|      Headers      |  OS   | Description                                |\n|:-----------------:|:-----:|--------------------------------------------|\n|    anv_hhoh.h     |  Win  | File handles handler (thxs to windows...)  |\n| anv_testsuite_2.h | Cross | Simple, self-contained unit test library   |\n|  anv_metalloc.h   | Cross | Store metadata for allocated memory blocks |\n|     anv_arr.h     | Cross | Dynamic general purpose heap array in C    |\n\n## Repackaged libs\n\n| Headers  |  OS   | LICENSE | SOURCE                             | Description                   |\n|:--------:|:-----:|:-------:|------------------------------------|-------------------------------|\n| halloc.h | Cross |  BSD-2  | https://github.com/apankrat/halloc | Hierarchical memory allocator |\n\n## Deprecated libs\n\nOld and deprecated stuff can be found under the `deprecated` folder.\n\n## More examples\n\nAdditional examples/demos can be found inside the `examples` folder.\n\n## Run tests\n\n1. `cd tests`\n2. `make`\n\n## Benchmarks\n\nBenchmarks against other single header C libs can be found [here](https://github.com/anvouk/anv_benchmarks)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fanvouk%2Fanv","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fanvouk%2Fanv","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fanvouk%2Fanv/lists"}