Skip to content

Commit

Permalink
fix: set msrv to1.70 supporting once_cell in validator
Browse files Browse the repository at this point in the history
  • Loading branch information
ifiokjr committed Sep 25, 2024
1 parent 576a9c4 commit c05e499
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ jobs:
runs-on: ubuntu-24.04
strategy:
matrix:
version: ["1.63", stable, nightly]
version: ["1.70", stable, nightly]
env:
RUSTUP_TOOLCHAIN: ${{ matrix.version }}
steps:
Expand Down Expand Up @@ -107,7 +107,7 @@ jobs:
runs-on: ubuntu-24.04
strategy:
matrix:
version: ["1.63", stable, nightly]
version: ["1.70", stable, nightly]
env:
RUSTUP_TOOLCHAIN: ${{ matrix.version }}
steps:
Expand Down
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ keywords = ["schema", "package", "npm", "node", "json"]
license = "Unlicense"
readme = "readme.md"
repository = "https://github.com/ifiokjr/package_json_schema"
rust-version = "1.63"
rust-version = "1.70"
description = "Parse content from `package.json` content and consume the result as a `PackageJson` struct."

[lib]
Expand Down
1 change: 1 addition & 0 deletions src/package_json.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ use serde::Serialize;
use serde_json::Value;
use typed_builder::TypedBuilder;


cfg_if! {
if #[cfg(feature = "validate")] {
use validator::Validate;
Expand Down

0 comments on commit c05e499

Please sign in to comment.