chore(types): unbloat and clean up dependencies

This commit is contained in:
oxalica 2024-10-18 10:15:15 -04:00
parent ccd5401411
commit d7ac77a1d9
5 changed files with 59 additions and 237 deletions

View file

@ -5,6 +5,7 @@ edition = "2021"
[features]
default = []
unsafe_use_mock_instant_for_testing = ["dep:mock_instant", "blah-types/unsafe_use_mock_instant_for_testing"]
[dependencies]
@ -18,7 +19,6 @@ futures-util = "0.3"
html-escape = "0.2"
http-body-util = "0.1"
humantime = "2"
mock_instant = { version = "0.5", optional = true }
parking_lot = "0.12" # Maybe no better performance, just that we hate poisoning. ¯\_(ツ)_/¯
paste = "1.0.15"
rand = "0.8"
@ -43,6 +43,10 @@ url = { version = "2", features = ["serde"] }
blah-types = { path = "../blah-types", features = ["rusqlite"] }
[dependencies.mock_instant]
version = "0.5"
optional = true
[build-dependencies]
url = "2"