Skip to content

Commit

Permalink
Remove alloc feature
Browse files Browse the repository at this point in the history
  • Loading branch information
JSorngard committed May 7, 2024
1 parent 4510291 commit 75460e1
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
3 changes: 1 addition & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,7 @@ criterion = { version = "0.5", features = ["html_reports"] }
rand = "0.8"

[features]
std = [ "alloc"]
alloc = []
std = []

[[bench]]
name = "prime_benches"
Expand Down
1 change: 0 additions & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,6 @@
//! # Features
//!
//! `std`: derives the [`Error`](std::error::Error) trait for the error types.
//! `alloc`: enables conversion of the type returned by [`primes_geq`] and [`primes_lt`] into [`Vec`]s and [`Box`]ed slices.
#![forbid(unsafe_code)]
#![cfg_attr(all(not(test), not(feature = "std")), no_std)]
Expand Down

0 comments on commit 75460e1

Please sign in to comment.