mirror of
https://github.com/pimalaya/himalaya.git
synced 2026-06-17 05:07:55 +08:00
improve gitignore files (#385)
* modified gitignore * fixing gitignore * reomving the himalaya.iml file * applied cargo fmt * fixed typo in .gitignore and removed an entry in it * adding gitignore to cli/ * reducing .gitignore in cli to one line
This commit is contained in:
+39
-3
@@ -1,10 +1,46 @@
|
||||
# Cargo build directory
|
||||
/target
|
||||
target/
|
||||
debug/
|
||||
|
||||
# These are backup files generated by rustfmt
|
||||
**/*.rs.bk
|
||||
|
||||
# MSVC Windows builds of rustc generate these, which store debugging information
|
||||
*.pdb
|
||||
|
||||
# Nix build directory
|
||||
/result
|
||||
/result-lib
|
||||
result
|
||||
result-*
|
||||
|
||||
# Direnv
|
||||
/.envrc
|
||||
/.direnv
|
||||
|
||||
|
||||
# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio, WebStorm and Rider
|
||||
# Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839
|
||||
.idea/
|
||||
|
||||
# IntelliJ
|
||||
out/
|
||||
|
||||
# mpeltonen/sbt-idea plugin
|
||||
.idea_modules/
|
||||
|
||||
# JIRA plugin
|
||||
atlassian-ide-plugin.xml
|
||||
|
||||
# Cursive Clojure plugin
|
||||
.idea/replstate.xml
|
||||
|
||||
# SonarLint plugin
|
||||
.idea/sonarlint/
|
||||
|
||||
# Crashlytics plugin (for Android Studio and IntelliJ)
|
||||
com_crashlytics_export_strings.xml
|
||||
crashlytics.properties
|
||||
crashlytics-build.properties
|
||||
fabric.properties
|
||||
|
||||
## Others
|
||||
.metadata/
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
Cargo.lock
|
||||
@@ -55,7 +55,8 @@ impl Parts {
|
||||
part: &'a mailparse::ParsedMail<'a>,
|
||||
) -> Result<Self> {
|
||||
let mut parts = vec![];
|
||||
if part.subparts.is_empty() && part.get_headers().get_first_value("content-type").is_none() {
|
||||
if part.subparts.is_empty() && part.get_headers().get_first_value("content-type").is_none()
|
||||
{
|
||||
let content = part.get_body().unwrap_or_default();
|
||||
parts.push(Part::TextPlain(TextPlainPart { content }))
|
||||
} else {
|
||||
|
||||
+2
-1
@@ -134,7 +134,8 @@ impl Print for Cell {
|
||||
.context(format!(r#"cannot apply colors to cell "{}""#, self.value))?;
|
||||
|
||||
// Writes the colorized cell to stdout
|
||||
write!(writer, "{}", self.value).context(format!(r#"cannot print cell "{}""#, self.value))?;
|
||||
write!(writer, "{}", self.value)
|
||||
.context(format!(r#"cannot print cell "{}""#, self.value))?;
|
||||
Ok(writer.reset()?)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user