summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPhilipp Korber <p.korber@1aim.com>2018-11-16 16:16:42 +0100
committerPhilipp Korber <p.korber@1aim.com>2018-11-16 16:16:42 +0100
commit56760954e7afceca472f3aaf92949c8ed637b6e2 (patch)
treeb852b3371d0cb5acc3a178427672e6f3cd6df268
parent652d6f0ffeee7302a2cb51059bef75d8b0bb50be (diff)
refactor(wip): fixed imports after moving deps into repo
-rw-r--r--Cargo.toml9
-rw-r--r--core/Cargo.toml4
-rw-r--r--headers/Cargo.toml2
-rw-r--r--mail/Cargo.toml8
4 files changed, 16 insertions, 7 deletions
diff --git a/Cargo.toml b/Cargo.toml
index 79d33e8..e8d401a 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -5,3 +5,12 @@ members = [
"headers",
"internals"
]
+
+
+#[patch.crates-io]
+#mail = { path="./mail" }
+#mail-core = { path="./core" }
+#mail-headers = { path="./headers" }
+#mail-internals = { path="./internals" }
+
+
diff --git a/core/Cargo.toml b/core/Cargo.toml
index 7f6b7b2..52756c8 100644
--- a/core/Cargo.toml
+++ b/core/Cargo.toml
@@ -16,13 +16,13 @@ default = ["default_impl_cpupool"]
default_impl_cpupool = ["futures-cpupool"]
[dependencies]
+mail-internals = { path="../internals" }
+mail-headers = { path="../headers" }
failure = "0.1.2"
futures = "0.1.24"
log = "0.3.8"
rand = "0.3.15"
vec1 = "1"
-mail-internals = { git="https://github.com/1aim/mail-internals" }
-mail-headers = { git="https://github.com/1aim/mail-headers" }
chrono = "0.4"
soft-ascii-string = "1.0"
serde = { version="1.0", optional=true, features=["derive"] }
diff --git a/headers/Cargo.toml b/headers/Cargo.toml
index 539ec5e..8f973a4 100644
--- a/headers/Cargo.toml
+++ b/headers/Cargo.toml
@@ -14,12 +14,12 @@ serde-impl = [ "serde", "vec1/serde" ]
traceing = [ "mail-internals/traceing" ]
[dependencies]
+mail-internals = { path="../internals" }
failure = "0.1"
owning_ref = "0.4"
nom = "3.1.0"
soft-ascii-string = "1"
quoted-string = "0.6"
-mail-internals = { git="https://github.com/1aim/mail-internal" }
vec1 = "1"
chrono = "0.4"
total-order-multi-map = "0.4.5"
diff --git a/mail/Cargo.toml b/mail/Cargo.toml
index 6d198d6..de54bca 100644
--- a/mail/Cargo.toml
+++ b/mail/Cargo.toml
@@ -22,11 +22,11 @@ traceing = ["mail-internals/traceing", "mail-headers/traceing"]
[dependencies]
-mail-internals = { git="https://github.com/1aim/mail-internals" }
-mail-headers = { git="https://github.com/1aim/mail-headers" }
-mail-core = { git="https://github.com/1aim/mail-types" }
+mail-internals = { path="../internals" }
+mail-headers = { path="../headers" }
+mail-core = { path="../core" }
#mail-template = { git="https://github.com/1aim/mail-template" }
-mail-derive = { git="https://github.com/1aim/mail-derive" }
+#mail-derive = { git="https://github.com/1aim/mail-derive" }
mail-smtp = { git="https://github.com/1aim/mail-smtp", optional=true }
#mail-render-template-engine = {git="https://github.com/1aim/mail-render-template-engine", optional=true }