Skip to content

Commit

Permalink
add real no-std support; rm beta and nightly because of clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
olekspickle committed Jan 10, 2024
1 parent d897265 commit 6f978a8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
7 changes: 1 addition & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ on:
push:
pull_request:
workflow_dispatch:
schedule: [cron: "0 1 1 * *"]

permissions:
contents: read
Expand All @@ -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
Expand Down
2 changes: 2 additions & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,8 @@
//!
//! ```
#![cfg_attr(not(feature = "std"), no_std)]

#[macro_export]
macro_rules! serde_default {
($kind:ty) => {
Expand Down

0 comments on commit 6f978a8

Please sign in to comment.