🍺 BREW Explorer

← all formulae

uthash

brew install uthash v2.3.0 BSD-1-Clause

Header-only C library providing hash table, linked list, and dynamic array macros for C structures.

Why you might care

uthash lets you add hash table functionality to C structs without external dependencies—just include the headers and use macros. It's widely used in C projects needing fast lookups and is a common build dependency for C utilities and daemons that avoid C++ or external libraries.

Categories

Alternatives

glib khash SDS
1.7k
30-day installs · #1060
5.0k
90-day · #1086
15.7k
365-day · #1190

Links

Blurb generated by claude-haiku-4-5 on today.

Raw metadata
{
  "aliases": [],
  "alternatives": [
    "glib",
    "khash",
    "SDS"
  ],
  "build_dependencies": [],
  "categories": [
    "library",
    "header-only-library",
    "c"
  ],
  "caveats": null,
  "conflicts_with": [],
  "dependencies": [],
  "deprecated": 0,
  "deprecation_reason": null,
  "desc": "C macros for hash tables and more",
  "disable_reason": null,
  "disabled": 0,
  "enrichment_fetched_at": "2026-06-20T23:41:18+00:00",
  "first_seen": "2026-06-20T23:34:18+00:00",
  "full_name": "uthash",
  "github_default_branch": null,
  "github_last_commit_at": null,
  "github_readme_excerpt": null,
  "github_repo": null,
  "github_stars": null,
  "github_topics": [],
  "homepage": "https://troydhanson.github.io/uthash/",
  "homepage_og_description": null,
  "homepage_og_image": null,
  "homepage_title": "uthash: a hash table for C structures",
  "installs_30d": 1688,
  "installs_365d": 15705,
  "installs_90d": 5020,
  "keg_only": 0,
  "keg_only_reason": null,
  "last_seen": "2026-06-20T23:34:18+00:00",
  "license": "BSD-1-Clause",
  "llm_generated_at": "2026-06-20T23:48:43+00:00",
  "llm_model": "claude-haiku-4-5",
  "name": "uthash",
  "oldnames": [],
  "one_liner": "Header-only C library providing hash table, linked list, and dynamic array macros for C structures.",
  "optional_dependencies": [],
  "rank_30d": 1060,
  "rank_365d": 1190,
  "rank_90d": 1086,
  "raw_hash": "70518875b21d0a33",
  "recommended_dependencies": [],
  "revision": 0,
  "ruby_source_path": "Formula/u/uthash.rb",
  "tap": "homebrew/core",
  "test_dependencies": [],
  "uses_from_macos": [],
  "version_head": "HEAD",
  "version_stable": "2.3.0",
  "versioned_formulae": [],
  "why_use_this": "uthash lets you add hash table functionality to C structs without external dependencies\u2014just include the headers and use macros. It\u0027s widely used in C projects needing fast lookups and is a common build dependency for C utilities and daemons that avoid C++ or external libraries."
}