Skip to content

Commit

Permalink
Update license from dual Apache 2.0/MIT to just MIT.
Browse files Browse the repository at this point in the history
  • Loading branch information
tikue committed Feb 8, 2016
1 parent 5d05eba commit a58dea0
Show file tree
Hide file tree
Showing 12 changed files with 28 additions and 241 deletions.
2 changes: 2 additions & 0 deletions LICENSE-MIT → LICENSE
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
The MIT License (MIT)

Copyright 2016 Google Inc. All Rights Reserved.

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
Expand Down
202 changes: 0 additions & 202 deletions LICENSE-APACHE

This file was deleted.

6 changes: 2 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@ and make it easy and ergonomic to write servers without dealing with sockets or
directly. See the tarpc_examples package for more sophisticated examples.

## Additional Features
- Imports can be specified in an `item {}` block that appears above the `service {}` block.
- Attributes can be specified on rpc methods. These will be included on both the `Service` trait
methods as well as on the `Client`'s stub methods.

Expand All @@ -57,7 +56,6 @@ To contribute to Tarpc, please see [CONTRIBUTING](CONTRIBUTING.md).

## License

Tarpc is distributed under the terms of both the MIT license
and the Apache License (Version 2.0).
Tarpc is distributed under the terms of the MIT license.

See [LICENSE-APACHE](LICENSE-APACHE) and [LICENSE-MIT](LICENSE-MIT) for details.
See [LICENSE](LICENSE) for details.
7 changes: 2 additions & 5 deletions hooks/pre-commit
Original file line number Diff line number Diff line change
@@ -1,10 +1,7 @@
# Copyright 2016 Google Inc. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
# http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
# <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
# option. This file may not be copied, modified, or distributed
# except according to those terms.
# Licensed under the MIT License, <LICENSE or http://opensource.org/licenses/MIT>.
# This file may not be copied, modified, or distributed except according to those terms.

#!/bin/sh
#
Expand Down
7 changes: 2 additions & 5 deletions hooks/pre-push
Original file line number Diff line number Diff line change
@@ -1,10 +1,7 @@
# Copyright 2016 Google Inc. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
# http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
# <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
# option. This file may not be copied, modified, or distributed
# except according to those terms.
# Licensed under the MIT License, <LICENSE or http://opensource.org/licenses/MIT>.
# This file may not be copied, modified, or distributed except according to those terms.

#!/bin/sh

Expand Down
7 changes: 2 additions & 5 deletions tarpc/install-hooks.sh
Original file line number Diff line number Diff line change
@@ -1,10 +1,7 @@
# Copyright 2016 Google Inc. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
# http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
# <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
# option. This file may not be copied, modified, or distributed
# except according to those terms.
# Licensed under the MIT License, <LICENSE or http://opensource.org/licenses/MIT>.
# This file may not be copied, modified, or distributed except according to those terms.

#!/bin/sh
ln -s ../../hooks/pre-commit .git/hooks/pre-commit
Expand Down
7 changes: 2 additions & 5 deletions tarpc/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,10 +1,7 @@
// Copyright 2016 Google Inc. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
// option. This file may not be copied, modified, or distributed
// except according to those terms.
// Licensed under the MIT License, <LICENSE or http://opensource.org/licenses/MIT>.
// This file may not be copied, modified, or distributed except according to those terms.

//! An RPC library for Rust.
//!
Expand Down
7 changes: 2 additions & 5 deletions tarpc/src/macros.rs
Original file line number Diff line number Diff line change
@@ -1,10 +1,7 @@
// Copyright 2016 Google Inc. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
// option. This file may not be copied, modified, or distributed
// except according to those terms.
// Licensed under the MIT License, <LICENSE or http://opensource.org/licenses/MIT>.
// This file may not be copied, modified, or distributed except according to those terms.

#[doc(hidden)]
#[macro_export]
Expand Down
5 changes: 5 additions & 0 deletions tarpc/src/protocol/client.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
// Copyright 2016 Google Inc. All Rights Reserved.
//
// Licensed under the MIT License, <LICENSE or http://opensource.org/licenses/MIT>.
// This file may not be copied, modified, or distributed except according to those terms.
//
use bincode;
use serde;
use std::fmt;
Expand Down
7 changes: 2 additions & 5 deletions tarpc/src/protocol/mod.rs
Original file line number Diff line number Diff line change
@@ -1,10 +1,7 @@
// Copyright 2016 Google Inc. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
// option. This file may not be copied, modified, or distributed
// except according to those terms.
// Licensed under the MIT License, <LICENSE or http://opensource.org/licenses/MIT>.
// This file may not be copied, modified, or distributed except according to those terms.

use bincode;
use std::io;
Expand Down
5 changes: 5 additions & 0 deletions tarpc/src/protocol/server.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
// Copyright 2016 Google Inc. All Rights Reserved.
//
// Licensed under the MIT License, <LICENSE or http://opensource.org/licenses/MIT>.
// This file may not be copied, modified, or distributed except according to those terms.

use bincode;
use serde;
use scoped_pool::Pool;
Expand Down
7 changes: 2 additions & 5 deletions tarpc_examples/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,10 +1,7 @@
// Copyright 2016 Google Inc. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
// option. This file may not be copied, modified, or distributed
// except according to those terms.
// Licensed under the MIT License, <LICENSE or http://opensource.org/licenses/MIT>.
// This file may not be copied, modified, or distributed except according to those terms.

#[test]
fn it_works() {
Expand Down

0 comments on commit a58dea0

Please sign in to comment.