Skip to content

Commit

Permalink
Bump serde_yaml, add compat. for old lockfiles
Browse files Browse the repository at this point in the history
  • Loading branch information
micprog committed Aug 17, 2022
1 parent f82ef0e commit e712e4d
Show file tree
Hide file tree
Showing 6 changed files with 51 additions and 57 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
- stable
- beta
- nightly
- 1.57.0 # minimum supported version
- 1.58.0 # minimum supported version
continue-on-error: ${{ matrix.rust == 'nightly' }}
steps:
- uses: actions/checkout@v2
Expand Down
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) a
## Unreleased

### Changed
- Update `tokio` dependency, update to `futures=0.3`, rewrite for `async/await`
- Update `tokio` dependency, update to `futures=0.3`, rewrite for `async/await`. Bumps minimum rust to 1.57
- Update `serde_yaml` dependency to `0.9`. Bumps minimum rust to 1.58

## 0.25.3 - 2022-08-05
### Added
Expand Down
96 changes: 45 additions & 51 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 2 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,8 @@ license = "Apache-2.0 OR MIT"
edition = "2018"

[dependencies]
serde = "1"
serde_derive = "1"
serde_yaml = "0.8.4"
serde = { version = "1", features = ["derive"] }
serde_yaml = "0.9.9"
serde_json = "1"

futures = "0.3"
Expand Down
1 change: 1 addition & 0 deletions src/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -738,6 +738,7 @@ pub struct LockedPackage {
/// The version of the dependency.
pub version: Option<String>,
/// The source of the dependency.
#[serde(with = "serde_yaml::with::singleton_map")]
pub source: LockedSource,
/// Other packages this package depends on.
pub dependencies: BTreeSet<String>,
Expand Down
1 change: 0 additions & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
#![allow(dead_code)]

#[macro_use]
extern crate serde_derive;
extern crate serde;
extern crate serde_json;
extern crate serde_yaml;
Expand Down

0 comments on commit e712e4d

Please sign in to comment.