From 7488297db17375bd586653820d1d1dc29f87f93a Mon Sep 17 00:00:00 2001 From: Nadrieril Date: Mon, 15 Apr 2019 17:56:24 +0200 Subject: Prepare for publication --- abnf_to_pest/Cargo.toml | 8 ++++++-- abnf_to_pest/README.md | 22 ++++++++++++++++++++++ abnf_to_pest/src/lib.rs | 1 + 3 files changed, 29 insertions(+), 2 deletions(-) create mode 100644 abnf_to_pest/README.md (limited to 'abnf_to_pest') diff --git a/abnf_to_pest/Cargo.toml b/abnf_to_pest/Cargo.toml index cd6aa10..4e32986 100644 --- a/abnf_to_pest/Cargo.toml +++ b/abnf_to_pest/Cargo.toml @@ -1,9 +1,13 @@ [package] name = "abnf_to_pest" -version = "0.1.0" +version = "0.1.0" # remember to update html_root_url authors = ["Nadrieril "] -license = "BSD-2-Clause" +license = "MIT OR Apache-2.0" edition = "2018" +description = "A tiny crate that helps convert ABNF grammars to pest" +readme = "README.md" +repository = "https://github.com/Nadrieril/dhall-rust" +documentation = "https://docs.rs/abnf_to_pest/" [lib] doctest = false diff --git a/abnf_to_pest/README.md b/abnf_to_pest/README.md new file mode 100644 index 0000000..466cf70 --- /dev/null +++ b/abnf_to_pest/README.md @@ -0,0 +1,22 @@ +# `abnf_to_pest` + +A tiny crate that helps convert ABNF grammars to [pest][pest]. + +[pest]: https://pest.rs + +## License + +Licensed under either of + + * Apache License, Version 2.0 + (http://www.apache.org/licenses/LICENSE-2.0) + * MIT license + (http://opensource.org/licenses/MIT) + +at your option. + +## Contribution + +Unless you explicitly state otherwise, any contribution intentionally submitted +for inclusion in the work by you, as defined in the Apache-2.0 license, shall be +dual licensed as above, without any additional terms or conditions diff --git a/abnf_to_pest/src/lib.rs b/abnf_to_pest/src/lib.rs index c828570..cff81ef 100644 --- a/abnf_to_pest/src/lib.rs +++ b/abnf_to_pest/src/lib.rs @@ -1,4 +1,5 @@ #![allow(clippy::implicit_hasher, clippy::or_fun_call)] +#![doc(html_root_url = "https://docs.rs/abnf_to_pest/0.1.0")] //! A tiny crate that helps convert ABNF grammars to [pest][pest]. //! -- cgit v1.2.3