{"id":18013023,"url":"https://github.com/sim642/ppx_deriving_hash","last_synced_at":"2026-03-07T10:31:11.379Z","repository":{"id":141777843,"uuid":"369533921","full_name":"sim642/ppx_deriving_hash","owner":"sim642","description":"[@@deriving hash]","archived":false,"fork":false,"pushed_at":"2025-03-20T20:35:24.000Z","size":45,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-08-17T19:38:10.067Z","etag":null,"topics":["hacktoberfest","ocaml","ppx","ppx-deriver","ppx-extension","ppxlib"],"latest_commit_sha":null,"homepage":"","language":"OCaml","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/sim642.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE.md","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}},"created_at":"2021-05-21T12:49:53.000Z","updated_at":"2025-03-20T20:28:23.000Z","dependencies_parsed_at":"2025-08-17T19:31:27.385Z","dependency_job_id":"ed4c2f26-2bbb-4ff7-80d5-0ad34904009f","html_url":"https://github.com/sim642/ppx_deriving_hash","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/sim642/ppx_deriving_hash","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sim642%2Fppx_deriving_hash","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sim642%2Fppx_deriving_hash/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sim642%2Fppx_deriving_hash/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sim642%2Fppx_deriving_hash/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sim642","download_url":"https://codeload.github.com/sim642/ppx_deriving_hash/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sim642%2Fppx_deriving_hash/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30212045,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-07T09:02:10.694Z","status":"ssl_error","status_checked_at":"2026-03-07T09:02:08.429Z","response_time":53,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["hacktoberfest","ocaml","ppx","ppx-deriver","ppx-extension","ppxlib"],"created_at":"2024-10-30T03:19:40.637Z","updated_at":"2026-03-07T10:31:10.814Z","avatar_url":"https://github.com/sim642.png","language":"OCaml","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ppx_deriving_hash\n## `[@@deriving hash]`\n\n[![ci workflow status](https://github.com/sim642/ppx_deriving_hash/actions/workflows/ci.yml/badge.svg)](https://github.com/sim642/ppx_deriving_hash/actions/workflows/ci.yml)\n[![GitHub release status](https://img.shields.io/github/v/release/sim642/ppx_deriving_hash)](https://github.com/sim642/ppx_deriving_hash/releases)\n[![opam package status](https://badgen.net/opam/v/ppx_deriving_hash)](https://opam.ocaml.org/packages/ppx_deriving_hash)\n\nDeriver for standard hash functions without extra dependencies.\n\n\n## Installation\n```console\nopam install ppx_deriving_hash\n```\n\n## Usage\nIn dune:\n```\n(preprocess (pps ppx_deriving_hash))\n```\n\n## Syntax\n* Use `[@@deriving hash]` after a type definition to derive the function `val hash: t -\u003e int` for it (if the type is named `t`) or `val ty_hash: ty -\u003e int` (otherwise if the type is named `ty`).\n* Use `[@hash fun x -\u003e ...]` after a type expression to override the underlying hash function used for it.\n* Use `[%hash: ty]` as an expression for the hash function of type `ty`.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsim642%2Fppx_deriving_hash","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsim642%2Fppx_deriving_hash","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsim642%2Fppx_deriving_hash/lists"}