cstl

(β˜… 127)

facil.io C STL - a Server Toolbox Library for C, including JSON processing, hash maps, dynamic arrays, binary strings and more.

  • .clang-format
  • .gitignore
  • API-STYLE.md
  • CHANGELOG.md
  • CONTRIBUTING.md
  • fio-stl.h
  • fio-stl.md
  • fio-stl.unified-API.md
  • LICENSE
  • makefile
  • README.md
  • SECURITY.md
  • TODO.md

# Installation Guide

1. Get the code
git clone https://github.com/facil-io/cstl

Downloads the entire project code from GitHub to your computer.

cd cstl

Moves into the project folder you just downloaded.

2. Make

Medium Recommended
Prerequisites
  • Git Needed to download the project code from GitHub.
  • Make Usually pre-installed on Linux/macOS. On Windows, install separately (e.g. via MSYS2 or WSL).
make tests # run all fast correctness tests

Compiles the code based on the generated build configuration to produce an executable.

make tests/malloc # memory allocator correctness test

Compiles the code based on the generated build configuration to produce an executable.

make tests/json # JSON parser correctness test

Compiles the code based on the generated build configuration to produce an executable.

make tests/redis # RESP/Redis helper correctness test

Compiles the code based on the generated build configuration to produce an executable.

make benchmarks/crypto # crypto performance benchmark

Compiles the code based on the generated build configuration to produce an executable.

βœ… If it finishes without errors, it worked. Try running the generated executable directly.

Pulled directly from this repo's README.

// repository documentation