File tree 4 files changed +8
-8
lines changed
4 files changed +8
-8
lines changed Original file line number Diff line number Diff line change 1
1
[package ]
2
2
name = " minicdn"
3
3
authors = [" Finn Bear" ]
4
- version = " 0.2.3 "
4
+ version = " 0.2.4 "
5
5
edition = " 2021"
6
6
license = " MIT OR Apache-2.0"
7
7
repository = " https://github.com/finnbear/minicdn/"
@@ -22,8 +22,8 @@ serde = ["minicdn_core/use_serde", "minicdn_macros/serde"]
22
22
config = [" minicdn_core/config" , " minicdn_macros/config" ]
23
23
24
24
[dependencies ]
25
- minicdn_core = { version = " 0.2.3 " , path = " ./minicdn_core" }
26
- minicdn_macros = { version = " 0.2.3 " , path = " ./minicdn_macros" }
25
+ minicdn_core = { version = " 0.2.4 " , path = " ./minicdn_core" }
26
+ minicdn_macros = { version = " 0.2.4 " , path = " ./minicdn_macros" }
27
27
28
28
[dev-dependencies ]
29
29
serde_json = " 1.0"
Original file line number Diff line number Diff line change 1
1
[package ]
2
2
name = " minicdn_core"
3
- version = " 0.2.3 "
3
+ version = " 0.2.4 "
4
4
edition = " 2021"
5
5
license = " MIT OR Apache-2.0"
6
6
repository = " https://github.com/finnbear/minicdn/"
@@ -23,7 +23,7 @@ sha256 = { version = "1.0", optional = true }
23
23
walkdir = { version = " 2.3" , optional = true }
24
24
flate2 = { version = " 1" , optional = true }
25
25
brotli = { version = " 3.3" , optional = true }
26
- webp = { version = " 0.2 " , optional = true }
26
+ webp = { version = " 0.3 " , optional = true }
27
27
image = { version = " 0.25" , features = [
28
28
" png" ,
29
29
" jpeg" ,
Original file line number Diff line number Diff line change @@ -534,7 +534,7 @@ fn last_modified(absolute_path: &str) -> String {
534
534
535
535
#[ cfg( feature = "etag" ) ]
536
536
fn etag ( contents : & [ u8 ] ) -> String {
537
- let mut etag = sha256:: digest_bytes ( contents) ;
537
+ let mut etag = sha256:: digest ( contents) ;
538
538
etag. truncate ( 32 ) ;
539
539
//etag.shrink_to_fit();
540
540
etag
Original file line number Diff line number Diff line change 1
1
[package ]
2
2
name = " minicdn_macros"
3
- version = " 0.2.3 "
3
+ version = " 0.2.4 "
4
4
edition = " 2021"
5
5
license = " MIT OR Apache-2.0"
6
6
repository = " https://github.com/finnbear/minicdn/"
@@ -21,7 +21,7 @@ webp = ["minicdn_core/webp", "minicdn_core/image"]
21
21
config = [" minicdn_core/config" ]
22
22
23
23
[dependencies ]
24
- minicdn_core = { version = " 0.2.3 " , path = " ../minicdn_core" , features = [" walkdir" ] }
24
+ minicdn_core = { version = " 0.2.4 " , path = " ../minicdn_core" , features = [" walkdir" ] }
25
25
syn = " 1.0"
26
26
quote = " 1.0"
27
27
proc-macro2 = " 1.0"
You can’t perform that action at this time.
0 commit comments