3.0.0-alpha.3: missing 'std' feature for 'chrono' (#195)
Hi,
Since the commit 514735e920 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)
This commit is contained in:
parent
2898e19530
commit
18ebf56c0c
1 changed files with 1 additions and 1 deletions
|
|
@ -24,7 +24,7 @@ bufstream = "0.1"
|
||||||
imap-proto = "0.14.1"
|
imap-proto = "0.14.1"
|
||||||
nom = { version = "6.0", default-features = false }
|
nom = { version = "6.0", default-features = false }
|
||||||
base64 = "0.13"
|
base64 = "0.13"
|
||||||
chrono = { version = "0.4", default-features = false }
|
chrono = { version = "0.4", default-features = false, features = ["std"]}
|
||||||
lazy_static = "1.4"
|
lazy_static = "1.4"
|
||||||
|
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue