mirror of
https://github.com/aljazceru/cdk.git
synced 2025-12-25 08:35:09 +01:00
Merge pull request #815 from thesimplekid/fix_wallet_sig
fix: signatory is not required for wallet
This commit is contained in:
@@ -2,5 +2,10 @@ fn main() {
|
||||
println!("cargo:rerun-if-changed=src/proto/signatory.proto");
|
||||
|
||||
#[cfg(feature = "grpc")]
|
||||
tonic_build::compile_protos("proto/signatory.proto").unwrap();
|
||||
tonic_build::configure()
|
||||
.protoc_arg("--experimental_allow_proto3_optional")
|
||||
.type_attribute(".", "#[allow(missing_docs)]")
|
||||
.field_attribute(".", "#[allow(missing_docs)]")
|
||||
.compile_protos(&["src/proto/signatory.proto"], &["src/proto"])
|
||||
.unwrap();
|
||||
}
|
||||
|
||||
@@ -13,7 +13,7 @@ license.workspace = true
|
||||
[features]
|
||||
default = ["mint", "wallet", "auth"]
|
||||
wallet = ["dep:reqwest", "cdk-common/wallet"]
|
||||
mint = ["dep:futures", "dep:reqwest", "cdk-common/mint"]
|
||||
mint = ["dep:futures", "dep:reqwest", "cdk-common/mint", "cdk-signatory"]
|
||||
auth = ["dep:jsonwebtoken", "cdk-common/auth", "cdk-common/auth"]
|
||||
# We do not commit to a MSRV with swagger enabled
|
||||
swagger = ["mint", "dep:utoipa", "cdk-common/swagger"]
|
||||
@@ -55,7 +55,7 @@ tokio = { workspace = true, features = [
|
||||
"sync",
|
||||
] }
|
||||
getrandom = { version = "0.2" }
|
||||
cdk-signatory = { workspace = true, features = ["grpc"] }
|
||||
cdk-signatory = { workspace = true, features = ["grpc"], optional = true }
|
||||
tokio-tungstenite = { workspace = true, features = [
|
||||
"rustls",
|
||||
"rustls-tls-native-roots",
|
||||
|
||||
Reference in New Issue
Block a user