From 50f0052d7481c0678b6db627a5f445110f4d963e Mon Sep 17 00:00:00 2001 From: Matthias Beyer Date: Thu, 26 Dec 2019 12:27:03 +0100 Subject: Let all Cargo.tomls in the workspace use the workspace in development mode Signed-off-by: Matthias Beyer --- core/Cargo.toml | 4 ++-- headers/Cargo.toml | 2 +- mail/Cargo.toml | 10 +++++----- smtp/Cargo.toml | 9 +++++---- template/Cargo.toml | 6 +++--- 5 files changed, 16 insertions(+), 15 deletions(-) diff --git a/core/Cargo.toml b/core/Cargo.toml index 375d3ac..e7bc4e4 100644 --- a/core/Cargo.toml +++ b/core/Cargo.toml @@ -20,8 +20,8 @@ test-utils = ["default", "lazy_static"] features = [ "serde-impl", "default" ] [dependencies] -mail-internals = "0.2.3" -mail-headers = "0.6.6" +mail-internals = { version = "0.2.3", path = "../internals" } +mail-headers = { version = "0.6.6", path = "../headers" } failure = "0.1.2" futures = "0.1.24" log = "0.3.8" diff --git a/headers/Cargo.toml b/headers/Cargo.toml index 0c50bdb..d5a51c7 100644 --- a/headers/Cargo.toml +++ b/headers/Cargo.toml @@ -17,7 +17,7 @@ traceing = [ "mail-internals/traceing" ] features = [ "serde-impl" ] [dependencies] -mail-internals = "0.2.3" +mail-internals = { version = "0.2.3", path = "../internals" } failure = "0.1" owning_ref = "0.4" nom = "3.1.0" diff --git a/mail/Cargo.toml b/mail/Cargo.toml index 1645781..be891a4 100644 --- a/mail/Cargo.toml +++ b/mail/Cargo.toml @@ -35,11 +35,11 @@ required-features = ["smtp"] features = [ "handlebars", "smtp", "serde-impl" ] [dependencies] -mail-internals = "0.2.3" -mail-headers = "0.6.6" -mail-core = "0.6.2" -mail-template = "0.6.1" -mail-smtp = { version="0.2.2", optional=true } +mail-internals = { version = "0.2.3", path = "../internals" } +mail-headers = { version = "0.6.6", path = "../headers" } +mail-core = { version = "0.6.2", path = "../core" } +mail-template = { version = "0.6.1", path = "../template" } +mail-smtp = { version = "0.2.2", path = "../smtp", optional = true } [dev-dependencies] rpassword = "2.0.0" diff --git a/smtp/Cargo.toml b/smtp/Cargo.toml index 15ecf36..77ed41c 100644 --- a/smtp/Cargo.toml +++ b/smtp/Cargo.toml @@ -11,11 +11,12 @@ readme = "./README.md" repository = "https://github.com/1aim/mail-smtp" [dependencies] +mail-core = { version = "0.6.2", path = "../core" } +mail-headers = { version = "0.6.6", path = "../headers" } +mail-internals = { version = "0.2.3", path = "../internals" } + futures = "0.1" failure = "0.1.5" -mail-core = "0.6.2" -mail-headers = "0.6.6" -mail-internals = "0.2.3" new-tokio-smtp = "0.8.1" [features] @@ -24,4 +25,4 @@ extended-api = [] [dev-dependencies] -mail-core = { version="0.6.0", features=["test-utils"] } \ No newline at end of file +mail-core = { version="0.6.0", path = "../core", features=["test-utils"] } diff --git a/template/Cargo.toml b/template/Cargo.toml index b6a7fdf..ba6bcb6 100644 --- a/template/Cargo.toml +++ b/template/Cargo.toml @@ -18,9 +18,9 @@ handlebars-bindings = ["handlebars"] features = [ "handlebars-bindings" ] [dependencies] -mail-core = { version="0.6.2", features=["serde-impl"] } -mail-internals = "0.2.3" -mail-headers = { version="0.6.6", features=["serde-impl"] } +mail-core = { version = "0.6.2", path = "../core", features = ["serde-impl"] } +mail-internals = { version = "0.2.3", path = "../internals" } +mail-headers = { version = "0.6.6", path = "../headers", features = ["serde-impl"] } failure = "0.1.1" futures = "0.1.14" -- cgit v1.2.3