From 4f1177d20e8f108420057e7367267f5bdaa74703 Mon Sep 17 00:00:00 2001 From: Mads Marquart Date: Tue, 5 Oct 2021 14:22:59 +0200 Subject: [PATCH 1/3] Test no_std capability --- .github/workflows/main.yml | 4 ++++ 1 file changed, 4 insertions(+) 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 From 981d448a9081d67f285f74ef962852f31ef837a7 Mon Sep 17 00:00:00 2001 From: Mads Marquart Date: Tue, 5 Oct 2021 14:24:55 +0200 Subject: [PATCH 2/3] Fix typo in no_std support --- src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; From 5bb83c8c48f66db41a65b134d62fa13a083ce3ab Mon Sep 17 00:00:00 2001 From: Mads Marquart Date: Tue, 5 Oct 2021 14:26:01 +0200 Subject: [PATCH 3/3] Bump version to 0.3.7 --- Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"