Commit e64e91f
feat: sync/async HTTP resolvers API (#1355)
* feat: sync/async http resolvers API
* fix: impl wasi sync/async http resolvers
* fix: clean up http dependencies
* fix: clean up resolver error types and unwraps
* fix: use async generic resolver for cawg
* fix: wasi tests and compilation
* refactor: remove curl as sync http resolver
* fix: simultaneous features, lints, and ci
* fix: finish wasi and wasm impl
* ci: fix wasm features
* fix: wasm issues again
* fix: wasm issues again
* test: add generic http resolver tests
* chore: clean up unnecessary changes
* fix: do not expose http resolver in `Ingredient::from_stream_async`
* docs: document new feature flags and WASM/WASI notes
* fix: default to reqwest_blocking if ureq is also specified
* fix: simplify feature flags for generic resolvers
* ci: fix benchmarking to use proper http featuers
* ci: define env before executing command for benchmarking
* style: alphabetize http crate
* ci: fix rust native crypto jobs
* ci: revert rust_native_crypto changes for now
* docs: simplify doc references
* test: individual networking lib tests
* build: remove wasi dep from fetch_remote_manifests feature
* docs: add new features to usage.md
* fix: use concrete resolver type instead of trait object
* refactor: modularize http resolvers
* fix: resolver imports
* fix: wasm tests
* fix: reqwest_blocking import issues
* docs: remove comment stating http dependency can be optional
* docs: clarify why we use certain http features in ci
* docs: fix grammar
* ci: add http features to release readiness
* ci: run benchmarks with minimal featuers
* fix: dependencies and test caused by merge
* fix: allow timestamp assertion to be fetched on WASM
* fix: support timestamping on WASM/WASI
* fix: remove forbidden HOST header for WASI networking
* docs: remove review note
* fix: use write_all for WASI to bypass 4096 byte limit
* fix: pipe http resolvers through timestamping
* fix: default to ureq instead of reqwest_blocking until async tests are fixed
* fix: WASM http resolver for timestamps
* ci: use all features instead of excluding reqwest_blocking since we default to ureq
* feat: add `default_http` feature for simplification
* fix: add default_http as a feature of ffi and make test images
* feat: add networking feature flag for c2patool
* Capitalize HTTP consistently
* Capitalize HTTP consistently
* fix: add back http crate and fix mut variable
* refactor: Plumb HTTP resolver through internals (#1513)
* fix: pass http resolver to archive code, fix clippy lint, allow more timestamp fuctions for wasm
* style: fix formatting to nightly
---------
Co-authored-by: Eric Scouten <[email protected]>1 parent 45acace commit e64e91f
File tree
39 files changed
+2019
-911
lines changed- .github/workflows
- c2pa_c_ffi
- cli
- docs
- make_test_images
- sdk
- examples
- src
- assertions
- asset_handlers
- crypto
- asn1
- cose
- ocsp
- time_stamp
- http
- identity/claim_aggregation/w3c_vc
- settings
- utils
39 files changed
+2019
-911
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
| 45 | + | |
45 | 46 | | |
46 | 47 | | |
47 | 48 | | |
| |||
315 | 316 | | |
316 | 317 | | |
317 | 318 | | |
318 | | - | |
| 319 | + | |
319 | 320 | | |
320 | 321 | | |
321 | 322 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
| 38 | + | |
38 | 39 | | |
39 | 40 | | |
40 | 41 | | |
| |||
0 commit comments