Bug#627882: ITP: serd-0 -- A lightweight C library for RDF syntax
Owner: Jeremy Salwen <email@example.com>
* Package name : serd-0
Version : 0.4.0
Upstream Author : David Robillard <firstname.lastname@example.org>
* URL : http://drobilla.net/software/serd
* License : ISC License
Programming Lang: C
Description : A lightweight C library for RDF syntax
Serd is a lightweight C library for RDF syntax which supports reading
and writing Turtle and NTriples.
Serd is not intended to be a swiss-army knife of RDF syntax, but rather
is suited to resource limited or performance critical applications, or
situations where a simple reader/writer with minimal dependencies is
ideal (e.g. in LV2 hosts or plugins).
* Free: Serd is released under an extremely liberal license, which
means it is Free Software, Open Source, and free for use by both open
and proprietary projects.
* Small: Serd is implemented in under 3000 lines1 of standard C code.
On the developer’s 64-bit Debian system, it compiles to a shared library
well under 64 KiB (40 KiB with -Os), which depends only on libc. For
comparison, on the same system raptor is 417KiB and libxml2 is 2.1MiB
(making serdi roughly 6.5 and 32 times smaller, respectively).
* Portable and Dependency Free: Serd uses only the C standard library,
and has no external dependencies, making it a lightweight dependency in
* Fast and Lightweight: Serd (and the included serdi tool) can be used
to stream abbreviated Turtle (unlike many other tools which can not
stream since they must first build an internal model to abbreviate). In
other words, Serd can re-serialise an unbounded amount of Turtle using a
fixed amount of memory, preserving the abbreviations in the input.
* Conformant and Well-Tested: Serd is written to the Turtle, NTriples
and URI specifications, and includes a comprehensive test suite which
includes all the normative examples from the Turtle specification, all
the “normal” examples from the URI specification, and several additional
tests added specifically for Serd. The test suite has over 90% code
coverage (by line), and runs with zero memory errors or leaks.