{"id":15049474,"url":"https://github.com/uriparser/uriparser","last_synced_at":"2025-10-25T00:33:22.573Z","repository":{"id":28162781,"uuid":"116530664","full_name":"uriparser/uriparser","owner":"uriparser","description":" :hocho: Strictly RFC 3986 compliant URI parsing and handling library written in C89; moved from SourceForge to GitHub","archived":false,"fork":false,"pushed_at":"2025-05-14T00:20:17.000Z","size":1637,"stargazers_count":358,"open_issues_count":6,"forks_count":84,"subscribers_count":11,"default_branch":"master","last_synced_at":"2025-05-14T02:22:41.551Z","etag":null,"topics":["ansi-c","bsd-3-clause","c","c89","c90","cmake","cross-platform","iso-c","library","parser-library","rfc-3513","rfc-3986","uri","uri-parser","uriparser"],"latest_commit_sha":null,"homepage":"https://uriparser.github.io/","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/uriparser.png","metadata":{"files":{"readme":"README.md","changelog":"ChangeLog","contributing":null,"funding":null,"license":"COPYING","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":"AUTHORS","dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2018-01-07T02:17:02.000Z","updated_at":"2025-05-14T00:20:06.000Z","dependencies_parsed_at":"2023-02-15T06:01:55.440Z","dependency_job_id":"9244265c-3603-4662-b412-ec687d390fae","html_url":"https://github.com/uriparser/uriparser","commit_stats":{"total_commits":985,"total_committers":31,"mean_commits":"31.774193548387096","dds":0.06700507614213203,"last_synced_commit":"c78bf61a24303e30634a86b9dbbf741cb6658e34"},"previous_names":[],"tags_count":41,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uriparser%2Furiparser","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uriparser%2Furiparser/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uriparser%2Furiparser/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uriparser%2Furiparser/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/uriparser","download_url":"https://codeload.github.com/uriparser/uriparser/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254328385,"owners_count":22052632,"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":["ansi-c","bsd-3-clause","c","c89","c90","cmake","cross-platform","iso-c","library","parser-library","rfc-3513","rfc-3986","uri","uri-parser","uriparser"],"created_at":"2024-09-24T21:20:39.631Z","updated_at":"2025-10-25T00:33:22.567Z","avatar_url":"https://github.com/uriparser.png","language":"C","readme":"[![Build and test (Linux)](https://github.com/uriparser/uriparser/actions/workflows/build-and-test.yml/badge.svg)](https://github.com/uriparser/uriparser/actions/workflows/build-and-test.yml)\n[![Build and test (Windows)](https://github.com/uriparser/uriparser/actions/workflows/windows.yml/badge.svg)](https://github.com/uriparser/uriparser/actions/workflows/windows.yml)\n\n\n# uriparser\n\nuriparser is a\nstrictly [RFC 3986](https://datatracker.ietf.org/doc/html/rfc3986) compliant\nURI parsing and handling library\nwritten in C89 (\"ANSI C\").\nuriparser is cross-platform,\nfast,\nsupports both `char` and `wchar_t`, and\nis licensed under the [BSD-3-Clause license](https://spdx.org/licenses/BSD-3-Clause.html)\n(except for the test suite\nthat is licensed under the\n[LGPL-2.1-or-later license](https://spdx.org/licenses/LGPL-2.1-or-later.html)\nand for the fuzzing code\nthat is licensed under the\n[Apache-2.0 license](https://spdx.org/licenses/Apache-2.0.html)).\n\nTo learn more about uriparser,\nplease check out [https://uriparser.github.io/](https://uriparser.github.io/).\n\n\n# Example use from an existing CMake project\n\n```cmake\ncmake_minimum_required(VERSION 3.5.0)\n\nproject(hello VERSION 1.0.0)\n\nfind_package(uriparser 0.9.2 CONFIG REQUIRED char wchar_t)\n\nadd_executable(hello\n    hello.c\n)\n\ntarget_link_libraries(hello PUBLIC uriparser::uriparser)\n```\n\n\n# Compilation\n\n## Compilation (standalone, GNU make, Linux)\n```console\n# mkdir build\n# cd build\n# cmake -DCMAKE_BUILD_TYPE=Release ..  # see CMakeLists.txt for options\n# make\n# make test\n# make install\n```\n\n## Available CMake options (and defaults)\n```console\n# rm -f CMakeCache.txt ; cmake -LH . | grep -B1 ':.*=' | sed 's,--,,'\n// Choose the type of build, options are: None Debug Release RelWithDebInfo MinSizeRel ...\nCMAKE_BUILD_TYPE:STRING=\n\n// Install path prefix, prepended onto install directories.\nCMAKE_INSTALL_PREFIX:PATH=/usr/local\n\n// Path to qhelpgenerator program (default: auto-detect)\nQHG_LOCATION:FILEPATH=\n\n// Build code supporting data type 'char'\nURIPARSER_BUILD_CHAR:BOOL=ON\n\n// Build API documentation (requires Doxygen, Graphviz, and (optional) Qt's qhelpgenerator)\nURIPARSER_BUILD_DOCS:BOOL=ON\n\n// Build fuzzers (requires Clang)\nURIPARSER_BUILD_FUZZERS:BOOL=OFF\n\n// Build test suite (requires GTest \u003e=1.8.0)\nURIPARSER_BUILD_TESTS:BOOL=ON\n\n// Build tools (e.g. CLI \"uriparse\")\nURIPARSER_BUILD_TOOLS:BOOL=ON\n\n// Build code supporting data type 'wchar_t'\nURIPARSER_BUILD_WCHAR_T:BOOL=ON\n\n// Enable installation of uriparser\nURIPARSER_ENABLE_INSTALL:BOOL=ON\n\n// Use /MT flag (static CRT) when compiling in MSVC\nURIPARSER_MSVC_STATIC_CRT:BOOL=OFF\n\n// Build fuzzers via OSS-Fuzz\nURIPARSER_OSSFUZZ_BUILD:BOOL=OFF\n\n// Build shared libraries (rather than static ones)\nURIPARSER_SHARED_LIBS:BOOL=ON\n\n// Treat all compiler warnings as errors\nURIPARSER_WARNINGS_AS_ERRORS:BOOL=OFF\n```\n","funding_links":[],"categories":["Networking","内存分配","C"],"sub_categories":["网络"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Furiparser%2Furiparser","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Furiparser%2Furiparser","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Furiparser%2Furiparser/lists"}