Skip to content

Commit bdb6e22

Browse files
folkertdevsquell
andcommitted
prepare release 0.5.0
also includes: Update LICENSE-MIT Update copyright line for clarity: - Alex has been making modifications since 2014 - presumably no (c)-transfer has been arranged so copyright also belongs to the other contributors to this repo. - Trifecta has also made some modifications, but these are relatively small and so I see no need to add a separate "Copyright (c) 2024 Trifecta Tech Foundation" line right now. remove authors field from cargo.toml use of this field is discouraged at this point https://rust-lang.github.io/rfcs/3052-optional-authors-field.html update license syntax Co-authored-by: Marc R. Schoolderman <[email protected]>
1 parent 5a425ed commit bdb6e22

File tree

4 files changed

+18
-7
lines changed

4 files changed

+18
-7
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
target
22
Cargo.lock
3+
.cargo/

Cargo.toml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
11
[package]
22
edition = "2021"
33
name = "bzip2"
4-
version = "0.4.4"
5-
authors = ["Alex Crichton <[email protected]>"]
6-
license = "MIT/Apache-2.0"
4+
version = "0.5.0"
5+
license = "MIT OR Apache-2.0"
76
readme = "README.md"
87
keywords = ["bzip", "encoding"]
9-
repository = "https://github.com/alexcrichton/bzip2-rs"
10-
homepage = "https://github.com/alexcrichton/bzip2-rs"
8+
repository = "https://github.com/trifectatechfoundation/bzip2-rs"
9+
homepage = "https://github.com/trifectatechfoundation/bzip2-rs"
1110
documentation = "https://docs.rs/bzip2"
1211
description = """
1312
Bindings to libbzip2 for bzip2 compression and decompression exposed as
1413
Reader/Writer streams.
1514
"""
1615
categories = ["compression", "api-bindings"]
1716
rust-version = "1.65.0" # MSRV
17+
publish = true
1818

1919
[workspace]
2020

LICENSE-MIT

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Copyright (c) 2014 Alex Crichton
1+
Copyright (c) 2014-2024 Alex Crichton and Contributors
22

33
Permission is hereby granted, free of charge, to any
44
person obtaining a copy of this software and associated

README.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,19 @@ By default, `bzip2-rs` attempts to use the system `libbz2`. When `libbz2` is not
1010
is built from source. A from source build requires a functional C toolchain for your target, and may not
1111
work for all targets (in particular webassembly).
1212

13+
*`libbz2-rs-sys`*
14+
15+
Since version 0.5.0, this crate also supports using [libbz2-rs-sys](https://crates.io/crates/libbz2-rs-sys),
16+
a drop-in compatible rust implementation of `libbz2`. With this feature enabled, cross-compilation should work
17+
like any other rust code, and no C toolchain is needed to compile this crate or its dependencies.
18+
19+
```sh
20+
bzip2 = { version = "0.5.0", default-features = false, features = ["libbz2-rs-sys"] }
21+
```
22+
1323
*`static`*
1424
15-
Always build `libbz2` from source, and statically link it.
25+
Always build `libbz2` from source, and statically link it. When `libbz2-rs-sys` is enabled, static mode is always used.
1626
1727
## License
1828

0 commit comments

Comments
 (0)