Skip to main content

Module contract_drift

Module contract_drift 

Source
๐Ÿ‘ŽDeprecated:

Will be extracted to mockforge-contracts crate

Expand description

Contract validation for ensuring API contracts match specifications Pillars: [Contracts]

Contract drift detection and budget management

This module provides functionality for tracking contract drift, managing drift budgets, and detecting breaking changes according to configurable rules.

Re-exportsยง

pub use breaking_change_detector::BreakingChangeDetector;Deprecated
pub use budget_engine::DriftBudgetEngine;Deprecated
pub use consumer_mapping::AppType;Deprecated
pub use consumer_mapping::ConsumerImpact;Deprecated
pub use consumer_mapping::ConsumerImpactAnalyzer;Deprecated
pub use consumer_mapping::ConsumerMapping;Deprecated
pub use consumer_mapping::ConsumerMappingRegistry;Deprecated
pub use consumer_mapping::ConsumingApp;Deprecated
pub use consumer_mapping::SDKMethod;Deprecated
pub use field_tracking::FieldCountRecord;Deprecated
pub use field_tracking::FieldCountTracker;Deprecated
pub use fitness::FitnessEvaluator;Deprecated
pub use fitness::FitnessFunction;Deprecated
pub use fitness::FitnessFunctionRegistry;Deprecated
pub use fitness::FitnessFunctionType;Deprecated
pub use fitness::FitnessScope;Deprecated
pub use fitness::FitnessTestResult;Deprecated
pub use forecasting::ChangeForecast;Deprecated
pub use forecasting::ForecastAggregationLevel;Deprecated
pub use forecasting::ForecastPattern;Deprecated
pub use forecasting::ForecastStatistics;Deprecated
pub use forecasting::Forecaster;Deprecated
pub use forecasting::ForecastingConfig;Deprecated
pub use forecasting::PatternAnalysis;Deprecated
pub use forecasting::PatternAnalyzer;Deprecated
pub use forecasting::PatternSignature;Deprecated
pub use forecasting::PatternType;Deprecated
pub use forecasting::SeasonalPattern;Deprecated
pub use forecasting::StatisticalModel;Deprecated
pub use grpc_contract::diff_grpc_contracts;Deprecated
pub use grpc_contract::GrpcContract;Deprecated
pub use mqtt_kafka_contracts::diff_kafka_contracts;Deprecated
pub use mqtt_kafka_contracts::diff_mqtt_contracts;Deprecated
pub use mqtt_kafka_contracts::EvolutionRules;Deprecated
pub use mqtt_kafka_contracts::KafkaContract;Deprecated
pub use mqtt_kafka_contracts::KafkaTopicSchema;Deprecated
pub use mqtt_kafka_contracts::MqttContract;Deprecated
pub use mqtt_kafka_contracts::MqttTopicSchema;Deprecated
pub use mqtt_kafka_contracts::SchemaFormat;Deprecated
pub use mqtt_kafka_contracts::TopicSchema;Deprecated
pub use protocol_contracts::classify_change;Deprecated
pub use protocol_contracts::compare_contracts;Deprecated
pub use protocol_contracts::extract_breaking_changes;Deprecated
pub use protocol_contracts::generate_grpc_drift_report;Deprecated
pub use protocol_contracts::ChangeClassification;Deprecated
pub use protocol_contracts::ContractError;Deprecated
pub use protocol_contracts::ContractMetadata;Deprecated
pub use protocol_contracts::ContractOperation;Deprecated
pub use protocol_contracts::ContractRequest;Deprecated
pub use protocol_contracts::OperationType;Deprecated
pub use protocol_contracts::ProtocolContract;Deprecated
pub use protocol_contracts::ProtocolContractRegistry;Deprecated
pub use protocol_contracts::ValidationError;Deprecated
pub use protocol_contracts::ValidationResult;Deprecated
pub use threat_modeling::AggregationLevel;Deprecated
pub use threat_modeling::DosAnalyzer;Deprecated
pub use threat_modeling::ErrorAnalyzer;Deprecated
pub use threat_modeling::PiiDetector;Deprecated
pub use threat_modeling::RemediationGenerator;Deprecated
pub use threat_modeling::RemediationSuggestion;Deprecated
pub use threat_modeling::SchemaAnalyzer;Deprecated
pub use threat_modeling::ThreatAnalyzer;Deprecated
pub use threat_modeling::ThreatAssessment;Deprecated
pub use threat_modeling::ThreatCategory;Deprecated
pub use threat_modeling::ThreatFinding;Deprecated
pub use threat_modeling::ThreatLevel;Deprecated
pub use threat_modeling::ThreatModelingConfig;Deprecated
pub use types::BreakingChangeRule;Deprecated
pub use types::BreakingChangeRuleConfig;Deprecated
pub use types::BreakingChangeRuleType;Deprecated
pub use types::DriftBudget;Deprecated
pub use types::DriftBudgetConfig;Deprecated
pub use types::DriftMetrics;Deprecated
pub use types::DriftResult;Deprecated
pub use websocket_contract::diff_websocket_contracts;Deprecated
pub use websocket_contract::MessageDirection;Deprecated
pub use websocket_contract::WebSocketContract;Deprecated
pub use websocket_contract::WebSocketMessageType;Deprecated

Modulesยง

breaking_change_detectorDeprecated
Breaking change detection logic
budget_engineDeprecated
Drift budget evaluation engine
consumer_mappingDeprecated
Consumer mapping for tracking endpoint โ†’ SDK method โ†’ consuming app relationships
field_trackingDeprecated
Field count tracking for percentage-based drift budgets
fitnessDeprecated
Contract fitness functions for validating contract changes
forecastingDeprecated
API Change Forecasting
grpc_contractDeprecated
gRPC contract implementation for protocol-agnostic contract drift detection
mqtt_kafka_contractsDeprecated
MQTT and Kafka contract implementations for protocol-agnostic contract drift detection
protocol_contractsDeprecated
Protocol-agnostic contract abstractions for multi-protocol drift detection
threat_modelingDeprecated
Contract Threat Modeling
typesDeprecated
Core types for contract drift and budget management
websocket_contractDeprecated
WebSocket contract implementation for protocol-agnostic contract drift detection