Skip to content

Commit 37252dd

Browse files
authored
Merge pull request #296 from atouchet/lic
Use SPDX license format and update links
2 parents a4628b7 + c4d7ed7 commit 37252dd

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name = "flate2"
33
authors = ["Alex Crichton <[email protected]>", "Josh Triplett <[email protected]>"]
44
version = "1.0.24"
55
edition = "2018"
6-
license = "MIT/Apache-2.0"
6+
license = "MIT OR Apache-2.0"
77
readme = "README.md"
88
keywords = ["gzip", "deflate", "zlib", "zlib-ng", "encoding"]
99
categories = ["compression", "api-bindings"]

README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ See [the libz-sys
8787
README](https://github.com/rust-lang/libz-sys/blob/main/README.md) for details.
8888
To avoid that, use the `"zlib-ng"` feature instead.
8989

90-
For compatibility with previous versions of `flate2`, the cloudflare optimized
90+
For compatibility with previous versions of `flate2`, the Cloudflare optimized
9191
version of zlib is available, via the `cloudflare_zlib` feature. It's not as
9292
fast as zlib-ng, but it's faster than stock zlib. It requires an x86-64 CPU with
9393
SSE 4.2 or ARM64 with NEON & CRC. It does not support 32-bit CPUs at all and is
@@ -101,9 +101,9 @@ uses another version of zlib/libz.
101101
This project is licensed under either of
102102

103103
* Apache License, Version 2.0, ([LICENSE-APACHE](LICENSE-APACHE) or
104-
http://www.apache.org/licenses/LICENSE-2.0)
104+
https://www.apache.org/licenses/LICENSE-2.0)
105105
* MIT license ([LICENSE-MIT](LICENSE-MIT) or
106-
http://opensource.org/licenses/MIT)
106+
https://opensource.org/licenses/MIT)
107107

108108
at your option.
109109

src/bufreader.rs

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
// Copyright 2013 The Rust Project Developers. See the COPYRIGHT
22
// file at the top-level directory of this distribution and at
3-
// http://rust-lang.org/COPYRIGHT.
3+
// <https://github.com/rust-lang/rust/blob/HEAD/COPYRIGHT>.
44
//
55
// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
6-
// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
7-
// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
6+
// https://www.apache.org/licenses/LICENSE-2.0> or the MIT license
7+
// <LICENSE-MIT or https://opensource.org/licenses/MIT>, at your
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
1010

0 commit comments

Comments
 (0)