From 906a44d9d43a523e5593a547ee085b0d9656dcae Mon Sep 17 00:00:00 2001 From: Thinkofdeath Date: Thu, 17 Sep 2015 16:21:56 +0100 Subject: [PATCH] Add license --- protocol/src/format.rs | 13 +++++++++++++ protocol/src/item.rs | 13 +++++++++++++ protocol/src/nbt/mod.rs | 13 +++++++++++++ protocol/src/types/blockpos.rs | 14 ++++++++++++++ protocol/src/types/metadata.rs | 13 +++++++++++++ protocol/src/types/mod.rs | 13 +++++++++++++ 6 files changed, 79 insertions(+) diff --git a/protocol/src/format.rs b/protocol/src/format.rs index 8cef4af..d68d7a6 100644 --- a/protocol/src/format.rs +++ b/protocol/src/format.rs @@ -1,3 +1,16 @@ +// Copyright 2015 Matthew Collins +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. use serde_json; use std::fmt; diff --git a/protocol/src/item.rs b/protocol/src/item.rs index 2cdd046..5f143ad 100644 --- a/protocol/src/item.rs +++ b/protocol/src/item.rs @@ -1,3 +1,16 @@ +// Copyright 2015 Matthew Collins +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. use nbt; use protocol::{Serializable}; diff --git a/protocol/src/nbt/mod.rs b/protocol/src/nbt/mod.rs index 9bfd5f7..4100448 100644 --- a/protocol/src/nbt/mod.rs +++ b/protocol/src/nbt/mod.rs @@ -1,3 +1,16 @@ +// Copyright 2015 Matthew Collins +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. use std::collections::HashMap; use std::io; diff --git a/protocol/src/types/blockpos.rs b/protocol/src/types/blockpos.rs index 5f71af0..7e36c55 100644 --- a/protocol/src/types/blockpos.rs +++ b/protocol/src/types/blockpos.rs @@ -1,3 +1,17 @@ +// Copyright 2015 Matthew Collins +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + extern crate byteorder; use std::fmt; diff --git a/protocol/src/types/metadata.rs b/protocol/src/types/metadata.rs index 7ad261e..f4281b6 100644 --- a/protocol/src/types/metadata.rs +++ b/protocol/src/types/metadata.rs @@ -1,3 +1,16 @@ +// Copyright 2015 Matthew Collins +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. use std::collections::HashMap; use std::marker::PhantomData; diff --git a/protocol/src/types/mod.rs b/protocol/src/types/mod.rs index 082cb1a..681b872 100644 --- a/protocol/src/types/mod.rs +++ b/protocol/src/types/mod.rs @@ -1,3 +1,16 @@ +// Copyright 2015 Matthew Collins +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. mod blockpos; pub use self::blockpos::*;