refactor: Use PublicKey
and Signature
as parameters #33
2 changed files with 5 additions and 1 deletions
2
Cargo.lock
generated
2
Cargo.lock
generated
|
@ -1954,8 +1954,10 @@ dependencies = [
|
|||
"k256",
|
||||
"rand",
|
||||
"salvo-oapi",
|
||||
"salvo_core",
|
||||
"sea-orm",
|
||||
"serde",
|
||||
"serde_json",
|
||||
"sha2",
|
||||
"thiserror",
|
||||
]
|
||||
|
|
|
@ -16,6 +16,8 @@ thiserror = { workspace = true }
|
|||
salvo-oapi = { workspace = true, optional = true }
|
||||
serde = { workspace = true, optional = true }
|
||||
sea-orm = { workspace = true, optional = true }
|
||||
salvo_core = { workspace = true, optional = true }
|
||||
serde_json = { workspace = true, optional = true }
|
||||
cbc = { version = "0.1.2", features = ["alloc", "std"] }
|
||||
k256 = { version = "0.13.3", default-features = false, features = ["ecdh"] }
|
||||
rand = { version = "0.8.5", default-features = false, features = ["std_rng", "std"] }
|
||||
|
@ -25,7 +27,7 @@ hmac = "0.12.1"
|
|||
sha2 = "0.10.8"
|
||||
|
||||
[features]
|
||||
openapi = ["dep:salvo-oapi"]
|
||||
openapi = ["dep:salvo-oapi", "dep:salvo_core", "dep:serde_json"]
|
||||
serde = ["dep:serde"]
|
||||
sea-orm = ["dep:sea-orm"]
|
||||
|
||||
|
|
Loading…
Reference in a new issue