aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohannes Löthberg <johannes@kyriasis.com>2015-01-20 16:02:04 +0100
committerJohannes Löthberg <johannes@kyriasis.com>2015-01-20 16:19:51 +0100
commitdaea135a83bd2f020398beeb2c0c9acd4c13a524 (patch)
tree1def98f1239957f086373d10fb6bc8f6eb0bdc57
parentb294eef2d5f83de97439b4fa37f020c3b9f636b4 (diff)
downloadsds-master.tar.xz
Replace READMEHEADmaster
-rw-r--r--README.rst38
-rw-r--r--docs/README.md.sds (renamed from README.md)0
2 files changed, 38 insertions, 0 deletions
diff --git a/README.rst b/README.rst
new file mode 100644
index 0000000..9c7eb43
--- /dev/null
+++ b/README.rst
@@ -0,0 +1,38 @@
+======
+ yasl
+======
+----------------------------------
+ Yet Another String Library for C
+----------------------------------
+
+yasl is a simple dynamic string library for the C programming language,
+targeting C99 and C11, and forked from the SDS library that was split out from
+Redis.
+
+Testing
+=======
+
+The yasl test suite is compiled with C99 and written using twbctf_.
+
+To compile and run the test suite, run the following command::
+
+ make test
+
+.. _twbctf: https://github.com/HalosGhost/twbctf
+
+Usage
+=====
+
+To use yasl copy the contents of the :literal:`src` directory into your sources
+and include the :literal:`yasl.h` header into the files which need to use yasl.
+
+The new API documentation aren’t finished yet, but a copy of the old SDS README
+is available in :literal:`docs/README.md.sds`, and reading the yasl header and
+test suite will provide a foundation for how to use it.
+
+License
+=======
+
+Every file in this repository, except for as otherwise specified in the file
+itself or in this README if not possible, is licensed under a 2-clause BSD
+license.
diff --git a/README.md b/docs/README.md.sds
index cac916c..cac916c 100644
--- a/README.md
+++ b/docs/README.md.sds