Add crossguard_log support to SourceConfig - #42
Merged
Conversation
Expose crossguard_log in SourceConfig, mirroring checksum_log. The cryptomeria-ingest library gates Kraken crossing-guard rejection warnings behind this field (ADR-022); this commit wires the config field and forward it in to_data_source(). - src/config.rs: add crossguard_log field to SourceConfig, forward in to_data_source, add tests - docs/adr/Integration/ADR-013: document the decision
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Implements issue #41.
Exposes the
crossguard_logconfig field inSourceConfig, mirroring the existingchecksum_logfield. Thecryptomeria-ingestlibrary already gates Kraken crossing-guard rejection warnings behindcrossguard_log(see its ADR-022), butcriptomeria-marketdatawas not forwarding the field.Changes
crossguard_log: boolfield toSourceConfigwith#[serde(default)](defaults tofalse) and a doc comment referencing ADR-022. Forwardedcrossguard_loginSourceConfig::to_data_source(), placed immediately afterchecksum_log. Added 4 unit tests mirroring thechecksum_logsuite.Verification
cargo test: 72 passed, 0 failedcargo clippy --all-targets --all-features -- -D warnings: cleancargo fmt --check: clean