rollback rust edition (#303)

This commit is contained in:
Clément DOUIN 2022-02-23 11:29:09 +01:00
parent 00728b88e4
commit b146d9b7e1
No known key found for this signature in database
GPG key ID: 353E4A18EE0FAB72
4 changed files with 12 additions and 3 deletions

View file

@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## [Unreleased] ## [Unreleased]
### Fixed
- Rust edition transition [#303]
## [0.5.6] - 2022-02-22 ## [0.5.6] - 2022-02-22
### Added ### Added
@ -433,3 +437,4 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
[#280]: https://github.com/soywod/himalaya/issues/280 [#280]: https://github.com/soywod/himalaya/issues/280
[#288]: https://github.com/soywod/himalaya/issues/288 [#288]: https://github.com/soywod/himalaya/issues/288
[#289]: https://github.com/soywod/himalaya/issues/289 [#289]: https://github.com/soywod/himalaya/issues/289
[#303]: https://github.com/soywod/himalaya/issues/303

View file

@ -3,7 +3,7 @@ name = "himalaya"
description = "Command-line interface for email management" description = "Command-line interface for email management"
version = "0.5.6" version = "0.5.6"
authors = ["soywod <clement.douin@posteo.net>"] authors = ["soywod <clement.douin@posteo.net>"]
edition = "2021" edition = "2018"
license-file = "LICENSE" license-file = "LICENSE"
readme = "README.md" readme = "README.md"
categories = ["command-line-interface", "command-line-utilities", "email"] categories = ["command-line-interface", "command-line-utilities", "email"]

View file

@ -1,5 +1,9 @@
use anyhow::{anyhow, Error, Result}; use anyhow::{anyhow, Error, Result};
use std::{convert::TryFrom, fmt, ops::Deref}; use std::{
convert::{TryFrom, TryInto},
fmt,
ops::Deref,
};
/// Represents the imap flag variants. /// Represents the imap flag variants.
#[derive(Debug, Clone, PartialEq, Eq, serde::Serialize)] #[derive(Debug, Clone, PartialEq, Eq, serde::Serialize)]

View file

@ -5,7 +5,7 @@ use html_escape;
use lettre::message::{header::ContentType, Attachment, MultiPart, SinglePart}; use lettre::message::{header::ContentType, Attachment, MultiPart, SinglePart};
use log::{debug, info, trace}; use log::{debug, info, trace};
use regex::Regex; use regex::Regex;
use std::{collections::HashSet, env::temp_dir, fmt::Debug, fs, path::PathBuf}; use std::{collections::HashSet, convert::TryInto, env::temp_dir, fmt::Debug, fs, path::PathBuf};
use uuid::Uuid; use uuid::Uuid;
use crate::{ use crate::{