From c51ab7f09482d045e0b9bd309d27033c31f9b91f Mon Sep 17 00:00:00 2001 From: Jasper <39903+jbg@users.noreply.github.com> Date: Mon, 26 Apr 2021 04:24:14 +0700 Subject: [PATCH] Added missing licenses to Cargo.toml files and updated to use SPDX syntax (#1822) --- examples/boids/Cargo.toml | 1 + examples/counter/Cargo.toml | 1 + examples/crm/Cargo.toml | 1 + examples/dashboard/Cargo.toml | 1 + examples/dashboard/server/Cargo.toml | 3 ++- examples/file_upload/Cargo.toml | 1 + examples/futures/Cargo.toml | 1 + examples/game_of_life/Cargo.toml | 1 + examples/inner_html/Cargo.toml | 1 + examples/js_callback/Cargo.toml | 1 + examples/keyed_list/Cargo.toml | 1 + examples/mount_point/Cargo.toml | 1 + examples/multi_thread/Cargo.toml | 1 + examples/nested_list/Cargo.toml | 1 + examples/node_refs/Cargo.toml | 1 + examples/pub_sub/Cargo.toml | 1 + examples/router/Cargo.toml | 1 + examples/store/Cargo.toml | 1 + examples/timer/Cargo.toml | 1 + examples/todomvc/Cargo.toml | 1 + examples/two_apps/Cargo.toml | 1 + examples/webgl/Cargo.toml | 1 + packages/yew-components/Cargo.toml | 2 +- packages/yew-dsl/Cargo.toml | 3 ++- packages/yew-functional-macro/Cargo.toml | 1 + packages/yew-functional/Cargo.toml | 2 +- packages/yew-macro/Cargo.toml | 2 +- packages/yew-router-macro/Cargo.toml | 4 ++-- packages/yew-router-route-parser/Cargo.toml | 2 +- packages/yew-router/Cargo.toml | 2 +- packages/yew-services/Cargo.toml | 1 + packages/yew-validation/Cargo.toml | 2 +- packages/yew/Cargo.toml | 2 +- packages/yewtil-macro/Cargo.toml | 2 +- packages/yewtil/Cargo.toml | 2 +- 35 files changed, 38 insertions(+), 13 deletions(-) diff --git a/examples/boids/Cargo.toml b/examples/boids/Cargo.toml index 6c31c01c5..5a0fcfe93 100644 --- a/examples/boids/Cargo.toml +++ b/examples/boids/Cargo.toml @@ -3,6 +3,7 @@ name = "boids" version = "0.1.0" authors = ["motoki saito "] edition = "2018" +license = "MIT OR Apache-2.0" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] diff --git a/examples/counter/Cargo.toml b/examples/counter/Cargo.toml index 03f0c2f0f..a3bee0e8d 100644 --- a/examples/counter/Cargo.toml +++ b/examples/counter/Cargo.toml @@ -3,6 +3,7 @@ name = "counter" version = "0.1.1" authors = ["Denis Kolodin "] edition = "2018" +license = "MIT OR Apache-2.0" [dependencies] js-sys = "0.3" diff --git a/examples/crm/Cargo.toml b/examples/crm/Cargo.toml index cabdd9897..f7b0f983f 100644 --- a/examples/crm/Cargo.toml +++ b/examples/crm/Cargo.toml @@ -3,6 +3,7 @@ name = "crm" version = "0.1.0" authors = ["Denis Kolodin "] edition = "2018" +license = "MIT OR Apache-2.0" [dependencies] serde = "1" diff --git a/examples/dashboard/Cargo.toml b/examples/dashboard/Cargo.toml index d4448367c..5a53f2be0 100644 --- a/examples/dashboard/Cargo.toml +++ b/examples/dashboard/Cargo.toml @@ -3,6 +3,7 @@ name = "dashboard" version = "0.1.0" authors = ["Denis Kolodin "] edition = "2018" +license = "MIT OR Apache-2.0" [dependencies] anyhow = "1" diff --git a/examples/dashboard/server/Cargo.toml b/examples/dashboard/server/Cargo.toml index 777dad139..01f850d6b 100644 --- a/examples/dashboard/server/Cargo.toml +++ b/examples/dashboard/server/Cargo.toml @@ -3,8 +3,9 @@ name = "server" version = "0.1.0" authors = ["Denis Kolodin "] edition = "2018" +license = "MIT OR Apache-2.0" [dependencies] tungstenite = "0.10.1" -[workspace] \ No newline at end of file +[workspace] diff --git a/examples/file_upload/Cargo.toml b/examples/file_upload/Cargo.toml index 0d325aac6..1655590cf 100644 --- a/examples/file_upload/Cargo.toml +++ b/examples/file_upload/Cargo.toml @@ -3,6 +3,7 @@ name = "file_upload" version = "0.1.0" authors = ["Denis Kolodin "] edition = "2018" +license = "MIT OR Apache-2.0" [dependencies] js-sys = "0.3" diff --git a/examples/futures/Cargo.toml b/examples/futures/Cargo.toml index adb4fc722..fa1ec3db6 100644 --- a/examples/futures/Cargo.toml +++ b/examples/futures/Cargo.toml @@ -3,6 +3,7 @@ name = "futures" version = "0.1.0" authors = ["Henry Zimmerman "] edition = "2018" +license = "MIT OR Apache-2.0" [dependencies] pulldown-cmark = { version = "0.8", default-features = false } diff --git a/examples/game_of_life/Cargo.toml b/examples/game_of_life/Cargo.toml index fbb05fa10..51a6282a5 100644 --- a/examples/game_of_life/Cargo.toml +++ b/examples/game_of_life/Cargo.toml @@ -7,6 +7,7 @@ authors = [ "Junjie Huang " ] edition = "2018" +license = "MIT OR Apache-2.0" [dependencies] getrandom = { version = "0.2", features = ["js"] } diff --git a/examples/inner_html/Cargo.toml b/examples/inner_html/Cargo.toml index e9e016322..5a7e3bdf6 100644 --- a/examples/inner_html/Cargo.toml +++ b/examples/inner_html/Cargo.toml @@ -3,6 +3,7 @@ name = "inner_html" version = "0.1.0" authors = ["Garrett Berg "] edition = "2018" +license = "MIT OR Apache-2.0" [dependencies] yew = { path = "../../packages/yew" } diff --git a/examples/js_callback/Cargo.toml b/examples/js_callback/Cargo.toml index 895fda7a6..38732525c 100644 --- a/examples/js_callback/Cargo.toml +++ b/examples/js_callback/Cargo.toml @@ -3,6 +3,7 @@ name = "js_callback" version = "0.1.0" authors = ["Scott Steele "] edition = "2018" +license = "MIT OR Apache-2.0" [dependencies] wasm-bindgen = "0.2" diff --git a/examples/keyed_list/Cargo.toml b/examples/keyed_list/Cargo.toml index d4bd3563b..474557821 100644 --- a/examples/keyed_list/Cargo.toml +++ b/examples/keyed_list/Cargo.toml @@ -3,6 +3,7 @@ name = "keyed_list" version = "0.1.0" authors = ["Thomas Lacroix "] edition = "2018" +license = "MIT OR Apache-2.0" [dependencies] fake = "2.2" diff --git a/examples/mount_point/Cargo.toml b/examples/mount_point/Cargo.toml index 1d2dda17c..c19efa255 100644 --- a/examples/mount_point/Cargo.toml +++ b/examples/mount_point/Cargo.toml @@ -3,6 +3,7 @@ name = "mount_point" version = "0.1.0" authors = ["Ben Berman "] edition = "2018" +license = "MIT OR Apache-2.0" [dependencies] wasm-bindgen = "0.2" diff --git a/examples/multi_thread/Cargo.toml b/examples/multi_thread/Cargo.toml index d9c0fb0db..a3d0ccfb3 100644 --- a/examples/multi_thread/Cargo.toml +++ b/examples/multi_thread/Cargo.toml @@ -3,6 +3,7 @@ name = "multi_thread" version = "0.1.0" authors = ["Denis Kolodin "] edition = "2018" +license = "MIT OR Apache-2.0" [dependencies] log = "0.4" diff --git a/examples/nested_list/Cargo.toml b/examples/nested_list/Cargo.toml index 9a5200a3e..6eac8f652 100644 --- a/examples/nested_list/Cargo.toml +++ b/examples/nested_list/Cargo.toml @@ -3,6 +3,7 @@ name = "nested_list" version = "0.1.0" authors = ["Justin Starry "] edition = "2018" +license = "MIT OR Apache-2.0" [dependencies] log = "0.4" diff --git a/examples/node_refs/Cargo.toml b/examples/node_refs/Cargo.toml index 4e3e1f5a2..453757e7e 100644 --- a/examples/node_refs/Cargo.toml +++ b/examples/node_refs/Cargo.toml @@ -3,6 +3,7 @@ name = "node_refs" version = "0.1.0" authors = ["Justin Starry "] edition = "2018" +license = "MIT OR Apache-2.0" [dependencies] yew = { path = "../../packages/yew" } diff --git a/examples/pub_sub/Cargo.toml b/examples/pub_sub/Cargo.toml index 6f13baec6..bddd5d17d 100644 --- a/examples/pub_sub/Cargo.toml +++ b/examples/pub_sub/Cargo.toml @@ -2,6 +2,7 @@ name = "pub_sub" version = "0.1.0" edition = "2018" +license = "MIT OR Apache-2.0" [dependencies] log = "0.4" diff --git a/examples/router/Cargo.toml b/examples/router/Cargo.toml index c7e462e58..6ef2204d2 100644 --- a/examples/router/Cargo.toml +++ b/examples/router/Cargo.toml @@ -2,6 +2,7 @@ name = "router" version = "0.1.0" edition = "2018" +license = "MIT OR Apache-2.0" [dependencies] instant = { version = "0.1", features = ["wasm-bindgen"] } diff --git a/examples/store/Cargo.toml b/examples/store/Cargo.toml index 190c02ee0..da548408c 100644 --- a/examples/store/Cargo.toml +++ b/examples/store/Cargo.toml @@ -3,6 +3,7 @@ name = "store" version = "0.1.0" authors = ["Michał Kawalec "] edition = "2018" +license = "MIT OR Apache-2.0" [dependencies] yew = { path = "../../packages/yew" } diff --git a/examples/timer/Cargo.toml b/examples/timer/Cargo.toml index 38573ef48..959b71cad 100644 --- a/examples/timer/Cargo.toml +++ b/examples/timer/Cargo.toml @@ -3,6 +3,7 @@ name = "timer" version = "0.1.0" authors = ["Denis Kolodin "] edition = "2018" +license = "MIT OR Apache-2.0" [dependencies] yew = { path = "../../packages/yew" } diff --git a/examples/todomvc/Cargo.toml b/examples/todomvc/Cargo.toml index 55b05fef6..4db907e88 100644 --- a/examples/todomvc/Cargo.toml +++ b/examples/todomvc/Cargo.toml @@ -3,6 +3,7 @@ name = "todomvc" version = "0.1.0" authors = ["Denis Kolodin "] edition = "2018" +license = "MIT OR Apache-2.0" [dependencies] strum = "0.20" diff --git a/examples/two_apps/Cargo.toml b/examples/two_apps/Cargo.toml index 81c4ee39c..1598b7610 100644 --- a/examples/two_apps/Cargo.toml +++ b/examples/two_apps/Cargo.toml @@ -3,6 +3,7 @@ name = "two_apps" version = "0.1.0" authors = ["Denis Kolodin "] edition = "2018" +license = "MIT OR Apache-2.0" [dependencies] yew = { path = "../../packages/yew" } diff --git a/examples/webgl/Cargo.toml b/examples/webgl/Cargo.toml index 7d9b9742f..ba33bd369 100644 --- a/examples/webgl/Cargo.toml +++ b/examples/webgl/Cargo.toml @@ -3,6 +3,7 @@ name = "webgl" version = "0.1.0" authors = ["Miklós Tusz "] edition = "2018" +license = "MIT OR Apache-2.0" [dependencies] js-sys = "0.3" diff --git a/packages/yew-components/Cargo.toml b/packages/yew-components/Cargo.toml index b7e830b9f..b467ce9d9 100644 --- a/packages/yew-components/Cargo.toml +++ b/packages/yew-components/Cargo.toml @@ -6,7 +6,7 @@ authors = ["Yew Maintainers "] repository = "https://github.com/yewstack/yew" homepage = "https://github.com/yewstack/yew" documentation = "https://docs.rs/yew-components/" -license = "MIT/Apache-2.0" +license = "MIT OR Apache-2.0" keywords = ["web", "asmjs", "webasm", "javascript"] categories = ["gui", "web-programming"] description = "A collection of community-created Yew components" diff --git a/packages/yew-dsl/Cargo.toml b/packages/yew-dsl/Cargo.toml index 303aae679..d891e759b 100644 --- a/packages/yew-dsl/Cargo.toml +++ b/packages/yew-dsl/Cargo.toml @@ -3,8 +3,9 @@ name = "yew-dsl" version = "0.1.0" authors = ["Teymour Aldridge "] edition = "2018" +license = "MIT OR Apache-2.0" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] -yew = {path="../yew"} \ No newline at end of file +yew = {path="../yew"} diff --git a/packages/yew-functional-macro/Cargo.toml b/packages/yew-functional-macro/Cargo.toml index 7ff5adb85..69dd63f84 100644 --- a/packages/yew-functional-macro/Cargo.toml +++ b/packages/yew-functional-macro/Cargo.toml @@ -3,6 +3,7 @@ name = "yew-functional-macro" version = "0.1.0" authors = ["Hamza "] edition = "2018" +license = "MIT OR Apache-2.0" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [lib] diff --git a/packages/yew-functional/Cargo.toml b/packages/yew-functional/Cargo.toml index ac1b8448a..2e80deb42 100644 --- a/packages/yew-functional/Cargo.toml +++ b/packages/yew-functional/Cargo.toml @@ -5,7 +5,7 @@ authors = ["ZainlessBrombie "] edition = "2018" repository = "https://github.com/yewstack/yew" homepage = "https://github.com/yewstack/yew" -license = "MIT/Apache-2.0" +license = "MIT OR Apache-2.0" keywords = ["web", "wasm", "frontend", "webasm", "webassembly"] categories = ["gui", "web-programming", "wasm"] description = "A framework for making client-side single-page apps" diff --git a/packages/yew-macro/Cargo.toml b/packages/yew-macro/Cargo.toml index 45124844f..726d45d88 100644 --- a/packages/yew-macro/Cargo.toml +++ b/packages/yew-macro/Cargo.toml @@ -6,7 +6,7 @@ authors = ["Justin Starry "] repository = "https://github.com/yewstack/yew" homepage = "https://github.com/yewstack/yew" documentation = "https://docs.rs/yew-macro/" -license = "MIT/Apache-2.0" +license = "MIT OR Apache-2.0" keywords = ["web", "wasm", "frontend", "webasm", "webassembly"] categories = ["gui", "web-programming", "wasm"] description = "A framework for making client-side single-page apps" diff --git a/packages/yew-router-macro/Cargo.toml b/packages/yew-router-macro/Cargo.toml index 94102a383..d28da0f23 100644 --- a/packages/yew-router-macro/Cargo.toml +++ b/packages/yew-router-macro/Cargo.toml @@ -3,7 +3,7 @@ name = "yew-router-macro" version = "0.14.0" authors = ["Henry Zimmerman "] edition = "2018" -license = "MIT/Apache-2.0" +license = "MIT OR Apache-2.0" description = "Contains macros used with yew-router" repository = "https://github.com/yewstack/yew" @@ -17,4 +17,4 @@ yew-router-route-parser = { version = "0.14.0", path = "../yew-router-route-pars proc-macro2 = "1.0.1" [dev-dependencies] -yew-router = { version = "0.14.0", path = "../yew-router" } # This should probably be removed, it makes the deploy process much more annoying. \ No newline at end of file +yew-router = { version = "0.14.0", path = "../yew-router" } # This should probably be removed, it makes the deploy process much more annoying. diff --git a/packages/yew-router-route-parser/Cargo.toml b/packages/yew-router-route-parser/Cargo.toml index ebf04f099..0d16f8e4c 100644 --- a/packages/yew-router-route-parser/Cargo.toml +++ b/packages/yew-router-route-parser/Cargo.toml @@ -3,7 +3,7 @@ name = "yew-router-route-parser" version = "0.14.0" authors = ["Henry Zimmerman "] edition = "2018" -license = "MIT/Apache-2.0" +license = "MIT OR Apache-2.0" description = "The parser for the routing syntax used with yew-router" repository = "https://github.com/yewstack/yew" diff --git a/packages/yew-router/Cargo.toml b/packages/yew-router/Cargo.toml index 326d917b5..1d2131113 100644 --- a/packages/yew-router/Cargo.toml +++ b/packages/yew-router/Cargo.toml @@ -3,7 +3,7 @@ name = "yew-router" version = "0.14.0" authors = ["Henry Zimmerman ", "Sascha Grunert "] edition = "2018" -license = "MIT/Apache-2.0" +license = "MIT OR Apache-2.0" readme = "README.md" keywords = ["web", "yew", "router"] categories = ["gui", "web-programming"] diff --git a/packages/yew-services/Cargo.toml b/packages/yew-services/Cargo.toml index a417f98df..3e9056141 100644 --- a/packages/yew-services/Cargo.toml +++ b/packages/yew-services/Cargo.toml @@ -3,6 +3,7 @@ name = "yew-services" version = "0.1.0" authors = ["Hamza "] edition = "2018" +license = "MIT OR Apache-2.0" [dependencies] anyhow = "1" diff --git a/packages/yew-validation/Cargo.toml b/packages/yew-validation/Cargo.toml index 13cb367eb..29f90876e 100644 --- a/packages/yew-validation/Cargo.toml +++ b/packages/yew-validation/Cargo.toml @@ -3,7 +3,7 @@ name = "yew-validation" version = "0.1.0" authors = ["Philip Peterson "] edition = "2018" -license = "MIT/Apache-2.0" +license = "MIT OR Apache-2.0" keywords = ["web", "yew", "validation"] categories = ["text-processing", "parsing", "web-programming"] description = "Utilities for Yew to validate tag names and attributes" diff --git a/packages/yew/Cargo.toml b/packages/yew/Cargo.toml index 9fb58848c..560d12a0f 100644 --- a/packages/yew/Cargo.toml +++ b/packages/yew/Cargo.toml @@ -9,7 +9,7 @@ authors = [ repository = "https://github.com/yewstack/yew" homepage = "https://github.com/yewstack/yew" documentation = "https://docs.rs/yew/" -license = "MIT/Apache-2.0" +license = "MIT OR Apache-2.0" readme = "../README.md" keywords = ["web", "webasm", "javascript"] categories = ["gui", "wasm", "web-programming"] diff --git a/packages/yewtil-macro/Cargo.toml b/packages/yewtil-macro/Cargo.toml index 9590c809d..16f6dcb93 100644 --- a/packages/yewtil-macro/Cargo.toml +++ b/packages/yewtil-macro/Cargo.toml @@ -3,7 +3,7 @@ name = "yewtil-macro" version = "0.2.0" authors = ["Henry Zimmerman "] edition = "2018" -license = "MIT/Apache-2.0" +license = "MIT OR Apache-2.0" description = "Macros to be re-exported from the yewtil crate" [lib] diff --git a/packages/yewtil/Cargo.toml b/packages/yewtil/Cargo.toml index b7952a3bd..4bdc434ca 100644 --- a/packages/yewtil/Cargo.toml +++ b/packages/yewtil/Cargo.toml @@ -4,7 +4,7 @@ version = "0.3.2" authors = ["Henry Zimmerman "] edition = "2018" description = "Utility crate for Yew" -license = "MIT/Apache-2.0" +license = "MIT OR Apache-2.0" repository = "https://github.com/yewstack/yew" readme = "README.md"