diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 306f36e..2e513d5 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -4,7 +4,6 @@ on: push: pull_request: workflow_dispatch: - schedule: [cron: "0 1 1 * *"] permissions: contents: read @@ -14,12 +13,8 @@ env: jobs: test: - name: Rust ${{matrix.rust}} + name: Rust stable runs-on: ubuntu-latest - strategy: - fail-fast: false - matrix: - rust: [nightly, beta, stable] timeout-minutes: 45 steps: - uses: actions/checkout@v3 diff --git a/src/lib.rs b/src/lib.rs index 796c1a2..47f4370 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -41,6 +41,8 @@ //! //! ``` +#![cfg_attr(not(feature = "std"), no_std)] + #[macro_export] macro_rules! serde_default { ($kind:ty) => {