Skip to content

Commit 18ebf56

Browse files
authored
3.0.0-alpha.3: missing 'std' feature for 'chrono' (#195)
Hi, Since the commit 514735e which remove the "default features" for the dependency 'chrono', I now have this error : ``` imap-3.0.0-alpha.3/src/client.rs:202:37 format!(" \"{}\"", date.format("%d-%h-%Y %T %z")) ^^^^ method not found in `DateTime<FixedOffset>>` ``` So I think we have to add back the 'std' feature to 'chrono' ``` chrono = {version = "0.4", default-features = false, features = ["std"]} ``` (I know that I could add this dependency to my project Cargo.toml (and I did), but I think this should be in rust-imap)
1 parent 2898e19 commit 18ebf56

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ bufstream = "0.1"
2424
imap-proto = "0.14.1"
2525
nom = { version = "6.0", default-features = false }
2626
base64 = "0.13"
27-
chrono = { version = "0.4", default-features = false }
27+
chrono = { version = "0.4", default-features = false, features = ["std"]}
2828
lazy_static = "1.4"
2929

3030
[dev-dependencies]

0 commit comments

Comments
 (0)