feat(types): add optional schemars support

This commit is contained in:
oxalica 2024-10-17 06:54:49 -04:00
parent ee85112fb6
commit ea69062a6d
7 changed files with 134 additions and 2 deletions

View file

@ -6,6 +6,7 @@ edition = "2021"
[features]
default = []
unsafe_use_mock_instant_for_testing = ["dep:mock_instant"]
schemars = ["dep:schemars"]
[[bench]]
name = "crypto_ops"
@ -27,6 +28,11 @@ serde_with = "3"
thiserror = "1"
url = { version = "2", features = ["serde"] }
[dependencies.schemars]
version = "0.8"
optional = true
features = ["url"]
[dev-dependencies]
criterion = "0.5"
ed25519-dalek = { version = "2", features = ["rand_core"] }