Skip to content

Commit f03b76f

Browse files
authored
Update README.md
1 parent 6385dca commit f03b76f

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

README.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -415,6 +415,16 @@ target_link_libraries(myprogram PUBLIC fast_float)
415415

416416
You should change the `GIT_TAG` line so that you recover the version you wish to use.
417417

418+
You may also use [CPM](https://github.com/cpm-cmake/CPM.cmake), like so:
419+
420+
```
421+
CPMAddPackage(
422+
NAME fast_float
423+
GITHUB_REPOSITORY "fastfloat/fast_float"
424+
GIT_TAG v6.1.4)
425+
```
426+
427+
418428
## Using as single header
419429

420430
The script `script/amalgamate.py` may be used to generate a single header
@@ -427,6 +437,12 @@ You may directly download automatically generated single-header files:
427437

428438
https://github.com/fastfloat/fast_float/releases/download/v6.1.4/fast_float.h
429439

440+
## Packages
441+
442+
- The fast_float library is part of the [Conan package manager](https://conan.io/center/recipes/fast_float).
443+
- It is part of the [brew package manager](https://formulae.brew.sh/formula/fast_float).
444+
- Some Linux distribution like Fedora include fast_float (e.g., as `fast_float-devel`).
445+
430446
## RFC 7159
431447

432448
If you need support for RFC 7159 (JSON standard), you may want to consider using the [fast_double_parser](https://github.com/lemire/fast_double_parser/) library instead.

0 commit comments

Comments
 (0)