From 0bbb1cdb1978d0ff0b06a700016640f0642d95d5 Mon Sep 17 00:00:00 2001
From: Teddy Wing
Date: Sat, 4 Jul 2020 16:09:52 +0200
Subject: Add license (GNU GPLv3+)
---
src/lib.rs | 17 +++++++++++++++++
src/request.rs | 17 +++++++++++++++++
src/server.rs | 17 +++++++++++++++++
3 files changed, 51 insertions(+)
(limited to 'src')
diff --git a/src/lib.rs b/src/lib.rs
index 4c253b5..f06332e 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -1,5 +1,22 @@
#![warn(missing_docs)]
+// Copyright (c) 2020 Teddy Wing
+//
+// This file is part of FastCGI-Conduit.
+//
+// FastCGI-Conduit 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.
+//
+// FastCGI-Conduit 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 FastCGI-Conduit. If not, see .
+
//! # fastcgi-conduit
//!
//! FastCGI-Conduit provides a [Conduit] interface to FastCGI, enabling a
diff --git a/src/request.rs b/src/request.rs
index c10fc62..fb991bc 100644
--- a/src/request.rs
+++ b/src/request.rs
@@ -1,3 +1,20 @@
+// Copyright (c) 2020 Teddy Wing
+//
+// This file is part of FastCGI-Conduit.
+//
+// FastCGI-Conduit 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.
+//
+// FastCGI-Conduit 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 FastCGI-Conduit. If not, see .
+
use std::io;
use std::io::Read;
use std::net::SocketAddr;
diff --git a/src/server.rs b/src/server.rs
index 548d1a4..d74aa78 100644
--- a/src/server.rs
+++ b/src/server.rs
@@ -1,3 +1,20 @@
+// Copyright (c) 2020 Teddy Wing
+//
+// This file is part of FastCGI-Conduit.
+//
+// FastCGI-Conduit 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.
+//
+// FastCGI-Conduit 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 FastCGI-Conduit. If not, see .
+
use std::io;
use std::io::Write;
--
cgit v1.2.3