Skip to content

Commit

Permalink
bump version of INDEX_VERSION
Browse files Browse the repository at this point in the history
  • Loading branch information
ShuiRuTian committed May 11, 2024
1 parent 80bc3be commit 76a859f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
3 changes: 1 addition & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,7 @@ hex = "0.4.3"
memmap2 = { version = "0.5.8", optional = true }
miette = "5.7.0"
reflink-copy = "0.1.9"
serde = "1.0.130"
serde_derive = "1.0.130"
serde = { version = "1.0.130", features = ["derive"] }
serde_json = "1.0.68"
base64 = "0.22.0"
base64-serde = "0.7.0"
Expand Down
4 changes: 2 additions & 2 deletions src/index.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ use digest::Digest;
use either::{Left, Right};
#[cfg(any(feature = "async-std", feature = "tokio"))]
use futures::stream::StreamExt;
use serde_derive::{Deserialize, Serialize};
use serde::{Deserialize, Serialize};
use serde_json::Value;
use sha1::Sha1;
use sha2::Sha256;
Expand All @@ -26,7 +26,7 @@ use crate::content::path::content_path;
use crate::errors::{IoErrorExt, Result};
use crate::put::WriteOpts;

const INDEX_VERSION: &str = "5";
const INDEX_VERSION: &str = "6";

/// Represents a cache index entry, which points to content.
#[derive(PartialEq, Debug)]
Expand Down

0 comments on commit 76a859f

Please sign in to comment.