-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathcompat.yyjson.lua
More file actions
46 lines (44 loc) · 1.67 KB
/
Copy pathcompat.yyjson.lua
File metadata and controls
46 lines (44 loc) · 1.67 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
-- compat.yyjson — High-performance C JSON parser with SIMD optimizations.
-- Single-source ANSI C library, no mandatory dependencies.
-- EUI-NEO uses yyjson internally via core/platform/json.cpp for JSON parsing.
--
-- All `mcpp` paths are GLOBS relative to the verdir; the leading `*/`
-- absorbs the GitHub tarball's `yyjson-0.12.0/` wrap layer.
package = {
spec = "1",
namespace = "compat",
name = "yyjson",
description = "Fastest C JSON library with SIMD — ANSI C, zero dependencies",
licenses = {"MIT"},
repo = "https://github.com/ibireme/yyjson",
type = "package",
xpm = {
linux = {
["0.12.0"] = {
url = "https://github.com/ibireme/yyjson/archive/refs/tags/0.12.0.tar.gz",
sha256 = "b16246f617b2a136c78d73e5e2647c6f1de1313e46678062985bdcf1f40bb75d",
},
},
macosx = {
["0.12.0"] = {
url = "https://github.com/ibireme/yyjson/archive/refs/tags/0.12.0.tar.gz",
sha256 = "b16246f617b2a136c78d73e5e2647c6f1de1313e46678062985bdcf1f40bb75d",
},
},
windows = {
["0.12.0"] = {
url = "https://github.com/ibireme/yyjson/archive/refs/tags/0.12.0.tar.gz",
sha256 = "b16246f617b2a136c78d73e5e2647c6f1de1313e46678062985bdcf1f40bb75d",
},
},
},
mcpp = {
language = "c++23",
import_std = false,
c_standard = "c99",
include_dirs = { "*/src" },
sources = { "*/src/yyjson.c" },
targets = { ["yyjson"] = { kind = "lib" } },
deps = {},
},
}