Fix workspace issues

This commit is contained in:
FliegendeWurst 2022-02-13 14:14:52 +01:00 committed by Arne Keller
parent 3bb4fd355c
commit 1f2d329549
19 changed files with 255 additions and 108 deletions

226
Cargo.lock generated
View File

@ -504,7 +504,7 @@ dependencies = [
] ]
[[package]] [[package]]
name = "inboxid" name = "inboxid-browse"
version = "0.1.0" version = "0.1.0"
dependencies = [ dependencies = [
"anyhow", "anyhow",
@ -515,6 +515,230 @@ dependencies = [
"directories-next", "directories-next",
"html2text", "html2text",
"imap", "imap",
"inboxid-lib",
"itertools",
"log",
"maildir",
"mailparse",
"mailproc",
"mime2ext",
"moins",
"once_cell",
"parking_lot",
"petgraph",
"rusqlite",
"rustls-connector",
"rustyline",
"serde",
"serde_derive",
"subprocess",
"toml",
]
[[package]]
name = "inboxid-fetch"
version = "0.1.0"
dependencies = [
"anyhow",
"ascii_table",
"chrono",
"cursive",
"cursive_tree_view",
"directories-next",
"html2text",
"imap",
"inboxid-lib",
"itertools",
"log",
"maildir",
"mailparse",
"mailproc",
"mime2ext",
"moins",
"once_cell",
"parking_lot",
"petgraph",
"rusqlite",
"rustls-connector",
"rustyline",
"serde",
"serde_derive",
"subprocess",
"toml",
]
[[package]]
name = "inboxid-filter"
version = "0.1.0"
dependencies = [
"anyhow",
"ascii_table",
"chrono",
"cursive",
"cursive_tree_view",
"directories-next",
"html2text",
"imap",
"inboxid-lib",
"itertools",
"log",
"maildir",
"mailparse",
"mailproc",
"mime2ext",
"moins",
"once_cell",
"parking_lot",
"petgraph",
"rusqlite",
"rustls-connector",
"rustyline",
"serde",
"serde_derive",
"subprocess",
"toml",
]
[[package]]
name = "inboxid-lib"
version = "0.1.0"
dependencies = [
"anyhow",
"ascii_table",
"chrono",
"cursive",
"cursive_tree_view",
"directories-next",
"html2text",
"imap",
"itertools",
"log",
"maildir",
"mailparse",
"mailproc",
"mime2ext",
"moins",
"once_cell",
"parking_lot",
"petgraph",
"rusqlite",
"rustls-connector",
"rustyline",
"serde",
"serde_derive",
"subprocess",
"toml",
]
[[package]]
name = "inboxid-list"
version = "0.1.0"
dependencies = [
"anyhow",
"ascii_table",
"chrono",
"cursive",
"cursive_tree_view",
"directories-next",
"html2text",
"imap",
"inboxid-lib",
"itertools",
"log",
"maildir",
"mailparse",
"mailproc",
"mime2ext",
"moins",
"once_cell",
"parking_lot",
"petgraph",
"rusqlite",
"rustls-connector",
"rustyline",
"serde",
"serde_derive",
"subprocess",
"toml",
]
[[package]]
name = "inboxid-new"
version = "0.1.0"
dependencies = [
"anyhow",
"ascii_table",
"chrono",
"cursive",
"cursive_tree_view",
"directories-next",
"html2text",
"imap",
"inboxid-lib",
"itertools",
"log",
"maildir",
"mailparse",
"mailproc",
"mime2ext",
"moins",
"once_cell",
"parking_lot",
"petgraph",
"rusqlite",
"rustls-connector",
"rustyline",
"serde",
"serde_derive",
"subprocess",
"toml",
]
[[package]]
name = "inboxid-overview"
version = "0.1.0"
dependencies = [
"anyhow",
"ascii_table",
"chrono",
"cursive",
"cursive_tree_view",
"directories-next",
"html2text",
"imap",
"inboxid-lib",
"itertools",
"log",
"maildir",
"mailparse",
"mailproc",
"mime2ext",
"moins",
"once_cell",
"parking_lot",
"petgraph",
"rusqlite",
"rustls-connector",
"rustyline",
"serde",
"serde_derive",
"subprocess",
"toml",
]
[[package]]
name = "inboxid-sync"
version = "0.1.0"
dependencies = [
"anyhow",
"ascii_table",
"chrono",
"cursive",
"cursive_tree_view",
"directories-next",
"html2text",
"imap",
"inboxid-lib",
"itertools", "itertools",
"log", "log",
"maildir", "maildir",

View File

@ -10,3 +10,10 @@ members = [
"inboxid-overview", "inboxid-overview",
"inboxid-sync", "inboxid-sync",
] ]
[patch.crates-io]
cursive = { path = "../cursive/cursive" }
cursive_core = { path = "../cursive/cursive-core" } # locally patched at v0.2.2 to improve text rendering perf.
[profile.release]
overflow-checks = true # useful when debugging

View File

@ -1,5 +1,5 @@
[package] [package]
name = "inboxid" name = "inboxid-browse"
version = "0.1.0" version = "0.1.0"
authors = ["Arne Keller <arne.keller@posteo.de>"] authors = ["Arne Keller <arne.keller@posteo.de>"]
edition = "2018" edition = "2018"
@ -34,9 +34,4 @@ parking_lot = "0.11.1"
log = "0.4.14" log = "0.4.14"
html2text = "0.2.1" html2text = "0.2.1"
[patch.crates-io] inboxid-lib = { path = "../inboxid-lib" }
cursive = { path = "../cursive/cursive" }
cursive_core = { path = "../cursive/cursive-core" } # locally patched at v0.2.2 to improve text rendering perf.
[profile.release]
overflow-checks = true # useful when debugging

View File

@ -10,7 +10,7 @@ use cursive::traits::Identifiable;
use cursive::view::{Scrollable, SizeConstraint, View}; use cursive::view::{Scrollable, SizeConstraint, View};
use cursive::views::{Checkbox, LinearLayout, NamedView, OnEventView, Panel, ResizedView, ScrollView, SelectView, TextView}; use cursive::views::{Checkbox, LinearLayout, NamedView, OnEventView, Panel, ResizedView, ScrollView, SelectView, TextView};
use cursive_tree_view::{Placement, TreeEntry, TreeView}; use cursive_tree_view::{Placement, TreeEntry, TreeView};
use inboxid::*; use inboxid_lib::*;
use io::Write; use io::Write;
use itertools::Itertools; use itertools::Itertools;
use log::error; use log::error;

View File

@ -1,5 +1,5 @@
[package] [package]
name = "inboxid" name = "inboxid-fetch"
version = "0.1.0" version = "0.1.0"
authors = ["Arne Keller <arne.keller@posteo.de>"] authors = ["Arne Keller <arne.keller@posteo.de>"]
edition = "2018" edition = "2018"
@ -34,9 +34,4 @@ parking_lot = "0.11.1"
log = "0.4.14" log = "0.4.14"
html2text = "0.2.1" html2text = "0.2.1"
[patch.crates-io] inboxid-lib = { path = "../inboxid-lib" }
cursive = { path = "../cursive/cursive" }
cursive_core = { path = "../cursive/cursive-core" } # locally patched at v0.2.2 to improve text rendering perf.
[profile.release]
overflow-checks = true # useful when debugging

View File

@ -3,7 +3,7 @@ use std::{cmp, env, time::Duration};
use itertools::Itertools; use itertools::Itertools;
use maildir::Maildir; use maildir::Maildir;
use inboxid::*; use inboxid_lib::*;
use mailparse::{MailHeaderMap, parse_headers}; use mailparse::{MailHeaderMap, parse_headers};
use rusqlite::params; use rusqlite::params;

View File

@ -1,5 +1,5 @@
[package] [package]
name = "inboxid" name = "inboxid-filter"
version = "0.1.0" version = "0.1.0"
authors = ["Arne Keller <arne.keller@posteo.de>"] authors = ["Arne Keller <arne.keller@posteo.de>"]
edition = "2018" edition = "2018"
@ -34,9 +34,4 @@ parking_lot = "0.11.1"
log = "0.4.14" log = "0.4.14"
html2text = "0.2.1" html2text = "0.2.1"
[patch.crates-io] inboxid-lib = { path = "../inboxid-lib" }
cursive = { path = "../cursive/cursive" }
cursive_core = { path = "../cursive/cursive-core" } # locally patched at v0.2.2 to improve text rendering perf.
[profile.release]
overflow-checks = true # useful when debugging

View File

@ -1,7 +1,7 @@
use std::env; use std::env;
use anyhow::anyhow; use anyhow::anyhow;
use inboxid::*; use inboxid_lib::*;
use itertools::Itertools; use itertools::Itertools;
use mailproc::Config; use mailproc::Config;

View File

@ -1,42 +0,0 @@
[package]
name = "inboxid"
version = "0.1.0"
authors = ["Arne Keller <arne.keller@posteo.de>"]
edition = "2018"
license = "GPL-3.0-or-later"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
imap = { version = "2.4.1", default-features = false }
itertools = "0.10.0"
maildir = { git = "https://github.com/FliegendeWurst/maildir.git", branch = "master", features = ["mmap"] }
mailparse = "0.13.2"
rustls-connector = "0.13.1"
ascii_table = { git = "https://gitlab.com/arnekeller/ascii-table.git", branch = "master" }
chrono = "0.4.19"
rusqlite = { version = "0.25.0", features = ["bundled"] }
rustyline = "8.0.0"
moins = { git = "https://github.com/FliegendeWurst/moins", branch = "master" }
anyhow = "1.0.40"
mailproc = { git = "https://github.com/FliegendeWurst/mailproc.git", branch = "master" }
subprocess = "0.2.6"
mime2ext = "0.1.2"
petgraph = "0.5.1"
cursive = { version = "0.16.3", default-features = false, features = ["termion-backend"] }
cursive_tree_view = { git = "https://github.com/FliegendeWurst/cursive_tree_view.git", branch = "master" }
directories-next = "2.0.0"
serde_derive = "1.0.25"
serde = "1.0.25"
toml = "0.5.8"
once_cell = "1.7.2"
parking_lot = "0.11.1"
log = "0.4.14"
html2text = "0.2.1"
[patch.crates-io]
cursive = { path = "../cursive/cursive" }
cursive_core = { path = "../cursive/cursive-core" } # locally patched at v0.2.2 to improve text rendering perf.
[profile.release]
overflow-checks = true # useful when debugging

View File

@ -1,5 +1,5 @@
[package] [package]
name = "inboxid" name = "inboxid-lib"
version = "0.1.0" version = "0.1.0"
authors = ["Arne Keller <arne.keller@posteo.de>"] authors = ["Arne Keller <arne.keller@posteo.de>"]
edition = "2018" edition = "2018"
@ -33,10 +33,3 @@ once_cell = "1.7.2"
parking_lot = "0.11.1" parking_lot = "0.11.1"
log = "0.4.14" log = "0.4.14"
html2text = "0.2.1" html2text = "0.2.1"
[patch.crates-io]
cursive = { path = "../cursive/cursive" }
cursive_core = { path = "../cursive/cursive-core" } # locally patched at v0.2.2 to improve text rendering perf.
[profile.release]
overflow-checks = true # useful when debugging

View File

@ -1,5 +1,5 @@
[package] [package]
name = "inboxid" name = "inboxid-list"
version = "0.1.0" version = "0.1.0"
authors = ["Arne Keller <arne.keller@posteo.de>"] authors = ["Arne Keller <arne.keller@posteo.de>"]
edition = "2018" edition = "2018"
@ -34,9 +34,4 @@ parking_lot = "0.11.1"
log = "0.4.14" log = "0.4.14"
html2text = "0.2.1" html2text = "0.2.1"
[patch.crates-io] inboxid-lib = { path = "../inboxid-lib" }
cursive = { path = "../cursive/cursive" }
cursive_core = { path = "../cursive/cursive-core" } # locally patched at v0.2.2 to improve text rendering perf.
[profile.release]
overflow-checks = true # useful when debugging

View File

@ -1,7 +1,7 @@
use std::{array::IntoIter, collections::HashSet, env, fs}; use std::{array::IntoIter, collections::HashSet, env, fs};
use ascii_table::{Align, AsciiTable, Column}; use ascii_table::{Align, AsciiTable, Column};
use inboxid::*; use inboxid_lib::*;
use itertools::Itertools; use itertools::Itertools;
use mailparse::ParsedMail; use mailparse::ParsedMail;
use rustyline::{Editor, error::ReadlineError}; use rustyline::{Editor, error::ReadlineError};

View File

@ -1,5 +1,5 @@
[package] [package]
name = "inboxid" name = "inboxid-new"
version = "0.1.0" version = "0.1.0"
authors = ["Arne Keller <arne.keller@posteo.de>"] authors = ["Arne Keller <arne.keller@posteo.de>"]
edition = "2018" edition = "2018"
@ -34,9 +34,4 @@ parking_lot = "0.11.1"
log = "0.4.14" log = "0.4.14"
html2text = "0.2.1" html2text = "0.2.1"
[patch.crates-io] inboxid-lib = { path = "../inboxid-lib" }
cursive = { path = "../cursive/cursive" }
cursive_core = { path = "../cursive/cursive-core" } # locally patched at v0.2.2 to improve text rendering perf.
[profile.release]
overflow-checks = true # useful when debugging

View File

@ -3,7 +3,7 @@ use std::{array::IntoIter, env};
use ascii_table::{Align, AsciiTable, Column}; use ascii_table::{Align, AsciiTable, Column};
use itertools::Itertools; use itertools::Itertools;
use inboxid::*; use inboxid_lib::*;
fn main() -> Result<()> { fn main() -> Result<()> {
let args = env::args().collect_vec(); let args = env::args().collect_vec();

View File

@ -1,5 +1,5 @@
[package] [package]
name = "inboxid" name = "inboxid-overview"
version = "0.1.0" version = "0.1.0"
authors = ["Arne Keller <arne.keller@posteo.de>"] authors = ["Arne Keller <arne.keller@posteo.de>"]
edition = "2018" edition = "2018"
@ -34,9 +34,4 @@ parking_lot = "0.11.1"
log = "0.4.14" log = "0.4.14"
html2text = "0.2.1" html2text = "0.2.1"
[patch.crates-io] inboxid-lib = { path = "../inboxid-lib" }
cursive = { path = "../cursive/cursive" }
cursive_core = { path = "../cursive/cursive-core" } # locally patched at v0.2.2 to improve text rendering perf.
[profile.release]
overflow-checks = true # useful when debugging

View File

@ -1,7 +1,7 @@
use std::array::IntoIter; use std::array::IntoIter;
use ascii_table::{AsciiTable, Align, Column}; use ascii_table::{AsciiTable, Align, Column};
use inboxid::*; use inboxid_lib::*;
fn main() -> Result<()> { fn main() -> Result<()> {
let mut dirs = get_maildirs()?; let mut dirs = get_maildirs()?;

View File

@ -1,5 +1,5 @@
[package] [package]
name = "inboxid" name = "inboxid-sync"
version = "0.1.0" version = "0.1.0"
authors = ["Arne Keller <arne.keller@posteo.de>"] authors = ["Arne Keller <arne.keller@posteo.de>"]
edition = "2018" edition = "2018"
@ -34,9 +34,4 @@ parking_lot = "0.11.1"
log = "0.4.14" log = "0.4.14"
html2text = "0.2.1" html2text = "0.2.1"
[patch.crates-io] inboxid-lib = { path = "../inboxid-lib" }
cursive = { path = "../cursive/cursive" }
cursive_core = { path = "../cursive/cursive-core" } # locally patched at v0.2.2 to improve text rendering perf.
[profile.release]
overflow-checks = true # useful when debugging

View File

@ -1,6 +1,6 @@
use std::env; use std::env;
use inboxid::*; use inboxid_lib::*;
use itertools::Itertools; use itertools::Itertools;
use rusqlite::params; use rusqlite::params;

View File

@ -5,7 +5,7 @@ use imap::types::{Flag, NameAttribute};
use itertools::Itertools; use itertools::Itertools;
use maildir::Maildir; use maildir::Maildir;
use inboxid::*; use inboxid_lib::*;
use mailparse::{parse_header, parse_headers}; use mailparse::{parse_header, parse_headers};
use rusqlite::{Row, params, types::FromSql}; use rusqlite::{Row, params, types::FromSql};