From cdc7bd588421949a49789d349d6d44e8bcc8b9d0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Johanna=20S=C3=B6rng=C3=A5rd?=
<44257381+JSorngard@users.noreply.github.com>
Date: Thu, 24 Oct 2024 12:19:58 +0200
Subject: [PATCH] Shorten license section in the READMEs (#67)
* Update codec README.md
* Update common README.md
* Update macro README.md
---
codec/README.md | 18 +++++++++---------
common/README.md | 18 +++++++++---------
macro/README.md | 16 +++++++++-------
3 files changed, 27 insertions(+), 25 deletions(-)
diff --git a/codec/README.md b/codec/README.md
index 5cb8b55..0ea485c 100644
--- a/codec/README.md
+++ b/codec/README.md
@@ -130,19 +130,19 @@ The crate is based on the encoding and decoding functions
by Scott Conner. They were first presented in [this post](https://www.reddit.com/r/ProgrammerHumor/comments/yqof9f/the_most_upvoted_comment_picks_the_next_line_of/ivrd9ur/?context=3)
together with the above explanation.
-## License
-
-Licensed under either of
+
-- Apache License, Version 2.0 ([LICENSE-APACHE](https://github.com/JSorngard/zalgo_codec/blob/main/codec/LICENSE-APACHE)
- or )
-- MIT license ([LICENSE-MIT](https://github.com/JSorngard/zalgo_codec/blob/main/codec/LICENSE-MIT)
- or )
+### License
-at your option.
+
+Licensed under either of Apache License, Version
+2.0 or MIT license 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/common/README.md b/common/README.md
index 234aac6..6d78955 100644
--- a/common/README.md
+++ b/common/README.md
@@ -63,19 +63,19 @@ It can be installed with `cargo install zalgo-codec --features binary`.
You can optionally enable the `gui` feature during installation to include a
rudimentary GUI mode for the program.
-## License
+
-Licensed under either of
+### License
-- Apache License, Version 2.0 ([LICENSE-APACHE](https://github.com/JSorngard/zalgo_codec/blob/main/common/LICENSE-APACHE)
- or )
-- MIT license ([LICENSE-MIT](https://github.com/JSorngard/zalgo_codec/blob/main/common/LICENSE-MIT)
- or )
+
+Licensed under either of Apache License, Version
+2.0 or MIT license at your option.
+
-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/macro/README.md b/macro/README.md
index c5cfa64..9f9d53e 100644
--- a/macro/README.md
+++ b/macro/README.md
@@ -18,17 +18,19 @@ zalgo_embed!("E͎͓͕͉̞͉͆̀͑́͒̈̀̓̒̉̀̍̀̓̒̀͛̀̊̀͘̚͘͘͝ͅ"
assert_eq!(square(10), 100);
```
-## License
+
-Licensed under either of
+### License
-- Apache License, Version 2.0 ([LICENSE-APACHE](https://github.com/JSorngard/zalgo_codec/blob/main/macro/LICENSE-APACHE) or )
-- MIT license ([LICENSE-MIT](https://github.com/JSorngard/zalgo_codec/blob/main/macro/LICENSE-MIT) or )
+
+Licensed under either of Apache License, Version
+2.0 or MIT license at your option.
+
-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.
+