Skip to content

Commit

Permalink
Add signatures optional feature
Browse files Browse the repository at this point in the history
  • Loading branch information
leplatrem committed Dec 19, 2024
1 parent ab10398 commit 2759c5c
Show file tree
Hide file tree
Showing 6 changed files with 544 additions and 29 deletions.
8 changes: 8 additions & 0 deletions Cargo.lock

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

5 changes: 4 additions & 1 deletion components/remote_settings/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ exclude = ["/android", "/ios"]
[features]
default = []
jexl = ["dep:jexl-eval"]
signatures = ["dep:canonical_json", "dep:rc_crypto"]

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

Expand All @@ -31,7 +32,8 @@ regex = "1.9"
anyhow = "1.0"
firefox-versioning = { path = "../support/firefox-versioning" }
sha2 = "^0.10"
canonical_json = "0.5"
canonical_json = { version = "0.5", optional = true }
rc_crypto = { path = "../support/rc_crypto", optional = true }

[build-dependencies]
uniffi = { version = "0.28.2", features = ["build"] }
Expand All @@ -44,3 +46,4 @@ mockito = "0.31"
# We add the perserve_order feature to guarantee ordering of the keys in our
# JSON objects as they get serialized/deserialized.
serde_json = { version = "1", features = ["preserve_order"] }
mock_instant = "0.5.1"
Loading

0 comments on commit 2759c5c

Please sign in to comment.