From 9f216da0effaf469d209255b46e97f870f6554aa Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Sun, 14 Feb 2021 23:52:59 +0000 Subject: [PATCH] Centralise toml tempfile And put off tera Signed-off-by: Ian Jackson --- Cargo.lock.example | 1 - Cargo.toml | 5 +++-- daemon/Cargo.toml | 1 - src/imports.rs | 1 + 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Cargo.lock.example b/Cargo.lock.example index 8f5d43b2..08193180 100644 --- a/Cargo.lock.example +++ b/Cargo.lock.example @@ -1662,7 +1662,6 @@ dependencies = [ "structopt", "strum", "thiserror", - "toml 0.5.8", "typetag", "uds", "vecdeque-stableix", diff --git a/Cargo.toml b/Cargo.toml index 446aa5d3..514ab087 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -51,15 +51,16 @@ regex = "1" rmp = "0.8" rmp-serde = "0.15" serde_json = "1" - tempfile = "3" -tera = "0.11" toml = "0.5" + typetag = "0.1.6" uds = "0.2" url = "2" vecdeque-stableix = "1" +tera = "0.11" + # Repeated here because importing does not work properly fehler = "1" num-traits = "0.2" diff --git a/daemon/Cargo.toml b/daemon/Cargo.toml index 0e1eaf89..927e38e9 100644 --- a/daemon/Cargo.toml +++ b/daemon/Cargo.toml @@ -18,7 +18,6 @@ path = "main.rs" otter = { path = ".." } otter-base = { path = "../base" } -toml = "0.5" typetag = "0.1.6" uds = "0.2" vecdeque-stableix = "1" diff --git a/src/imports.rs b/src/imports.rs index fb95514e..d0bc226e 100644 --- a/src/imports.rs +++ b/src/imports.rs @@ -30,3 +30,4 @@ pub use pwd; pub use regex; pub use rmp_serde; pub use serde_json; +pub use toml; -- 2.30.2