build(deps): bump re-actors/alls-green from 1.2.2 to 1.3.0 (#91)
Bumps re-actors/alls-green from 1.2.2 to 1.3.0.
updated-dependencies:
- dependency-name: re-actors/alls-green dependency-version: 1.3.0 dependency-type: direct:production update-type: version-update:semver-minor …
Signed-off-by: dependabot[bot] support@github.com Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
版权所有:中国计算机学会技术支持:开源发展技术委员会
京ICP备13000930号-9
京公网安备 11010802047560号
CFL
CFL is a compact C library of data structures and low-level utilities used by Fluent Bit and its companion telemetry libraries. It provides dynamic strings, intrusive lists, typed variants, arrays, key/value containers, hashing, checksums, atomics, and an optional arena allocator.
CFL started as a C library for Fluent Bit, a.k.a.
C:\Floppy.The library is designed to be embedded. Callers can include the complete public interface with:
Individual headers under
include/cfl/can be used when a component needs a smaller interface.Highlights
cfl_variant,cfl_array, andcfl_kvlist.cfl_sds.Core data structures
cfl_sdscfl_listcfl_kvcfl_variantcfl_arraycfl_kvlistcfl_objectcfl_arenaHeap-backed constructors remain the default. Applications that construct and discard complete variant graphs can opt into
cfl_arena; see ARENA.md for its ownership model, API, examples, and tuning advice.Utility interfaces
cfl_atomic: 64-bit compare-exchange, store, and load operations with platform-specific backends.cfl_time: wall-clock timestamps in nanoseconds.cfl_hash: xxHash 64-bit and 128-bit wrappers.cfl_checksum: CRC32C checksums.cfl_utils: string splitting, including quote-aware parsing.cfl_log: runtime error-reporting helpers.cfl_compat,cfl_found, andcfl_info: platform and build integration.Build
CFL requires CMake 3.20 or newer and a C compiler:
To build and run the unit tests:
Useful configuration options are:
CFL_DEVNoCFL_TESTSNoCFL_BENCHMARKSNoCFL_INSTALL_BUNDLED_XXHASH_HEADERSYesFor arena performance and memory comparisons, see benchmarks/README.md.
Embedding with CMake
Projects commonly embed CFL with
add_subdirectoryand link the static target:Applications using installed headers can include either
<cfl/cfl.h>or the specific module headers they require.API conventions
cfl_prefix.NULLwhen allocation or validation fails.Documentation
include/cfl/describe each supported interface.CFL_TESTSand run the suite through CTest as shown above.License
CFL is distributed under the Apache License 2.0.
Authors
Copyright is assigned to the CFL Authors. The contributor list is available on GitHub.