summaryrefslogtreecommitdiffstats
path: root/src/rapidjson/rapidjson.autopkg
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-27 18:24:20 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-27 18:24:20 +0000
commit483eb2f56657e8e7f419ab1a4fab8dce9ade8609 (patch)
treee5d88d25d870d5dedacb6bbdbe2a966086a0a5cf /src/rapidjson/rapidjson.autopkg
parentInitial commit. (diff)
downloadceph-483eb2f56657e8e7f419ab1a4fab8dce9ade8609.tar.xz
ceph-483eb2f56657e8e7f419ab1a4fab8dce9ade8609.zip
Adding upstream version 14.2.21.upstream/14.2.21upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r--src/rapidjson/rapidjson.autopkg75
1 files changed, 75 insertions, 0 deletions
diff --git a/src/rapidjson/rapidjson.autopkg b/src/rapidjson/rapidjson.autopkg
new file mode 100644
index 00000000..70eb0d8a
--- /dev/null
+++ b/src/rapidjson/rapidjson.autopkg
@@ -0,0 +1,75 @@
+nuget {
+ //Usage: Write-NuGetPackage rapidjson.autopkg -defines:MYVERSION=1.1.0
+ //Be sure you are running Powershell 3.0 and have the CoApp powershell extensions installed properly.
+ nuspec {
+ id = rapidjson;
+ version : ${MYVERSION};
+ title: "rapidjson";
+ authors: {"https://github.com/miloyip/rapidjson/releases/tag/v1.1.0"};
+ owners: {"@lsantos (github)"};
+ licenseUrl: "https://github.com/miloyip/rapidjson/blob/master/license.txt";
+ projectUrl: "https://github.com/miloyip/rapidjson/";
+ iconUrl: "https://cdn1.iconfinder.com/data/icons/fatcow/32x32/json.png";
+ requireLicenseAcceptance:false;
+ summary: @"A fast JSON parser/generator for C++ with both SAX/DOM style API";
+
+ // if you need to span several lines you can prefix a string with an @ symbol (exactly like c# does).
+ description: @"Rapidjson is an attempt to create the fastest JSON parser and generator.
+
+ - Small but complete. Supports both SAX and DOM style API. SAX parser only a few hundred lines of code.
+ - Fast. In the order of magnitude of strlen(). Optionally supports SSE2/SSE4.2 for acceleration.
+ - Self-contained. Minimal dependency on standard libraries. No BOOST, not even STL.
+ - Compact. Each JSON value is 16 or 20 bytes for 32 or 64-bit machines respectively (excluding text string storage). With the custom memory allocator, parser allocates memory compactly during parsing.
+ - Full RFC4627 compliance. Supports UTF-8, UTF-16 and UTF-32.
+ - Support both in-situ parsing (directly decode strings into the source JSON text) and non-destructive parsing (decode strings into new buffers).
+ - Parse number to int/unsigned/int64_t/uint64_t/double depending on input
+ - Support custom memory allocation. Also, the default memory pool allocator can also be supplied with a user buffer (such as a buffer allocated on user's heap or - programme stack) to minimize allocation.
+
+ As the name implies, rapidjson is inspired by rapidxml.";
+
+ releaseNotes: @"
+Added
+ Add Value::XXXMember(...) overloads for std::string (#335)
+
+Fixed
+ Include rapidjson.h for all internal/error headers.
+ Parsing some numbers incorrectly in full-precision mode (kFullPrecisionParseFlag) (#342)
+ Fix alignment of 64bit platforms (#328)
+ Fix MemoryPoolAllocator::Clear() to clear user-buffer (0691502)
+
+Changed
+ CMakeLists for include as a thirdparty in projects (#334, #337)
+ Change Document::ParseStream() to use stack allocator for Reader (ffbe386)";
+
+ copyright: "Copyright 2015";
+ tags: { native, coapp, JSON, nativepackage };
+ language: en-US;
+ };
+
+ dependencies {
+ packages : {
+ //TODO: Add dependecies here in [pkg.name]/[version] form per newline
+ //zlib/[1.2.8],
+ };
+ }
+
+ // the files that go into the content folders
+ files {
+ #defines {
+ SDK_ROOT = .\;
+ }
+
+ // grab all the files in the include folder
+ // the folder that contains all the .h files will
+ // automatically get added to the Includes path.
+ nestedinclude += {
+ #destination = ${d_include}rapidjson;
+ "${SDK_ROOT}include\rapidjson\**\*.h"
+ };
+ };
+
+ targets {
+ // We're trying to be standard about these sorts of thing. (Will help with config.h later :D)
+ //Defines += HAS_EQCORE;
+ };
+} \ No newline at end of file