Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
lemire authored Aug 27, 2024
1 parent 6385dca commit f03b76f
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -415,6 +415,16 @@ target_link_libraries(myprogram PUBLIC fast_float)

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

You may also use [CPM](https://github.com/cpm-cmake/CPM.cmake), like so:

```
CPMAddPackage(
NAME fast_float
GITHUB_REPOSITORY "fastfloat/fast_float"
GIT_TAG v6.1.4)
```


## Using as single header

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

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

## Packages

- The fast_float library is part of the [Conan package manager](https://conan.io/center/recipes/fast_float).
- It is part of the [brew package manager](https://formulae.brew.sh/formula/fast_float).
- Some Linux distribution like Fedora include fast_float (e.g., as `fast_float-devel`).

## RFC 7159

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.
Expand Down

0 comments on commit f03b76f

Please sign in to comment.