Repository: rwf2/Rocket (language: rust)

Issue:
Missing license files in rocket_codegen-0.5.0.crate
### What kind of documentation problem are you reporting?

Other

### Where is the issue found?

https://crates.io/crates/rocket_codegen/0.5.0

### What's wrong?

[LICENSE-MIT](https://github.com/rwf2/Rocket/blob/master/LICENSE-MIT) and [LICENSE-APACHE](https://github.com/rwf2/Rocket/blob/master/LICENSE-APACHE) are missing in rocket_codegen-0.5.0.crate downloaded from https://crates.io/crates/rocket_codegen/0.5.0 Please add it to all your packages. I would like to package it as rpm for Fedora (which identifies missing license as a [mistake](https://docs.fedoraproject.org/en-US/packaging-guidelines/LicensingGuidelines/#_license_text) and encourages upstream to include it) and it would make it easier. Thanks.

### System Checks

- [X] I confirmed that the issue still exists on `master` on GitHub.
- [X] I was unable to find a previous report of this problem.
Missing license files in rocket_codegen-0.5.0.crate
### What kind of documentation problem are you reporting?

Other

### Where is the issue found?

https://crates.io/crates/rocket_codegen/0.5.0

### What's wrong?

[LICENSE-MIT](https://github.com/rwf2/Rocket/blob/master/LICENSE-MIT) and [LICENSE-APACHE](https://github.com/rwf2/Rocket/blob/master/LICENSE-APACHE) are missing in rocket_codegen-0.5.0.crate downloaded from https://crates.io/crates/rocket_codegen/0.5.0 Please add it to all your packages. I would like to package it as rpm for Fedora (which identifies missing license as a [mistake](https://docs.fedoraproject.org/en-US/packaging-guidelines/LicensingGuidelines/#_license_text) and encourages upstream to include it) and it would make it easier. Thanks.

### System Checks

- [X] I confirmed that the issue still exists on `master` on GitHub.
- [X] I was unable to find a previous report of this problem.


Discussion / hints:
Please feel free to submit a PR that adds the missing files. This is certainly unintentional. I suppose cargo is only including the files in the subdirectory, so this will affect the other crates in subdirectories as well. 
Please feel free to submit a PR that adds the missing files. This is certainly unintentional. I suppose cargo is only including the files in the subdirectory, so this will affect the other crates in subdirectories as well. 

Fix patch:
diff --git a/contrib/db_pools/codegen/LICENSE-APACHE b/contrib/db_pools/codegen/LICENSE-APACHE
new file mode 120000
index 0000000000..6e2b1da875
--- /dev/null
+++ b/contrib/db_pools/codegen/LICENSE-APACHE
@@ -0,0 +1,1 @@
+../../../LICENSE-APACHE
\ No newline at end of file
diff --git a/contrib/db_pools/codegen/LICENSE-MIT b/contrib/db_pools/codegen/LICENSE-MIT
new file mode 120000
index 0000000000..98cefa6a6a
--- /dev/null
+++ b/contrib/db_pools/codegen/LICENSE-MIT
@@ -0,0 +1,1 @@
+../../../LICENSE-MIT
\ No newline at end of file
diff --git a/contrib/db_pools/lib/LICENSE-APACHE b/contrib/db_pools/lib/LICENSE-APACHE
new file mode 120000
index 0000000000..6e2b1da875
--- /dev/null
+++ b/contrib/db_pools/lib/LICENSE-APACHE
@@ -0,0 +1,1 @@
+../../../LICENSE-APACHE
\ No newline at end of file
diff --git a/contrib/db_pools/lib/LICENSE-MIT b/contrib/db_pools/lib/LICENSE-MIT
new file mode 120000
index 0000000000..98cefa6a6a
--- /dev/null
+++ b/contrib/db_pools/lib/LICENSE-MIT
@@ -0,0 +1,1 @@
+../../../LICENSE-MIT
\ No newline at end of file
diff --git a/contrib/dyn_templates/LICENSE-APACHE b/contrib/dyn_templates/LICENSE-APACHE
new file mode 120000
index 0000000000..1cd601d0a3
--- /dev/null
+++ b/contrib/dyn_templates/LICENSE-APACHE
@@ -0,0 +1,1 @@
+../../LICENSE-APACHE
\ No newline at end of file
diff --git a/contrib/dyn_templates/LICENSE-MIT b/contrib/dyn_templates/LICENSE-MIT
new file mode 120000
index 0000000000..b2cfbdc7b0
--- /dev/null
+++ b/contrib/dyn_templates/LICENSE-MIT
@@ -0,0 +1,1 @@
+../../LICENSE-MIT
\ No newline at end of file
diff --git a/contrib/sync_db_pools/codegen/LICENSE-APACHE b/contrib/sync_db_pools/codegen/LICENSE-APACHE
new file mode 120000
index 0000000000..6e2b1da875
--- /dev/null
+++ b/contrib/sync_db_pools/codegen/LICENSE-APACHE
@@ -0,0 +1,1 @@
+../../../LICENSE-APACHE
\ No newline at end of file
diff --git a/contrib/sync_db_pools/codegen/LICENSE-MIT b/contrib/sync_db_pools/codegen/LICENSE-MIT
new file mode 120000
index 0000000000..98cefa6a6a
--- /dev/null
+++ b/contrib/sync_db_pools/codegen/LICENSE-MIT
@@ -0,0 +1,1 @@
+../../../LICENSE-MIT
\ No newline at end of file
diff --git a/contrib/sync_db_pools/lib/LICENSE-APACHE b/contrib/sync_db_pools/lib/LICENSE-APACHE
new file mode 120000
index 0000000000..6e2b1da875
--- /dev/null
+++ b/contrib/sync_db_pools/lib/LICENSE-APACHE
@@ -0,0 +1,1 @@
+../../../LICENSE-APACHE
\ No newline at end of file
diff --git a/contrib/sync_db_pools/lib/LICENSE-MIT b/contrib/sync_db_pools/lib/LICENSE-MIT
new file mode 120000
index 0000000000..98cefa6a6a
--- /dev/null
+++ b/contrib/sync_db_pools/lib/LICENSE-MIT
@@ -0,0 +1,1 @@
+../../../LICENSE-MIT
\ No newline at end of file
diff --git a/contrib/ws/LICENSE-APACHE b/contrib/ws/LICENSE-APACHE
new file mode 120000
index 0000000000..1cd601d0a3
--- /dev/null
+++ b/contrib/ws/LICENSE-APACHE
@@ -0,0 +1,1 @@
+../../LICENSE-APACHE
\ No newline at end of file
diff --git a/contrib/ws/LICENSE-MIT b/contrib/ws/LICENSE-MIT
new file mode 120000
index 0000000000..b2cfbdc7b0
--- /dev/null
+++ b/contrib/ws/LICENSE-MIT
@@ -0,0 +1,1 @@
+../../LICENSE-MIT
\ No newline at end of file
diff --git a/core/codegen/LICENSE-APACHE b/core/codegen/LICENSE-APACHE
new file mode 120000
index 0000000000..1cd601d0a3
--- /dev/null
+++ b/core/codegen/LICENSE-APACHE
@@ -0,0 +1,1 @@
+../../LICENSE-APACHE
\ No newline at end of file
diff --git a/core/codegen/LICENSE-MIT b/core/codegen/LICENSE-MIT
new file mode 120000
index 0000000000..b2cfbdc7b0
--- /dev/null
+++ b/core/codegen/LICENSE-MIT
@@ -0,0 +1,1 @@
+../../LICENSE-MIT
\ No newline at end of file
diff --git a/core/http/LICENSE-APACHE b/core/http/LICENSE-APACHE
new file mode 120000
index 0000000000..1cd601d0a3
--- /dev/null
+++ b/core/http/LICENSE-APACHE
@@ -0,0 +1,1 @@
+../../LICENSE-APACHE
\ No newline at end of file
diff --git a/core/http/LICENSE-MIT b/core/http/LICENSE-MIT
new file mode 120000
index 0000000000..b2cfbdc7b0
--- /dev/null
+++ b/core/http/LICENSE-MIT
@@ -0,0 +1,1 @@
+../../LICENSE-MIT
\ No newline at end of file
diff --git a/core/lib/LICENSE-APACHE b/core/lib/LICENSE-APACHE
new file mode 120000
index 0000000000..1cd601d0a3
--- /dev/null
+++ b/core/lib/LICENSE-APACHE
@@ -0,0 +1,1 @@
+../../LICENSE-APACHE
\ No newline at end of file
diff --git a/core/lib/LICENSE-MIT b/core/lib/LICENSE-MIT
new file mode 120000
index 0000000000..b2cfbdc7b0
--- /dev/null
+++ b/core/lib/LICENSE-MIT
@@ -0,0 +1,1 @@
+../../LICENSE-MIT
\ No newline at end of file


Test patch: