Skip to content

Commit

Permalink
chore: add openssl vendoring feature flags
Browse files Browse the repository at this point in the history
Signed-off-by: James Ebert <[email protected]>
  • Loading branch information
JamesKEbert committed Dec 18, 2024
1 parent 82a481d commit 6dfe5e1
Show file tree
Hide file tree
Showing 8 changed files with 23 additions and 0 deletions.
10 changes: 10 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions aries/aries_vcx/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ vdr_proxy_ledger = [
"test_utils/vdr_proxy_ledger",
]
backtrace_errors = ["backtrace"]
openssl_vendored = ["aries_vcx_ledger/openssl_vendored", "aries_vcx_anoncreds/openssl_vendored", "anoncreds_types/openssl_vendored"]

# Feature for allowing legacy proof verification
legacy_proof = ["aries_vcx_anoncreds/legacy_proof"]
Expand Down
1 change: 1 addition & 0 deletions aries/aries_vcx_anoncreds/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ edition.workspace = true
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[features]
anoncreds = ["dep:anoncreds"]
openssl_vendored = ["anoncreds/vendored", "anoncreds_types/openssl_vendored"]
legacy_proof = []

[dependencies]
Expand Down
1 change: 1 addition & 0 deletions aries/aries_vcx_ledger/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ edition.workspace = true
[features]
vdr_proxy_ledger = ["dep:indy-vdr-proxy-client"]
cheqd = ["dep:did_cheqd", "dep:did_resolver", "dep:url"]
openssl_vendored = ["indy-ledger-response-parser/openssl_vendored", "anoncreds_types/openssl_vendored"]

[dependencies]
aries_vcx_wallet = { path = "../aries_vcx_wallet" }
Expand Down
1 change: 1 addition & 0 deletions aries/misc/anoncreds_types/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ path = "src/lib.rs"
messages = []
ledger = []
default = ["messages", "ledger"]
openssl_vendored = ["anoncreds-clsignatures/openssl_vendored"]

[dependencies]
anoncreds-clsignatures = "0.3.2"
Expand Down
3 changes: 3 additions & 0 deletions aries/misc/indy_ledger_response_parser/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ name = "indy-ledger-response-parser"
version = "0.1.0"
edition = "2021"

[features]
openssl_vendored = ["anoncreds-clsignatures/openssl_vendored"]

[dependencies]
serde = { version = "1.0.163", features = ["derive"] }
serde_json = "1.0.96"
Expand Down
3 changes: 3 additions & 0 deletions aries/wrappers/uniffi-aries-vcx/core/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@ path = "uniffi-bindgen.rs"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

# TODO: look at how features should be done in regards to UniFFI.
# TODO: add zmq vendoring and openssl vendoring

[dependencies]
uniffi = { version = "0.23.0", features = ["cli"] }
aries_vcx = { path = "../../../aries_vcx", features = [
Expand Down
3 changes: 3 additions & 0 deletions did_core/did_methods/did_resolver_sov/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ name = "did_resolver_sov"
version = "0.1.0"
edition = "2021"

[features]
openssl_vendored = ["aries_vcx_ledger/openssl_vendored"]

[dependencies]
did_resolver = { path = "../../did_resolver" }
aries_vcx_ledger = { path = "../../../aries/aries_vcx_ledger" }
Expand Down

0 comments on commit 6dfe5e1

Please sign in to comment.