mirror of
https://github.com/Blah-IM/blahrs.git
synced 2025-09-13 05:55:22 +00:00
feat(types): add optional schemars support
This commit is contained in:
parent
ee85112fb6
commit
ea69062a6d
7 changed files with 134 additions and 2 deletions
|
@ -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"] }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue