Skip to content

Commit

Permalink
Release 5.0.0 with ffi-api disabled by default to avoid ODR issues
Browse files Browse the repository at this point in the history
  • Loading branch information
danielrh committed Apr 12, 2024
1 parent 6c4cd18 commit 2c601f4
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "brotli"
version = "4.0.0"
version = "5.0.0"
authors = ["Daniel Reiter Horn <danielrh@dropbox.com>", "The Brotli Authors"]
description = "A brotli compressor and decompressor that with an interface avoiding the rust stdlib. This makes it suitable for embedded devices and kernels. It is designed with a pluggable allocator so that the standard lib's allocator may be employed. The default build also includes a stdlib allocator and stream interface. Disable this with --features=no-stdlib. All included code is safe."
license = "BSD-3-Clause OR MIT"
Expand Down Expand Up @@ -28,11 +28,11 @@ incremental = false
[dependencies]
"alloc-no-stdlib" = { version = "2.0" }
"alloc-stdlib" = { version = "~0.2", optional = true }
"brotli-decompressor" = { version = "~3.0", default-features = false }
"brotli-decompressor" = { version = "~4.0", default-features = false }
"sha2" = { version = "~0.10", optional = true }

[features]
default = ["std", "ffi-api"]
default = ["std"]
benchmark = ["brotli-decompressor/benchmark"]
disable-timer = ["brotli-decompressor/disable-timer"]
external-literal-probability = []
Expand Down
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@
[![crates.io](https://img.shields.io/crates/v/brotli.svg)](https://crates.io/crates/brotli)
[![Build Status](https://travis-ci.org/dropbox/rust-brotli.svg?branch=master)](https://travis-ci.org/dropbox/rust-brotli)

## What's new in 5.0.0
* The FFI is no longer active by default to avoid ODR issues if multiple versions of brotli are included in several dependent crates.

## What's new in 4.0.0
Pinned to a rust-brotli-decompressor that can disable the ffi with the ffi-api
flag.
Expand Down

0 comments on commit 2c601f4

Please sign in to comment.