summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthias Beyer <matthias.beyer@ifm.com>2022-07-26 10:57:34 +0200
committerMatthias Beyer <matthias.beyer@ifm.com>2022-07-26 10:57:34 +0200
commitd1dd2ae02ab5c0d6af0af52b0a306d8ce6d220e2 (patch)
treecd3e37a2b5d08513b07650ee411faa1ce87fff3d
parent87ed970eab78f8c2dc043ec2259d104da2352cbd (diff)
Remove serde feature from "clock" crate
Signed-off-by: Matthias Beyer <matthias.beyer@ifm.com>
-rw-r--r--crates/common/clock/Cargo.toml1
-rw-r--r--crates/common/clock/src/lib.rs3
-rw-r--r--crates/common/clock/src/serde/mod.rs1
-rw-r--r--crates/common/clock/src/serde/rfc3339.rs6
4 files changed, 0 insertions, 11 deletions
diff --git a/crates/common/clock/Cargo.toml b/crates/common/clock/Cargo.toml
index 0ebfeedc..751075d3 100644
--- a/crates/common/clock/Cargo.toml
+++ b/crates/common/clock/Cargo.toml
@@ -11,4 +11,3 @@ time = "0.3.7"
[features]
default = []
-with-serde = ["time/serde-well-known"]
diff --git a/crates/common/clock/src/lib.rs b/crates/common/clock/src/lib.rs
index a97ee9df..0fe36f2e 100644
--- a/crates/common/clock/src/lib.rs
+++ b/crates/common/clock/src/lib.rs
@@ -1,9 +1,6 @@
use mockall::automock;
use time::OffsetDateTime;
-#[cfg(feature = "with-serde")]
-pub mod serde;
-
pub type Timestamp = OffsetDateTime;
#[automock]
diff --git a/crates/common/clock/src/serde/mod.rs b/crates/common/clock/src/serde/mod.rs
deleted file mode 100644
index a1646141..00000000
--- a/crates/common/clock/src/serde/mod.rs
+++ /dev/null
@@ -1 +0,0 @@
-pub mod rfc3339;
diff --git a/crates/common/clock/src/serde/rfc3339.rs b/crates/common/clock/src/serde/rfc3339.rs
deleted file mode 100644
index abb36da6..00000000
--- a/crates/common/clock/src/serde/rfc3339.rs
+++ /dev/null
@@ -1,6 +0,0 @@
-/// Re-exported module
-///
-/// Use this module in combination with serde's [`#[with]`][with] attribute.
-///
-/// [with]: https://serde.rs/field-attrs.html#with
-pub use time::serde::rfc3339::option;