summaryrefslogtreecommitdiff
path: root/dhall
diff options
context:
space:
mode:
authorNadrieril2019-12-21 22:16:59 +0000
committerNadrieril2019-12-21 22:16:59 +0000
commit8c14a3321f516d9e789671ce64584dafb656473f (patch)
tree309665a446fb69b2c990766ca0d4183ff8efd178 /dhall
parentc9f8500cd7463652e7ccc1be59afa29c484037a3 (diff)
Prepare for publishing on crates.io
Diffstat (limited to 'dhall')
-rw-r--r--dhall/Cargo.toml8
-rw-r--r--dhall/README.md10
-rw-r--r--dhall/src/lib.rs1
3 files changed, 16 insertions, 3 deletions
diff --git a/dhall/Cargo.toml b/dhall/Cargo.toml
index a93153d..60232be 100644
--- a/dhall/Cargo.toml
+++ b/dhall/Cargo.toml
@@ -1,8 +1,11 @@
[package]
name = "dhall"
-version = "0.1.0"
+version = "0.1.0" # remember to update html_root_url
authors = ["NanoTech <nanotech@nanotechcorp.net>", "Nadrieril <nadrieril@users.noreply.github.com>"]
license = "BSD-2-Clause"
+description = "Implementation of the Dhall configuration language"
+readme = "README.md"
+repository = "https://github.com/Nadrieril/dhall-rust"
edition = "2018"
build = "build.rs"
@@ -12,9 +15,8 @@ hex = "0.3.2"
lazy_static = "1.4.0"
percent-encoding = "2.1.0"
pest = "2.1"
-# pest_consume = { path = "../../pest_consume/pest_consume" }
pest_consume = "1.0"
-serde = { version = "1.0" }
+serde = "1.0"
serde_cbor = "0.9.0"
smallvec = "1.0.0"
take_mut = "0.2.2"
diff --git a/dhall/README.md b/dhall/README.md
new file mode 100644
index 0000000..e40458a
--- /dev/null
+++ b/dhall/README.md
@@ -0,0 +1,10 @@
+# `dhall`
+
+Implementation of the Dhall configuration language.
+This is an internal crate used for [`serde_dhall`], you probably want to use
+that instead.
+
+The API is very unstable and does not respect semver;
+use at your own risk.
+
+[`serde_dhall`](https://docs.rs/serde_dhall)
diff --git a/dhall/src/lib.rs b/dhall/src/lib.rs
index 12660b4..54111dd 100644
--- a/dhall/src/lib.rs
+++ b/dhall/src/lib.rs
@@ -1,3 +1,4 @@
+#![doc(html_root_url = "https://docs.rs/dhall/0.1.0")]
#![feature(trace_macros)]
#![feature(slice_patterns)]
#![feature(never_type)]