diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index c43652b..419cc67 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -30,3 +30,7 @@ jobs: with: command: test args: --features "serde" + - uses: actions-rs/cargo@v1 + with: + command: test + args: --no-default-features diff --git a/Cargo.toml b/Cargo.toml index 912ded6..812c27c 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "unicode-bidi" -version = "0.3.6" +version = "0.3.7" authors = ["The Servo Project Developers"] license = "MIT / Apache-2.0" description = "Implementation of the Unicode Bidirectional Algorithm" diff --git a/src/lib.rs b/src/lib.rs index 09bbcfb..bb318a0 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -66,7 +66,7 @@ #![no_std] // We need to link to std to make doc tests work on older Rust versions -#![cfg(feature = "std")] +#[cfg(feature = "std")] extern crate std; #[macro_use] extern crate alloc;