aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2017-10-26 21:25:57 -0700
committerBryan Newbold <bnewbold@robocracy.org>2017-10-26 21:25:57 -0700
commited6f028c662f9b06e842fd225e5c8fb7db53ac62 (patch)
treeeb1aef31497dc7b313a20d9e302794e56dd0ee6b /src
parent177d639fab67b790f43bc0573d785271d8afb858 (diff)
downloadgeniza-ed6f028c662f9b06e842fd225e5c8fb7db53ac62.tar.gz
geniza-ed6f028c662f9b06e842fd225e5c8fb7db53ac62.zip
add licensing (GPL-3.0)
Diffstat (limited to 'src')
-rw-r--r--src/bin/geniza-net.rs2
-rw-r--r--src/bin/geniza-sleep.rs2
-rw-r--r--src/lib.rs2
-rw-r--r--src/metadata_msg.proto5
-rw-r--r--src/network_msgs.proto4
5 files changed, 14 insertions, 1 deletions
diff --git a/src/bin/geniza-net.rs b/src/bin/geniza-net.rs
index b9a4872..be4dba0 100644
--- a/src/bin/geniza-net.rs
+++ b/src/bin/geniza-net.rs
@@ -1,3 +1,5 @@
+// Free Software under GPL-3.0, see LICENSE
+// Copyright 2017 Bryan Newbold
#[macro_use]
extern crate error_chain;
diff --git a/src/bin/geniza-sleep.rs b/src/bin/geniza-sleep.rs
index 17ff91b..461df0d 100644
--- a/src/bin/geniza-sleep.rs
+++ b/src/bin/geniza-sleep.rs
@@ -1,3 +1,5 @@
+// Free Software under GPL-3.0, see LICENSE
+// Copyright 2017 Bryan Newbold
#[macro_use]
extern crate error_chain;
diff --git a/src/lib.rs b/src/lib.rs
index 3fd39ac..d106895 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -1,3 +1,5 @@
+// Free Software under GPL-3.0, see LICENSE
+// Copyright 2017 Bryan Newbold
//! This is a hobby/learning implementation of the dat distributed data synchronization system.
//!
diff --git a/src/metadata_msg.proto b/src/metadata_msg.proto
index cd36b30..68d1f59 100644
--- a/src/metadata_msg.proto
+++ b/src/metadata_msg.proto
@@ -1,4 +1,7 @@
-// From hyperdrive:lib/messages.js
+// File copied from: https://github.com/mafintosh/hyperdrive/blob/master/lib/messages.js
+// Copyright (c) 2015 Mathias Buus
+// MIT License (MIT)
+
message Index {
required string type = 1;
diff --git a/src/network_msgs.proto b/src/network_msgs.proto
index 1b7bc2c..6ee2b31 100644
--- a/src/network_msgs.proto
+++ b/src/network_msgs.proto
@@ -1,3 +1,7 @@
+// File copied from: https://github.com/mafintosh/hypercore-protocol/blob/master/schema.proto
+// Copyright (c) 2016 Mathias Buus
+// MIT License (MIT)
+
// wire format is <len>(<header><message>)
// header is a varint, channel << 4 | <4-bit-type>