From d6d9ae8ae3d1f02da04235a9d432099bf2ee8027 Mon Sep 17 00:00:00 2001 From: Jasper Hugo Date: Sat, 24 Apr 2021 16:16:25 +0700 Subject: [PATCH] Added missing licenses to Cargo.toml files and updated to use SPDX syntax --- 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 6c31c01c509..5a0fcfe936c 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 03f0c2f0f66..a3bee0e8d86 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 cabdd989741..f7b0f983fe7 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 d4448367ce3..5a53f2be09a 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 777dad1397d..01f850d6bdd 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 0d325aac693..1655590cff2 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 adb4fc72244..fa1ec3db602 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 fbb05fa1041..51a6282a5ac 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 e9e01632200..5a7e3bdf63d 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 895fda7a638..38732525c8d 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 d4bd3563b3a..4745578213d 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 1d2dda17c82..c19efa25537 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 d9c0fb0db99..a3d0ccfb3d2 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 9a5200a3e9a..6eac8f652d5 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 4e3e1f5a223..453757e7ea0 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 6f13baec6a0..bddd5d17dd1 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 c7e462e58ca..6ef2204d25d 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 190c02ee096..da548408c43 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 38573ef4873..959b71cad04 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 55b05fef65f..4db907e8843 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 81c4ee39c0b..1598b761006 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 7d9b9742ffa..ba33bd369da 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 b7e830b9f95..b467ce9d967 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 303aae67926..d891e759bf2 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 7ff5adb8564..69dd63f84fe 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 ac1b8448a49..2e80deb421b 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 45124844f5b..726d45d88a9 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 94102a3835c..d28da0f2337 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 ebf04f099de..0d16f8e4cd3 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 326d917b5ea..1d2131113a1 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 a417f98df7b..3e905614137 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 13cb367eb4e..29f90876ee4 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 9fb58848c8e..560d12a0f18 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 9590c809def..16f6dcb933e 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 b7952a3bd15..4bdc434ca6c 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"