Skip to content

Commit

Permalink
Remove debug feature
Browse files Browse the repository at this point in the history
  • Loading branch information
axic committed Jul 1, 2019
1 parent f20b516 commit b1f0da7
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 9 deletions.
1 change: 0 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,5 @@ qimalloc = { version = "0.1", optional = true }
[features]
default = ["std", "wee_alloc"]
std = []
debug = []
experimental = []
eth2 = []
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ Other modules are available as well, outside of the prelude. Refer to the docume
`ewasm-rust-api` builds with various feature sets:
- `default`: Builds with `wee_alloc` as the global allocator and with the Rust standard library.
- `qimalloc`: Builds with [qimalloc](https://github.com/wasmx/qimalloc) as the global allocator.
- `debug`: Exposes the debugging interface.
- `experimental`: Exposes the experimental bignum system library API.

To enable specific features include the dependency as follows:
Expand Down
6 changes: 2 additions & 4 deletions circle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,11 +37,9 @@ jobs:
cargo build --release --no-default-features --features qimalloc
# different feature sets
cargo build --release --no-default-features
cargo build --release --features debug
cargo build --release --no-default-features --features debug
cargo build --release --features experimental
cargo build --release --no-default-features --features experimental
cargo build --release --features experimental,debug
cargo build --release --no-default-features --features experimental,debug
cargo build --release --features eth2
cargo build --release --no-default-features --features eth2
cargo build --release --features experimental,eth2
cargo build --release --no-default-features --features experimental,eth2
3 changes: 0 additions & 3 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
//! library.
//! - `qimalloc`: Builds with [qimalloc](https://github.com/wasmx/qimalloc) as the global
//! allocator.
//! - `debug`: Exposes the debugging interface.
//! - `experimental`: Exposes the experimental bignum system library API.
//!
//! # Examples
Expand Down Expand Up @@ -58,7 +57,6 @@ mod utils;

pub mod types;

#[cfg(feature = "debug")]
pub mod debug;

#[cfg(feature = "experimental")]
Expand Down Expand Up @@ -86,7 +84,6 @@ pub mod prelude {
#[cfg(not(feature = "std"))]
pub use crate::convert::*;

#[cfg(feature = "debug")]
pub use crate::debug;

#[cfg(feature = "experimental")]
Expand Down

0 comments on commit b1f0da7

Please sign in to comment.