summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorLibravatarLarge Libravatar memdmp <memdmpestrogenzone>2025-05-18 11:52:59 +0200
committerLibravatarLarge Libravatar memdmp <memdmpestrogenzone>2025-05-18 11:52:59 +0200
commit469706c304c354dc2825a31dfc4203aa3866d330 (patch)
treeff59aa0386fd8f98acb19e58575b49a8dd16a2f4 /src
parenteedcaf5fa6e18da3f41a6ddf7d931f750bfe054c (diff)
downloadspaceapi-server-469706c304c354dc2825a31dfc4203aa3866d330.tar.gz
spaceapi-server-469706c304c354dc2825a31dfc4203aa3866d330.tar.bz2
spaceapi-server-469706c304c354dc2825a31dfc4203aa3866d330.tar.lz
spaceapi-server-469706c304c354dc2825a31dfc4203aa3866d330.zip

feat: copyright disclaimer in code comment

Diffstat (limited to 'src')
-rw-r--r--src/main.rs11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/main.rs b/src/main.rs
index 7c63c09..fee477d 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -1,3 +1,14 @@
+//
+// A wrapper around https://git.estrogen.zone/dumbswitch.git to provide nice space api responses
+// Copyright (C) 2025 memdmp
+//
+// 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, 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 Affero General Public License for more details.
+//
+// You should have received a copy of the GNU Affero General Public License along with this program. If not, see <http://www.gnu.org/licenses/>.
+//
+
use std::env;
use std::io::Error;
use std::net::SocketAddr;