From 302f399bb8f0e505bea7b5dad7b0b5b799218240 Mon Sep 17 00:00:00 2001 From: Scott Worley Date: Wed, 23 Nov 2022 17:42:48 -0800 Subject: [PATCH] Add license, README, and Changelog --- Cargo.toml | 4 ++-- Changelog.md | 8 ++++++++ README.md | 5 +++++ src/main.rs | 6 ++++++ 4 files changed, 21 insertions(+), 2 deletions(-) create mode 100644 Changelog.md create mode 100644 README.md diff --git a/Cargo.toml b/Cargo.toml index 27f6bd6..a755948 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -4,8 +4,8 @@ version = "0.2.5" edition = "2021" authors = ["Scott Worley "] description = "A simple web page that tracks votes" - -# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html +license = "AGPL-3.0" +repository = "https://git.scottworley.com/voter" [dependencies] cgi = "0.6.1-rc1" diff --git a/Changelog.md b/Changelog.md new file mode 100644 index 0000000..ade0188 --- /dev/null +++ b/Changelog.md @@ -0,0 +1,8 @@ +# 0.2.6 (November 23, 2022) + +Add license, README, and Changelog + + +# 0.2.5 (November 23, 2022) + +First usable version diff --git a/README.md b/README.md new file mode 100644 index 0000000..60ae0d3 --- /dev/null +++ b/README.md @@ -0,0 +1,5 @@ +# Voter + +A simple CGI webpage that records votes, approval-voting-style. + +Demo at https://vote.scottworley.com/demo diff --git a/src/main.rs b/src/main.rs index f75557e..f79d353 100644 --- a/src/main.rs +++ b/src/main.rs @@ -1,3 +1,9 @@ +// voter: A simple CGI vote recorder, approval-voting-style +// +// This program is free software: you can redistribute it and/or modify it +// under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, version 3. + use rand::prelude::*; use std::collections::{HashMap, HashSet}; use std::io::prelude::*; -- 2.44.1