Skip to content

Commit

Permalink
chore: release 0.12.0 (#262)
Browse files Browse the repository at this point in the history
  • Loading branch information
camshaft authored Nov 27, 2024
1 parent 9e0c56e commit ca99c6e
Show file tree
Hide file tree
Showing 17 changed files with 45 additions and 45 deletions.
14 changes: 7 additions & 7 deletions bin/cargo-bolero/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
[package]
name = "cargo-bolero"
version = "0.11.2"
version = "0.12.0"
authors = ["Cameron Bytheway <bytheway.cameron@gmail.com>"]
description = "cargo command for running bolero fuzz tests"
homepage = "https://github.com/camshaft/bolero"
repository = "https://github.com/camshaft/bolero"
keywords = ["testing", "quickcheck", "property", "fuzz", "fuzzing"]
license = "MIT"
edition = "2018"
edition = "2021"
readme = "README.md"
rust-version = "1.76.0"

Expand All @@ -20,10 +20,10 @@ libfuzzer = []

[dependencies]
anyhow = "1.0"
bit-set = "0.5"
bolero-afl = { version = "0.11", path = "../../lib/bolero-afl", default-features = false, features = ["bin"], optional = true }
bolero-honggfuzz = { version = "0.11", path = "../../lib/bolero-honggfuzz", default-features = false, features = ["bin"], optional = true }
cargo_metadata = "0.18"
bit-set = "0.8"
bolero-afl = { version = "0.12", path = "../../lib/bolero-afl", default-features = false, features = ["bin"], optional = true }
bolero-honggfuzz = { version = "0.12", path = "../../lib/bolero-honggfuzz", default-features = false, features = ["bin"], optional = true }
cargo_metadata = "0.19"
humantime = "2"
lazy_static = "1"
rustc_version = "0.4"
Expand All @@ -34,7 +34,7 @@ tar = "0.4"
tempfile = "3"

[dev-dependencies]
bolero = { version = "0.11", path = "../../lib/bolero" }
bolero = { version = "0.12", path = "../../lib/bolero" }

[[test]]
name = "fuzz_bytes"
Expand Down
4 changes: 2 additions & 2 deletions lib/bolero-afl/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "bolero-afl"
version = "0.11.0"
version = "0.12.0"
authors = ["Cameron Bytheway <bythewc@amazon.com>"]
description = "afl plugin for bolero"
homepage = "https://github.com/camshaft/bolero"
Expand All @@ -16,7 +16,7 @@ bin = []
lib = ["bolero-engine"]

[dependencies]
bolero-engine = { version = "0.11", path = "../bolero-engine", optional = true }
bolero-engine = { version = "0.12", path = "../bolero-engine", optional = true }

[build-dependencies]
cc = "1.0"
Expand Down
2 changes: 1 addition & 1 deletion lib/bolero-afl/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ pub mod fuzzer {

fn run<F, R>(self, mut test: F, options: driver::Options) -> Self::Output
where
F: FnMut() -> R,
F: FnMut() -> R + core::panic::RefUnwindSafe,
R: bolero_engine::IntoResult,
{
panic::set_hook();
Expand Down
8 changes: 4 additions & 4 deletions lib/bolero-engine/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
[package]
name = "bolero-engine"
version = "0.11.2"
version = "0.12.0"
authors = ["Cameron Bytheway <bytheway.cameron@gmail.com>"]
description = "fuzz and property testing framework"
homepage = "https://github.com/camshaft/bolero"
repository = "https://github.com/camshaft/bolero"
keywords = ["testing", "quickcheck", "property", "fuzz", "fuzzing"]
license = "MIT"
edition = "2018"
edition = "2021"
readme = "../../README.md"
rust-version = "1.66.0"

Expand All @@ -18,7 +18,7 @@ rng = ["rand", "rand_xoshiro", "bolero-generator/alloc"]

[dependencies]
anyhow = "1"
bolero-generator = { version = "0.11", path = "../bolero-generator", default-features = false }
bolero-generator = { version = "0.12", path = "../bolero-generator", default-features = false }
lazy_static = "1"
pretty-hex = { version = "0.4", default-features = false }
rand = { version = "0.8", optional = true }
Expand All @@ -28,7 +28,7 @@ rand_xoshiro = { version = "0.6", optional = true }
backtrace = { version = "0.3", default-features = false, features = ["std"] }

[dev-dependencies]
bolero-generator = { version = "0.11", path = "../bolero-generator", features = ["std"] }
bolero-generator = { version = "0.12", path = "../bolero-generator", features = ["std"] }
rand = "0.8"
rand_xoshiro = "0.6"

Expand Down
2 changes: 1 addition & 1 deletion lib/bolero-engine/src/any.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ pub use bolero_generator::any::*;
pub fn run<D, F, R>(driver: Box<D>, test: F) -> (Box<D>, Result<bool, crate::panic::PanicError>)
where
D: 'static + bolero_generator::driver::object::DynDriver + core::any::Any + Sized,
F: FnMut() -> R,
F: FnMut() -> R + core::panic::RefUnwindSafe,
R: super::IntoResult,
{
let mut test = core::panic::AssertUnwindSafe(test);
Expand Down
2 changes: 1 addition & 1 deletion lib/bolero-engine/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ pub trait ScopedEngine {

fn run<F, R>(self, test: F, options: driver::Options) -> Self::Output
where
F: FnMut() -> R,
F: FnMut() -> R + core::panic::RefUnwindSafe,
R: IntoResult;
}

Expand Down
2 changes: 1 addition & 1 deletion lib/bolero-engine/src/test.rs
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ impl<F: RefUnwindSafe + FnMut(G::Output) -> Ret, G: ValueGenerator, Ret> Test
for ClonedGeneratorTest<F, G, G::Output>
where
Ret: IntoResult,
G::Output: core::fmt::Debug + Clone,
G::Output: core::fmt::Debug + Clone + RefUnwindSafe,
{
type Value = G::Output;

Expand Down
4 changes: 2 additions & 2 deletions lib/bolero-generator-derive/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
[package]
name = "bolero-generator-derive"
version = "0.11.0"
version = "0.12.0"
authors = ["Cameron Bytheway <bytheway.cameron@gmail.com>"]
description = "value generator for testing and fuzzing"
homepage = "https://github.com/camshaft/bolero"
repository = "https://github.com/camshaft/bolero"
keywords = ["testing", "quickcheck", "property", "fuzz", "fuzzing"]
license = "MIT"
edition = "2018"
edition = "2021"
readme = "../bolero-generator/README.md"

[lib]
Expand Down
4 changes: 2 additions & 2 deletions lib/bolero-generator/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "bolero-generator"
version = "0.11.1"
version = "0.12.0"
authors = ["Cameron Bytheway <bytheway.cameron@gmail.com>"]
description = "value generator for testing and fuzzing"
homepage = "https://github.com/camshaft/bolero"
Expand All @@ -19,7 +19,7 @@ alloc = ["rand_core/alloc"]

[dependencies]
arbitrary = { version = "1.0", optional = true }
bolero-generator-derive = { version = "0.11", path = "../bolero-generator-derive" }
bolero-generator-derive = { version = "0.12", path = "../bolero-generator-derive" }
either = { version = "1.5", default-features = false, optional = true }
getrandom = { version = "0.2", optional = true }
rand_core = { version = "0.6", default-features = false }
Expand Down
6 changes: 3 additions & 3 deletions lib/bolero-honggfuzz/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
[package]
name = "bolero-honggfuzz"
version = "0.11.0"
version = "0.12.0"
authors = ["Cameron Bytheway <bytheway.cameron@gmail.com>"]
description = "honggfuzz plugin for bolero"
homepage = "https://github.com/camshaft/bolero"
repository = "https://github.com/camshaft/bolero"
keywords = ["testing", "fuzz", "fuzzing"]
license = "MIT"
edition = "2018"
edition = "2021"
readme = "../../README.md"

[features]
Expand All @@ -16,7 +16,7 @@ bin = []
lib = ["bolero-engine"]

[dependencies]
bolero-engine = { version = "0.11", path = "../bolero-engine", optional = true }
bolero-engine = { version = "0.12", path = "../bolero-engine", optional = true }

[lints.rust.unexpected_cfgs]
level = "warn"
Expand Down
2 changes: 1 addition & 1 deletion lib/bolero-honggfuzz/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ pub mod fuzzer {

fn run<F, R>(self, mut test: F, options: driver::Options) -> Self::Output
where
F: FnMut() -> R,
F: FnMut() -> R + core::panic::RefUnwindSafe,
R: bolero_engine::IntoResult,
{
bolero_panic::set_hook();
Expand Down
6 changes: 3 additions & 3 deletions lib/bolero-kani/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
[package]
name = "bolero-kani"
version = "0.11.2"
version = "0.12.0"
authors = ["Cameron Bytheway <bytheway.cameron@gmail.com>"]
description = "kani plugin for bolero"
homepage = "https://github.com/camshaft/bolero"
repository = "https://github.com/camshaft/bolero"
keywords = ["testing", "model", "proof"]
license = "MIT"
edition = "2018"
edition = "2021"
readme = "../../README.md"

[features]
Expand All @@ -16,7 +16,7 @@ bin = []
lib = ["bolero-engine"]

[dependencies]
bolero-engine = { version = "0.11", path = "../bolero-engine", optional = true }
bolero-engine = { version = "0.12", path = "../bolero-engine", optional = true }

[lints.rust.unexpected_cfgs]
level = "warn"
Expand Down
6 changes: 3 additions & 3 deletions lib/bolero-libfuzzer/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
[package]
name = "bolero-libfuzzer"
version = "0.11.0"
version = "0.12.0"
authors = ["Cameron Bytheway <bytheway.cameron@gmail.com>"]
description = "libfuzzer plugin for bolero"
homepage = "https://github.com/camshaft/bolero"
repository = "https://github.com/camshaft/bolero"
keywords = ["testing", "fuzz", "fuzzing"]
license = "MIT"
edition = "2018"
edition = "2021"
readme = "../../README.md"

[features]
Expand All @@ -16,7 +16,7 @@ bin = []
lib = ["bolero-engine"]

[dependencies]
bolero-engine = { version = "0.11", path = "../bolero-engine", features = ["cache"], optional = true }
bolero-engine = { version = "0.12", path = "../bolero-engine", features = ["cache"], optional = true }

[build-dependencies]
cc = "1.0"
Expand Down
2 changes: 1 addition & 1 deletion lib/bolero-libfuzzer/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ pub mod fuzzer {

fn run<F, R>(self, mut test: F, options: driver::Options) -> Self::Output
where
F: FnMut() -> R,
F: FnMut() -> R + core::panic::RefUnwindSafe,
R: bolero_engine::IntoResult,
{
panic::set_hook();
Expand Down
20 changes: 10 additions & 10 deletions lib/bolero/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
[package]
name = "bolero"
version = "0.11.1"
version = "0.12.0"
authors = ["Cameron Bytheway <bytheway.cameron@gmail.com>"]
description = "fuzz and property testing front-end"
homepage = "https://github.com/camshaft/bolero"
repository = "https://github.com/camshaft/bolero"
keywords = ["testing", "quickcheck", "property", "fuzz", "fuzzing"]
license = "MIT"
edition = "2018"
edition = "2021"
readme = "../../README.md"
rust-version = "1.66.0"

Expand All @@ -18,28 +18,28 @@ alloc = ["bolero-generator/alloc"]
arbitrary = ["bolero-generator/arbitrary"]

[dependencies]
bolero-engine = { version = "0.11", path = "../bolero-engine" }
bolero-generator = { version = "0.11", path = "../bolero-generator", default-features = false }
bolero-engine = { version = "0.12", path = "../bolero-engine" }
bolero-generator = { version = "0.12", path = "../bolero-generator", default-features = false }
cfg-if = "1"

[target.'cfg(fuzzing_afl)'.dependencies]
bolero-afl = { version = "0.11", path = "../bolero-afl" }
bolero-afl = { version = "0.12", path = "../bolero-afl" }

[target.'cfg(fuzzing_libfuzzer)'.dependencies]
bolero-libfuzzer = { version = "0.11", path = "../bolero-libfuzzer" }
bolero-libfuzzer = { version = "0.12", path = "../bolero-libfuzzer" }

[target.'cfg(fuzzing_honggfuzz)'.dependencies]
bolero-honggfuzz = { version = "0.11", path = "../bolero-honggfuzz" }
bolero-honggfuzz = { version = "0.12", path = "../bolero-honggfuzz" }

[target.'cfg(fuzzing_random)'.dependencies]
bolero-engine = { version = "0.11", path = "../bolero-engine", features = ["cache", "rng"] }
bolero-engine = { version = "0.12", path = "../bolero-engine", features = ["cache", "rng"] }
rand = { version = "0.8" }

[target.'cfg(kani)'.dependencies]
bolero-kani = { version = "0.11", path = "../bolero-kani" }
bolero-kani = { version = "0.12", path = "../bolero-kani" }

[target.'cfg(not(any(fuzzing, kani)))'.dependencies]
bolero-engine = { version = "0.11", path = "../bolero-engine", features = ["cache", "rng"] }
bolero-engine = { version = "0.12", path = "../bolero-engine", features = ["cache", "rng"] }
rand = { version = "0.8" }

[dev-dependencies]
Expand Down
2 changes: 1 addition & 1 deletion lib/bolero/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -475,7 +475,7 @@ impl<E> TestTarget<ByteSliceGenerator, E, BorrowedInput> {
#[cfg(feature = "std")]
pub fn run<T, R>(self, test: T) -> E::Output
where
T: FnMut() -> R,
T: FnMut() -> R + core::panic::RefUnwindSafe,
R: bolero_engine::IntoResult,
E: bolero_engine::ScopedEngine,
{
Expand Down
4 changes: 2 additions & 2 deletions lib/bolero/src/test/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ impl TestEngine {
#[cfg(feature = "std")]
fn run_with_scope<T, R>(self, test: T, options: driver::Options)
where
T: FnMut() -> R,
T: FnMut() -> R + core::panic::RefUnwindSafe,
R: bolero_engine::IntoResult,
{
if options.exhaustive() {
Expand Down Expand Up @@ -437,7 +437,7 @@ impl bolero_engine::ScopedEngine for TestEngine {

fn run<F, R>(self, test: F, options: driver::Options) -> Self::Output
where
F: FnMut() -> R,
F: FnMut() -> R + core::panic::RefUnwindSafe,
R: bolero_engine::IntoResult,
{
self.run_with_scope(test, options);
Expand Down

0 comments on commit ca99c6e

Please sign in to comment.