aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHarald Eilertsen <haraldei@anduin.net>2018-08-19 19:42:18 +0200
committerHarald Eilertsen <haraldei@anduin.net>2018-08-19 19:42:18 +0200
commit225478bb8c19705ab865f209fe692eb426ea1e51 (patch)
tree3141d8e8edeb7eac602635e025a9714aa56a7063
parent9abac137c5282d3bd78776e9da3608c3a32cb49f (diff)
downloadrust-zotapi-225478bb8c19705ab865f209fe692eb426ea1e51.tar.gz
rust-zotapi-225478bb8c19705ab865f209fe692eb426ea1e51.tar.bz2
rust-zotapi-225478bb8c19705ab865f209fe692eb426ea1e51.zip
Add licence blurb to sources.
-rw-r--r--Cargo.toml16
-rw-r--r--examples/hubzilla-channel-stream.rs16
-rw-r--r--examples/hubzilla-network-stream.rs16
-rw-r--r--src/lib.rs16
-rw-r--r--tests/zotapi.rs16
5 files changed, 80 insertions, 0 deletions
diff --git a/Cargo.toml b/Cargo.toml
index 88e8ba7..455b826 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -1,3 +1,19 @@
+# zotapi - Rust wrapper for Sot API as implemented by Hubzilla
+# Copyright (C) 2018 Harald Eilertsen <haraldei@anduin.net>
+#
+# 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 <https://www.gnu.org/licenses/>.
+
[package]
name = "zotapi"
version = "0.1.0"
diff --git a/examples/hubzilla-channel-stream.rs b/examples/hubzilla-channel-stream.rs
index 6820341..8045481 100644
--- a/examples/hubzilla-channel-stream.rs
+++ b/examples/hubzilla-channel-stream.rs
@@ -1,3 +1,19 @@
+// zotapi - Rust wrapper for Sot API as implemented by Hubzilla
+// Copyright (C) 2018 Harald Eilertsen <haraldei@anduin.net>
+//
+// 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 <https://www.gnu.org/licenses/>.
+
extern crate zotapi;
extern crate dotenv;
extern crate serde_json;
diff --git a/examples/hubzilla-network-stream.rs b/examples/hubzilla-network-stream.rs
index 29b6a28..104e2cb 100644
--- a/examples/hubzilla-network-stream.rs
+++ b/examples/hubzilla-network-stream.rs
@@ -1,3 +1,19 @@
+// zotapi - Rust wrapper for Sot API as implemented by Hubzilla
+// Copyright (C) 2018 Harald Eilertsen <haraldei@anduin.net>
+//
+// 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 <https://www.gnu.org/licenses/>.
+
extern crate zotapi;
extern crate dotenv;
extern crate serde_json;
diff --git a/src/lib.rs b/src/lib.rs
index 84c1340..9d22679 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -1,3 +1,19 @@
+// zotapi - Rust wrapper for Sot API as implemented by Hubzilla
+// Copyright (C) 2018 Harald Eilertsen <haraldei@anduin.net>
+//
+// 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 <https://www.gnu.org/licenses/>.
+
extern crate reqwest;
use reqwest::{
diff --git a/tests/zotapi.rs b/tests/zotapi.rs
index 1030b19..90f5298 100644
--- a/tests/zotapi.rs
+++ b/tests/zotapi.rs
@@ -1,3 +1,19 @@
+// zotapi - Rust wrapper for Sot API as implemented by Hubzilla
+// Copyright (C) 2018 Harald Eilertsen <haraldei@anduin.net>
+//
+// 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 <https://www.gnu.org/licenses/>.
+
extern crate zotapi;
extern crate mockito;