aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/fast-double-parser
diff options
context:
space:
mode:
authorEthan Morgan <ethan@gweithio.com>2026-02-14 16:44:06 +0000
committerEthan Morgan <ethan@gweithio.com>2026-02-14 16:44:06 +0000
commit54409423f767d8b1cf30cb7d0efca6b4ca138823 (patch)
treed915ac7828703ce4b963efdd9728a1777ba18c1e /vcpkg/ports/fast-double-parser
move to own git serverHEADmaster
Diffstat (limited to 'vcpkg/ports/fast-double-parser')
-rw-r--r--vcpkg/ports/fast-double-parser/portfile.cmake21
-rw-r--r--vcpkg/ports/fast-double-parser/vcpkg.json17
2 files changed, 38 insertions, 0 deletions
diff --git a/vcpkg/ports/fast-double-parser/portfile.cmake b/vcpkg/ports/fast-double-parser/portfile.cmake
new file mode 100644
index 0000000..85a0842
--- /dev/null
+++ b/vcpkg/ports/fast-double-parser/portfile.cmake
@@ -0,0 +1,21 @@
+set(VCPKG_BUILD_TYPE release) # header-only
+
+vcpkg_from_github(
+ OUT_SOURCE_PATH SOURCE_PATH
+ REPO lemire/fast_double_parser
+ REF "v${VERSION}"
+ SHA512 143f5d920159c5fc6d516417d14f297f7ba79764bab794ed6337dff73add7adcf99f27c078cd0e83a2907c5ec1143a247d85fc229eedcaf74d7710bab0adbd76
+ HEAD_REF master
+)
+
+vcpkg_cmake_configure(
+ SOURCE_PATH "${SOURCE_PATH}"
+ OPTIONS
+ -DBUILD_TESTING=OFF
+)
+
+vcpkg_cmake_install()
+
+vcpkg_cmake_config_fixup(PACKAGE_NAME fast_double_parser)
+
+vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE")
diff --git a/vcpkg/ports/fast-double-parser/vcpkg.json b/vcpkg/ports/fast-double-parser/vcpkg.json
new file mode 100644
index 0000000..446aea4
--- /dev/null
+++ b/vcpkg/ports/fast-double-parser/vcpkg.json
@@ -0,0 +1,17 @@
+{
+ "name": "fast-double-parser",
+ "version": "0.8.1",
+ "description": "Fast function to parse strings into double (binary64) floating-point values, enforces the RFC 7159 (JSON standard) grammar: 4x faster than strtod",
+ "homepage": "https://github.com/lemire/fast_double_parser",
+ "license": "Apache-2.0",
+ "dependencies": [
+ {
+ "name": "vcpkg-cmake",
+ "host": true
+ },
+ {
+ "name": "vcpkg-cmake-config",
+ "host": true
+ }
+ ]
+}