mirror of
https://github.com/soywod/himalaya.git
synced 2024-11-25 12:30:22 +00:00
use email-lib git instead of path
This commit is contained in:
parent
20f6973c55
commit
7629a66c9c
3 changed files with 31 additions and 26 deletions
48
Cargo.lock
generated
48
Cargo.lock
generated
|
@ -984,6 +984,7 @@ dependencies = [
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "email-lib"
|
name = "email-lib"
|
||||||
version = "0.15.3"
|
version = "0.15.3"
|
||||||
|
source = "git+https://git.sr.ht/~soywod/pimalaya#012d31179908063affe3eec77365e5ac86c436fe"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"advisory-lock",
|
"advisory-lock",
|
||||||
"anyhow",
|
"anyhow",
|
||||||
|
@ -2069,15 +2070,15 @@ dependencies = [
|
||||||
"keyring-lib",
|
"keyring-lib",
|
||||||
"log",
|
"log",
|
||||||
"md5",
|
"md5",
|
||||||
"mml-lib 1.0.1",
|
"mml-lib 1.0.1 (git+https://git.sr.ht/~soywod/pimalaya)",
|
||||||
"oauth-lib 0.1.0",
|
"oauth-lib 0.1.0 (git+https://git.sr.ht/~soywod/pimalaya)",
|
||||||
"once_cell",
|
"once_cell",
|
||||||
"process-lib",
|
"process-lib",
|
||||||
"rusqlite",
|
"rusqlite",
|
||||||
"secret-lib",
|
"secret-lib",
|
||||||
"serde",
|
"serde",
|
||||||
"serde_json",
|
"serde_json",
|
||||||
"shellexpand-utils 0.1.0",
|
"shellexpand-utils 0.1.0 (git+https://git.sr.ht/~soywod/pimalaya)",
|
||||||
"tempfile",
|
"tempfile",
|
||||||
"termcolor",
|
"termcolor",
|
||||||
"terminal_size",
|
"terminal_size",
|
||||||
|
@ -2684,21 +2685,6 @@ dependencies = [
|
||||||
"windows-sys 0.48.0",
|
"windows-sys 0.48.0",
|
||||||
]
|
]
|
||||||
|
|
||||||
[[package]]
|
|
||||||
name = "mml-lib"
|
|
||||||
version = "1.0.1"
|
|
||||||
dependencies = [
|
|
||||||
"async-recursion",
|
|
||||||
"chumsky",
|
|
||||||
"log",
|
|
||||||
"mail-builder",
|
|
||||||
"mail-parser",
|
|
||||||
"nanohtml2text",
|
|
||||||
"shellexpand-utils 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
|
||||||
"thiserror",
|
|
||||||
"tree_magic_mini",
|
|
||||||
]
|
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "mml-lib"
|
name = "mml-lib"
|
||||||
version = "1.0.1"
|
version = "1.0.1"
|
||||||
|
@ -2721,6 +2707,22 @@ dependencies = [
|
||||||
"tree_magic_mini",
|
"tree_magic_mini",
|
||||||
]
|
]
|
||||||
|
|
||||||
|
[[package]]
|
||||||
|
name = "mml-lib"
|
||||||
|
version = "1.0.1"
|
||||||
|
source = "git+https://git.sr.ht/~soywod/pimalaya#012d31179908063affe3eec77365e5ac86c436fe"
|
||||||
|
dependencies = [
|
||||||
|
"async-recursion",
|
||||||
|
"chumsky",
|
||||||
|
"log",
|
||||||
|
"mail-builder",
|
||||||
|
"mail-parser",
|
||||||
|
"nanohtml2text",
|
||||||
|
"shellexpand-utils 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
|
"thiserror",
|
||||||
|
"tree_magic_mini",
|
||||||
|
]
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "nanohtml2text"
|
name = "nanohtml2text"
|
||||||
version = "0.1.4"
|
version = "0.1.4"
|
||||||
|
@ -2846,6 +2848,8 @@ checksum = "830b246a0e5f20af87141b25c173cd1b609bd7779a4617d6ec582abaf90870f3"
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "oauth-lib"
|
name = "oauth-lib"
|
||||||
version = "0.1.0"
|
version = "0.1.0"
|
||||||
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
|
checksum = "e1484d9864dbf6b55b3785380631a253fa0ff7f8e1bbb078bfd7effd11283d61"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"log",
|
"log",
|
||||||
"oauth2",
|
"oauth2",
|
||||||
|
@ -2858,8 +2862,7 @@ dependencies = [
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "oauth-lib"
|
name = "oauth-lib"
|
||||||
version = "0.1.0"
|
version = "0.1.0"
|
||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
source = "git+https://git.sr.ht/~soywod/pimalaya#012d31179908063affe3eec77365e5ac86c436fe"
|
||||||
checksum = "e1484d9864dbf6b55b3785380631a253fa0ff7f8e1bbb078bfd7effd11283d61"
|
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"log",
|
"log",
|
||||||
"oauth2",
|
"oauth2",
|
||||||
|
@ -3856,6 +3859,8 @@ dependencies = [
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "shellexpand-utils"
|
name = "shellexpand-utils"
|
||||||
version = "0.1.0"
|
version = "0.1.0"
|
||||||
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
|
checksum = "b44114d15a72740d3049e739929d0f4af335ba2eb855ea0f1fa2bfb4d7066215"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"log",
|
"log",
|
||||||
"shellexpand",
|
"shellexpand",
|
||||||
|
@ -3865,8 +3870,7 @@ dependencies = [
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "shellexpand-utils"
|
name = "shellexpand-utils"
|
||||||
version = "0.1.0"
|
version = "0.1.0"
|
||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
source = "git+https://git.sr.ht/~soywod/pimalaya#012d31179908063affe3eec77365e5ac86c436fe"
|
||||||
checksum = "b44114d15a72740d3049e739929d0f4af335ba2eb855ea0f1fa2bfb4d7066215"
|
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"log",
|
"log",
|
||||||
"shellexpand",
|
"shellexpand",
|
||||||
|
|
|
@ -93,21 +93,21 @@ version = "1.16.0"
|
||||||
[dependencies.email-lib]
|
[dependencies.email-lib]
|
||||||
# version = "=0.15.3"
|
# version = "=0.15.3"
|
||||||
default-features = false
|
default-features = false
|
||||||
path = "/home/soywod/sourcehut/pimalaya/email"
|
git = "https://git.sr.ht/~soywod/pimalaya"
|
||||||
|
|
||||||
[dependencies.keyring-lib]
|
[dependencies.keyring-lib]
|
||||||
version = "=0.1.0"
|
version = "=0.1.0"
|
||||||
|
|
||||||
[dependencies.oauth-lib]
|
[dependencies.oauth-lib]
|
||||||
# version = "=0.1.0"
|
# version = "=0.1.0"
|
||||||
path = "/home/soywod/sourcehut/pimalaya/oauth"
|
git = "https://git.sr.ht/~soywod/pimalaya"
|
||||||
|
|
||||||
[dependencies.process-lib]
|
[dependencies.process-lib]
|
||||||
version = "=0.1.0"
|
version = "=0.1.0"
|
||||||
|
|
||||||
[dependencies.mml-lib]
|
[dependencies.mml-lib]
|
||||||
# version = "=1.0.1"
|
# version = "=1.0.1"
|
||||||
path = "/home/soywod/sourcehut/pimalaya/mml"
|
git = "https://git.sr.ht/~soywod/pimalaya"
|
||||||
|
|
||||||
[dependencies.secret-lib]
|
[dependencies.secret-lib]
|
||||||
version = "=0.1.0"
|
version = "=0.1.0"
|
||||||
|
@ -121,7 +121,7 @@ version = "1.0"
|
||||||
|
|
||||||
[dependencies.shellexpand-utils]
|
[dependencies.shellexpand-utils]
|
||||||
# version = "=0.1.0"
|
# version = "=0.1.0"
|
||||||
path = "/home/soywod/sourcehut/pimalaya/shellexpand-utils"
|
git = "https://git.sr.ht/~soywod/pimalaya"
|
||||||
|
|
||||||
[dependencies.termcolor]
|
[dependencies.termcolor]
|
||||||
version = "1.1"
|
version = "1.1"
|
||||||
|
|
1
src/cache/id_mapper.rs
vendored
1
src/cache/id_mapper.rs
vendored
|
@ -36,6 +36,7 @@ impl IdMapper {
|
||||||
db_path
|
db_path
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// FIXME
|
||||||
pub fn new(backend: &Backend, account_config: &AccountConfig, folder: &str) -> Result<Self> {
|
pub fn new(backend: &Backend, account_config: &AccountConfig, folder: &str) -> Result<Self> {
|
||||||
Ok(IdMapper::Dummy)
|
Ok(IdMapper::Dummy)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue