From 8c14a3321f516d9e789671ce64584dafb656473f Mon Sep 17 00:00:00 2001
From: Nadrieril
Date: Sat, 21 Dec 2019 22:16:59 +0000
Subject: Prepare for publishing on crates.io

---
 dhall/Cargo.toml |  8 +++++---
 dhall/README.md  | 10 ++++++++++
 dhall/src/lib.rs |  1 +
 3 files changed, 16 insertions(+), 3 deletions(-)
 create mode 100644 dhall/README.md

(limited to 'dhall')

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)]
-- 
cgit v1.2.3