From c9afcec684d5c7b37bab624dd7d6961719b6cfc4 Mon Sep 17 00:00:00 2001 From: Daniel Reiter Horn Date: Wed, 3 Apr 2024 00:57:48 -0700 Subject: [PATCH] Bump to 4.0.0 --- Cargo.toml | 6 +++--- README.md | 5 +++++ 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index b694d1e4..41ab25b6 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "brotli" -version = "3.5.0" +version = "4.0.0" authors = ["Daniel Reiter Horn ", "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" @@ -28,7 +28,7 @@ incremental = false [dependencies] "alloc-no-stdlib" = { version = "2.0" } "alloc-stdlib" = { version = "~0.2", optional = true } -"brotli-decompressor" = { version = "~2.5", default-features = false } +"brotli-decompressor" = { version = "~3.0", default-features = false } "sha2" = { version = "~0.10", optional = true } [features] @@ -36,7 +36,7 @@ default = ["std", "ffi-api"] benchmark = ["brotli-decompressor/benchmark"] disable-timer = ["brotli-decompressor/disable-timer"] external-literal-probability = [] -ffi-api = [] +ffi-api = ["brotli-decompressor/ffi-api"] pass-through-ffi-panics = [] seccomp = ["brotli-decompressor/seccomp"] std = ["alloc-stdlib", "brotli-decompressor/std"] diff --git a/README.md b/README.md index 219f4c49..6051fa24 100644 --- a/README.md +++ b/README.md @@ -3,6 +3,11 @@ [![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 4.0.0 +Pinned to a rust-brotli-decompressor that can disable the ffi with the ffi-api +flag. +This can help avoid symbol conflicts with other brotli libs. + ## What's new in 3.5 Updated SIMD support. Better CI integration.