From 2d543475e2d7aa5503199699bb9bb4c0e519d0a8 Mon Sep 17 00:00:00 2001 From: Steve Myers Date: Sat, 19 Aug 2023 11:01:17 -0500 Subject: [PATCH] docs: add License and Contributing sections to repo top-level README - moved license files up to repo top-level directory - minor cleanup of bdk/README.md License and Contribution sections --- crates/bdk/LICENSE => LICENSE | 0 crates/bdk/LICENSE-APACHE => LICENSE-APACHE | 0 crates/bdk/LICENSE-MIT => LICENSE-MIT | 0 README.md | 16 ++++++++++++++++ crates/bdk/README.md | 15 +++++++-------- 5 files changed, 23 insertions(+), 8 deletions(-) rename crates/bdk/LICENSE => LICENSE (100%) rename crates/bdk/LICENSE-APACHE => LICENSE-APACHE (100%) rename crates/bdk/LICENSE-MIT => LICENSE-MIT (100%) diff --git a/crates/bdk/LICENSE b/LICENSE similarity index 100% rename from crates/bdk/LICENSE rename to LICENSE diff --git a/crates/bdk/LICENSE-APACHE b/LICENSE-APACHE similarity index 100% rename from crates/bdk/LICENSE-APACHE rename to LICENSE-APACHE diff --git a/crates/bdk/LICENSE-MIT b/LICENSE-MIT similarity index 100% rename from crates/bdk/LICENSE-MIT rename to LICENSE-MIT diff --git a/README.md b/README.md index 92161130e..55eba748e 100644 --- a/README.md +++ b/README.md @@ -66,3 +66,19 @@ cargo update -p tempfile --precise "3.6.0" # rustls 0.21.2 has MSRV 1.60.0+ cargo update -p rustls:0.21.6 --precise "0.21.1" ``` + +## License + +Licensed under either of + +* Apache License, Version 2.0, ([LICENSE-APACHE](LICENSE-APACHE) or ) +* MIT license ([LICENSE-MIT](LICENSE-MIT) or ) + +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/crates/bdk/README.md b/crates/bdk/README.md index ddd67df17..f911a4ea6 100644 --- a/crates/bdk/README.md +++ b/crates/bdk/README.md @@ -206,18 +206,17 @@ cargo test Licensed under either of - * Apache License, Version 2.0 - ([LICENSE-APACHE](LICENSE-APACHE) or ) - * MIT license - ([LICENSE-MIT](LICENSE-MIT) or ) +* Apache License, Version 2.0, ([LICENSE-APACHE](../../LICENSE-APACHE) or ) +* MIT license ([LICENSE-MIT](../../LICENSE-MIT) or ) at your option. -## Contribution +### 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. +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. [`bdk_chain`]: https://docs.rs/bdk_chain/latest [`bdk_file_store`]: https://docs.rs/bdk_file_store/latest