From 59108541f4b3b187ba42706194fed77ac6c28548 Mon Sep 17 00:00:00 2001 From: Jonni Liljamo Date: Thu, 16 Feb 2023 17:05:40 +0200 Subject: [PATCH] chore: update licenses --- README.md | 2 +- api/Cargo.toml | 8 ++++++-- api/LICENSE | 8 ++++++++ api/src/main.rs | 8 ++++++++ client/Cargo.toml | 1 + client/src/main.rs | 2 +- server/Cargo.toml | 8 ++++++-- server/LICENSE | 8 ++++++++ server/src/main.rs | 8 ++++++++ shared/Cargo.toml | 8 ++++++-- shared/LICENSE | 8 ++++++++ shared/src/lib.rs | 8 ++++++++ 12 files changed, 69 insertions(+), 8 deletions(-) create mode 100644 api/LICENSE create mode 100644 server/LICENSE create mode 100644 shared/LICENSE diff --git a/README.md b/README.md index ac2d77d..64c1c3a 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# Deck Builder +# Deck Builder (code-named 'laurelin') See `dev` branch for latest changes. --- A deck building game with multiplayer over a web API. diff --git a/api/Cargo.toml b/api/Cargo.toml index d968b7b..eacecab 100644 --- a/api/Cargo.toml +++ b/api/Cargo.toml @@ -1,8 +1,12 @@ [package] name = "api" version = "0.1.0" +authors = ["Jonni Liljamo "] edition = "2021" - -# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html +description = "API for a deck building game" +readme = "README.md" +repository = "https://git.src.quest/~skye/deck-builder/" +license = "GPL-3.0-only" +publish = false [dependencies] diff --git a/api/LICENSE b/api/LICENSE new file mode 100644 index 0000000..fc8fe2b --- /dev/null +++ b/api/LICENSE @@ -0,0 +1,8 @@ +An API for a deck building game. +Copyright (C) 2023 Jonni Liljamo + +This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. + +This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along with this program. If not, see . diff --git a/api/src/main.rs b/api/src/main.rs index e7a11a9..0310c9d 100644 --- a/api/src/main.rs +++ b/api/src/main.rs @@ -1,3 +1,11 @@ +/* + * This file is part of laurelin/api + * Copyright (C) 2023 Jonni Liljamo + * + * Licensed under GPL-3.0-only. + * See LICENSE for licensing information. + */ + fn main() { println!("Hello, world!"); } diff --git a/client/Cargo.toml b/client/Cargo.toml index ad7cec0..d8a4506 100644 --- a/client/Cargo.toml +++ b/client/Cargo.toml @@ -7,6 +7,7 @@ description = "Client for a deck building game" readme = "README.md" repository = "https://git.src.quest/~skye/deck-builder/" license = "GPL-3.0-only" +publish = false # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/client/src/main.rs b/client/src/main.rs index a5a5e43..fecaac6 100644 --- a/client/src/main.rs +++ b/client/src/main.rs @@ -1,5 +1,5 @@ /* - * This file is part of sdbclient + * This file is part of laurelin/client * Copyright (C) 2023 Jonni Liljamo * * Licensed under GPL-3.0-only. diff --git a/server/Cargo.toml b/server/Cargo.toml index dd022ab..65512fb 100644 --- a/server/Cargo.toml +++ b/server/Cargo.toml @@ -1,8 +1,12 @@ [package] name = "server" version = "0.1.0" +authors = ["Jonni Liljamo "] edition = "2021" - -# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html +description = "Server for a deck building game" +readme = "README.md" +repository = "https://git.src.quest/~skye/deck-builder/" +license = "GPL-3.0-only" +publish = false [dependencies] diff --git a/server/LICENSE b/server/LICENSE new file mode 100644 index 0000000..0953d47 --- /dev/null +++ b/server/LICENSE @@ -0,0 +1,8 @@ +A server for a deck building game. +Copyright (C) 2023 Jonni Liljamo + +This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. + +This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along with this program. If not, see . diff --git a/server/src/main.rs b/server/src/main.rs index e7a11a9..0619b1f 100644 --- a/server/src/main.rs +++ b/server/src/main.rs @@ -1,3 +1,11 @@ +/* + * This file is part of laurelin/server + * Copyright (C) 2023 Jonni Liljamo + * + * Licensed under GPL-3.0-only. + * See LICENSE for licensing information. + */ + fn main() { println!("Hello, world!"); } diff --git a/shared/Cargo.toml b/shared/Cargo.toml index 886aebd..2b9b3e8 100644 --- a/shared/Cargo.toml +++ b/shared/Cargo.toml @@ -1,8 +1,12 @@ [package] name = "shared" version = "0.1.0" +authors = ["Jonni Liljamo "] edition = "2021" - -# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html +description = "Shared components for a deck building game" +readme = "README.md" +repository = "https://git.src.quest/~skye/deck-builder/" +license = "GPL-3.0-only" +publish = false [dependencies] diff --git a/shared/LICENSE b/shared/LICENSE new file mode 100644 index 0000000..5383c2e --- /dev/null +++ b/shared/LICENSE @@ -0,0 +1,8 @@ +Shared components for a deck building game. +Copyright (C) 2023 Jonni Liljamo + +This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. + +This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along with this program. If not, see . diff --git a/shared/src/lib.rs b/shared/src/lib.rs index 7d12d9a..b8d01de 100644 --- a/shared/src/lib.rs +++ b/shared/src/lib.rs @@ -1,3 +1,11 @@ +/* + * This file is part of laurelin/shared + * Copyright (C) 2023 Jonni Liljamo + * + * Licensed under GPL-3.0-only. + * See LICENSE for licensing information. + */ + pub fn add(left: usize, right: usize) -> usize { left + right } -- 2.44.1