Move format_flowed to a separate crate

This makes it possible to fuzz test the functions
without exposing the module interface in the deltachat core
interface.

Also ensure that format_flowed will not grow a dependency
on deltachat core types.
This commit is contained in:
link2xt
2022-12-26 13:34:38 +00:00
parent 6dc790f447
commit 89b7ce4c4e
9 changed files with 70 additions and 54 deletions

5
Cargo.lock generated
View File

@@ -887,6 +887,7 @@ dependencies = [
"encoded-words",
"escaper",
"fast-socks5",
"format-flowed",
"futures",
"futures-lite",
"hex",
@@ -1445,6 +1446,10 @@ dependencies = [
"percent-encoding",
]
[[package]]
name = "format-flowed"
version = "1.0.0"
[[package]]
name = "futures"
version = "0.3.25"