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_proc_macros/Cargo.toml | 5 ++++- dhall_proc_macros/README.md | 7 +++++++ dhall_proc_macros/src/lib.rs | 1 + 3 files changed, 12 insertions(+), 1 deletion(-) create mode 100644 dhall_proc_macros/README.md (limited to 'dhall_proc_macros') diff --git a/dhall_proc_macros/Cargo.toml b/dhall_proc_macros/Cargo.toml index b641a39..f9d6e1a 100644 --- a/dhall_proc_macros/Cargo.toml +++ b/dhall_proc_macros/Cargo.toml @@ -1,8 +1,11 @@ [package] name = "dhall_proc_macros" -version = "0.1.0" +version = "0.1.0" # remember to update html_root_url authors = ["Nadrieril "] license = "BSD-2-Clause" +description = "Macros for dhall" +readme = "README.md" +repository = "https://github.com/Nadrieril/dhall-rust" edition = "2018" [lib] diff --git a/dhall_proc_macros/README.md b/dhall_proc_macros/README.md new file mode 100644 index 0000000..2900f0e --- /dev/null +++ b/dhall_proc_macros/README.md @@ -0,0 +1,7 @@ +# `dhall_proc_macros` + +This is an internal crate used for [`serde_dhall`], you probably want to use +that instead. + +[`serde_dhall`](https://docs.rs/serde_dhall) + diff --git a/dhall_proc_macros/src/lib.rs b/dhall_proc_macros/src/lib.rs index 5304429..ce2dcdb 100644 --- a/dhall_proc_macros/src/lib.rs +++ b/dhall_proc_macros/src/lib.rs @@ -1,3 +1,4 @@ +#![doc(html_root_url = "https://docs.rs/dhall_proc_macros/0.1.0")] //! This crate contains the code-generation primitives for the [dhall-rust][dhall-rust] crate. //! This is highly unstable and breaks regularly; use at your own risk. //! -- cgit v1.2.3 From bd2ab17dd0d61d70105a9946d3998bcdb17d04a4 Mon Sep 17 00:00:00 2001 From: Nadrieril Date: Sat, 21 Dec 2019 22:30:52 +0000 Subject: Typo --- dhall_proc_macros/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'dhall_proc_macros') diff --git a/dhall_proc_macros/README.md b/dhall_proc_macros/README.md index 2900f0e..9f512c6 100644 --- a/dhall_proc_macros/README.md +++ b/dhall_proc_macros/README.md @@ -3,5 +3,5 @@ This is an internal crate used for [`serde_dhall`], you probably want to use that instead. -[`serde_dhall`](https://docs.rs/serde_dhall) +[`serde_dhall`]: https://docs.rs/serde_dhall -- cgit v1.2.3 From 7680d4f036bbcfd97f687f4d0cfc9be9a195d423 Mon Sep 17 00:00:00 2001 From: Nadrieril Date: Sat, 21 Dec 2019 22:32:06 +0000 Subject: No need for syn features --- dhall_proc_macros/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'dhall_proc_macros') diff --git a/dhall_proc_macros/Cargo.toml b/dhall_proc_macros/Cargo.toml index f9d6e1a..ef8ae6c 100644 --- a/dhall_proc_macros/Cargo.toml +++ b/dhall_proc_macros/Cargo.toml @@ -16,4 +16,4 @@ doctest = false itertools = "0.8.0" quote = "1.0.2" proc-macro2 = "1.0.2" -syn = { version = "1.0.5", features = ["full", "extra-traits"] } +syn = "1.0.5" -- cgit v1.2.3