summaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authorJustus Winter <justus@sequoia-pgp.org>2018-03-13 15:45:50 +0100
committerJustus Winter <justus@sequoia-pgp.org>2018-03-13 15:52:18 +0100
commitf3da2cfee5469c7db87211c45a535f47456d9425 (patch)
treeac9362905f7eec1d74113fbf31b49bcb15037d74 /README.md
parent80942fa56215781c38a9289261f4f7d7694891e3 (diff)
Add some metadata and a README with build instructions.
Diffstat (limited to 'README.md')
-rw-r--r--README.md31
1 files changed, 31 insertions, 0 deletions
diff --git a/README.md b/README.md
new file mode 100644
index 00000000..58b29362
--- /dev/null
+++ b/README.md
@@ -0,0 +1,31 @@
+Sequoia PGP
+===========
+
+Sequoia is a cool new OpenPGP implementation. It consists of several
+crates, providing both a low-level and a high-level API for dealing
+with OpenPGP data.
+
+Building Sequoia
+================
+
+If you want to use Sequoia from Rust, you can simply register the
+dependency in your `Cargo.toml` file as with any other project. Note
+that we depend on a number of C libraries, which must be present along
+with their development packages.
+
+To build Sequoia, you need a Rust toolchain and a few libraries. To
+install those on a Debian system, do:
+
+ # apt install git rustc cargo clang make pkg-config nettle-dev libssl-dev capnproto libsqlite3-dev
+
+Furthermore, we also provide a C API, and bindings to other languages.
+We also consider the needs of packagers in times where distribution
+support for packaging Rust projects is not yet mature enough to handle
+a project like Sequoia. Therefore, we provide a `Makefile` to
+simplify building, testing, and installing Sequoia.
+
+To build Sequoia, simply execute `make`. To run the test suites,
+execute `make test` (or use the `check` alias). To install Sequoia,
+use `make install`. The latter target honors `PREFIX` and `DESTDIR`.
+Finally, to return your source tree to its pristine state, run `make
+clean`.