Skip to content

Commit

Permalink
Add tests for proof compression with bon-rs (#853)
Browse files Browse the repository at this point in the history
* Add tests for proof compression with bon-rs

* cargo vet
  • Loading branch information
Dzejkop authored Feb 11, 2025
1 parent da80ed5 commit ca6689c
Show file tree
Hide file tree
Showing 7 changed files with 279 additions and 156 deletions.
73 changes: 67 additions & 6 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 Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ axum = "0.7.7"
axum-server = "0.7.1"
tower-http = { version = "0.6.1", features = ["catch-panic"] }
bytes = "1.4.0"
bon = "3"
chrono = { version = "0.4.19", features = ["serde"] }
clap = { version = "4.0", features = ["derive", "env"] }
telemetry-batteries = { git = "https://github.com/worldcoin/telemetry-batteries.git", rev = "901ea26e478c81e10d5d4355ac628ab7b15afca7" }
Expand Down
8 changes: 8 additions & 0 deletions supply-chain/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -321,6 +321,14 @@ criteria = "safe-to-deploy"
version = "1.42.0-rc.3"
criteria = "safe-to-deploy"

[[exemptions.bon]]
version = "3.3.2"
criteria = "safe-to-deploy"

[[exemptions.bon-macros]]
version = "3.3.2"
criteria = "safe-to-deploy"

[[exemptions.bs58]]
version = "0.5.0"
criteria = "safe-to-deploy"
Expand Down
101 changes: 101 additions & 0 deletions supply-chain/imports.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1611,6 +1611,35 @@ delta = "1.0.86 -> 1.0.87"
notes = "No new unsafe interactions."
aggregated-from = "https://chromium.googlesource.com/chromium/src/+/main/third_party/rust/chromium_crates_io/supply-chain/audits.toml?format=TEXT"

[[audits.google.audits.proc-macro2]]
who = "Liza Burakova <[email protected]"
criteria = "safe-to-deploy"
delta = "1.0.87 -> 1.0.89"
notes = """
Biggest change is adding error handling in build.rs.
Some config related changes in wrapper.rs.
"""
aggregated-from = "https://chromium.googlesource.com/chromium/src/+/main/third_party/rust/chromium_crates_io/supply-chain/audits.toml?format=TEXT"

[[audits.google.audits.proc-macro2]]
who = "Lukasz Anforowicz <[email protected]>"
criteria = "safe-to-deploy"
delta = "1.0.89 -> 1.0.92"
notes = """
I looked at the delta and the previous discussion at
https://chromium-review.googlesource.com/c/chromium/src/+/5385745/3#message-a8e2813129fa3779dab15acede408ee26d67b7f3
and the changes look okay to me (including the `unsafe fn from_str_unchecked`
changes in `wrapper.rs`).
"""
aggregated-from = "https://chromium.googlesource.com/chromium/src/+/main/third_party/rust/chromium_crates_io/supply-chain/audits.toml?format=TEXT"

[[audits.google.audits.proc-macro2]]
who = "Lukasz Anforowicz <[email protected]>"
criteria = "safe-to-deploy"
delta = "1.0.92 -> 1.0.93"
notes = "No `unsafe`-related changes."
aggregated-from = "https://chromium.googlesource.com/chromium/src/+/main/third_party/rust/chromium_crates_io/supply-chain/audits.toml?format=TEXT"

[[audits.google.audits.quote]]
who = "Lukasz Anforowicz <[email protected]>"
criteria = "safe-to-deploy"
Expand Down Expand Up @@ -2143,6 +2172,78 @@ criteria = "safe-to-deploy"
delta = "0.1.3 -> 0.1.6"
aggregated-from = "https://hg.mozilla.org/mozilla-central/raw-file/tip/supply-chain/audits.toml"

[[audits.mozilla.audits.darling]]
who = "Mike Hommey <[email protected]>"
criteria = "safe-to-deploy"
delta = "0.13.4 -> 0.14.2"
aggregated-from = "https://hg.mozilla.org/mozilla-central/raw-file/tip/supply-chain/audits.toml"

[[audits.mozilla.audits.darling]]
who = "Mike Hommey <[email protected]>"
criteria = "safe-to-deploy"
delta = "0.14.2 -> 0.14.3"
aggregated-from = "https://hg.mozilla.org/mozilla-central/raw-file/tip/supply-chain/audits.toml"

[[audits.mozilla.audits.darling]]
who = "Mike Hommey <[email protected]>"
criteria = "safe-to-deploy"
delta = "0.14.3 -> 0.20.1"
aggregated-from = "https://hg.mozilla.org/mozilla-central/raw-file/tip/supply-chain/audits.toml"

[[audits.mozilla.audits.darling]]
who = "Ben Dean-Kawamura <[email protected]>"
criteria = "safe-to-deploy"
delta = "0.20.1 -> 0.20.10"
aggregated-from = "https://hg.mozilla.org/mozilla-central/raw-file/tip/supply-chain/audits.toml"

[[audits.mozilla.audits.darling_core]]
who = "Mike Hommey <[email protected]>"
criteria = "safe-to-deploy"
delta = "0.13.4 -> 0.14.2"
aggregated-from = "https://hg.mozilla.org/mozilla-central/raw-file/tip/supply-chain/audits.toml"

[[audits.mozilla.audits.darling_core]]
who = "Mike Hommey <[email protected]>"
criteria = "safe-to-deploy"
delta = "0.14.2 -> 0.14.3"
aggregated-from = "https://hg.mozilla.org/mozilla-central/raw-file/tip/supply-chain/audits.toml"

[[audits.mozilla.audits.darling_core]]
who = "Mike Hommey <[email protected]>"
criteria = "safe-to-deploy"
delta = "0.14.3 -> 0.20.1"
aggregated-from = "https://hg.mozilla.org/mozilla-central/raw-file/tip/supply-chain/audits.toml"

[[audits.mozilla.audits.darling_core]]
who = "Ben Dean-Kawamura <[email protected]>"
criteria = "safe-to-deploy"
delta = "0.20.1 -> 0.20.10"
aggregated-from = "https://hg.mozilla.org/mozilla-central/raw-file/tip/supply-chain/audits.toml"

[[audits.mozilla.audits.darling_macro]]
who = "Mike Hommey <[email protected]>"
criteria = "safe-to-deploy"
delta = "0.13.4 -> 0.14.2"
aggregated-from = "https://hg.mozilla.org/mozilla-central/raw-file/tip/supply-chain/audits.toml"

[[audits.mozilla.audits.darling_macro]]
who = "Mike Hommey <[email protected]>"
criteria = "safe-to-deploy"
delta = "0.14.2 -> 0.14.3"
aggregated-from = "https://hg.mozilla.org/mozilla-central/raw-file/tip/supply-chain/audits.toml"

[[audits.mozilla.audits.darling_macro]]
who = "Mike Hommey <[email protected]>"
criteria = "safe-to-deploy"
delta = "0.14.3 -> 0.20.1"
aggregated-from = "https://hg.mozilla.org/mozilla-central/raw-file/tip/supply-chain/audits.toml"

[[audits.mozilla.audits.darling_macro]]
who = "Ben Dean-Kawamura <[email protected]>"
criteria = "safe-to-deploy"
delta = "0.20.1 -> 0.20.10"
aggregated-from = "https://hg.mozilla.org/mozilla-central/raw-file/tip/supply-chain/audits.toml"

[[audits.mozilla.audits.deranged]]
who = "Alex Franchuk <[email protected]>"
criteria = "safe-to-deploy"
Expand Down
Loading

0 comments on commit ca6689c

Please sign in to comment.