27 lines
567 B
TOML
27 lines
567 B
TOML
[build]
|
|
type = "cmake"
|
|
|
|
[build.flags]
|
|
build_dir = "build"
|
|
configure = [
|
|
"-DBUILD_SHARED_LIBS=ON",
|
|
"-DYYJSON_BUILD_TESTS=ON",
|
|
"-Wno-dev",
|
|
]
|
|
|
|
[dependencies]
|
|
build = ["cmake"]
|
|
runtime = ["glibc"]
|
|
|
|
[package]
|
|
description = "performance JSON library written in ANSI C"
|
|
homepage = "https://ibireme.github.io/yyjson"
|
|
license = "MIT"
|
|
name = "yyjson"
|
|
version = "0.12.0"
|
|
|
|
[[source]]
|
|
extract_dir = "$name-$version"
|
|
url = "https://github.com/ibireme/yyjson/archive/refs/tags/$version.tar.gz"
|
|
sha256 = "b16246f617b2a136c78d73e5e2647c6f1de1313e46678062985bdcf1f40bb75d"
|