codeint-config 0.10.5

Configuration and CLI argument parsing for codeint
Documentation
#![forbid(unsafe_code)]

mod agent_home;
mod baseline;
mod boundaries;
mod calendar_day;
mod check_run_env;
mod churn;
mod cli;
mod cli_schema;
mod codeowners;
mod command;
mod config_error;
mod config_file;
mod coupling;
mod dependencies;
mod dialects;
mod finding_anchor;
mod framework_profiles;
mod hazards;
mod ratchet;
mod regression_limits;
mod repo_state;
mod resolved;
mod result_cache_folder;
mod state_check;

pub use baseline::{
    BASELINE_PATH, BASELINE_SCHEMA_VERSION, Baseline, BaselineEntry, BaselineFileError,
    BaselineUpdateSummary, MeasuredBaselineMetric,
};
pub use boundaries::{
    Boundaries, BoundaryDirective, BoundaryExternalPolicy, BoundaryPreset, BoundaryRuleDecision,
    BoundarySourceSet,
};
pub use calendar_day::{CalendarDay, CalendarDayError};
pub use churn::{ChurnFormat, ChurnSince, ChurnSinceError, ChurnWindow, DEFAULT_CHURN_DAYS};
pub use cli::read_invocation;
pub use cli_schema::{
    CliArgumentSchema, CliCommandSchema, CliFlagSchema, CliSchema, OutputFormatSchema, cli_schema,
};
pub use codeowners::{Codeowners, CodeownersError, OwnerFilter};
pub use command::{
    AgentClient, AgentCommand, AgentFormat, BaselineCommand, BaselineFormat,
    CHECK_RUN_ANNOTATION_MESSAGE_MAX_BYTES, CHECK_RUN_ANNOTATIONS_PER_REQUEST,
    CHECK_RUN_API_ERROR_MAX_CHARS, CHECK_RUN_SUMMARY_MAX_BYTES, CheckRunConclusionMode,
    CheckRunConfig, CheckRunPublishConfig, Command, ConfigError, ConfigFormat,
    DEFAULT_CHECK_RUN_CONNECT_TIMEOUT_SECONDS, DEFAULT_CHECK_RUN_MAX_ANNOTATIONS,
    DEFAULT_CHECK_RUN_MAX_TIME_SECONDS, DEFAULT_CHECK_RUN_NAME, DEFAULT_GITHUB_API_URL,
    DEFAULT_MAX_TRACE_PATHS, DEFAULT_PLUGIN_MAX_DOWNLOAD_BYTES, DEFAULT_RENAME_THRESHOLD,
    DEFAULT_UPDATE_CONNECT_TIMEOUT_SECONDS, DEFAULT_UPDATE_DOWNLOAD_MAX_TIME_SECONDS,
    DEFAULT_UPDATE_METADATA_MAX_TIME_SECONDS, DoctorFormat, FindingsShown, GuardFormat,
    ImpactFormat, InitFormat, Invocation, MAX_RENAME_THRESHOLD, PluginCommand, PluginHostConfig,
    PluginTestFormat, RatchetCommand, RatchetFormat, ReportDestination, ReportFormat, ReportInput,
    ReportMode, ReportRenderFormat, SchemaFormat, StateCheckFormat, StateCommand,
    StateUpdateCommand, TraceFormat, TrendFormat, TrendRange,
};
pub use config_error::{
    ConfigFileKind, ConfigSyntax, ConfigurationFileError, JsonType, JsoncError, KeyPath, KeySegment,
};
pub use config_file::{
    Budget, Budgets, Configuration, ConfigurationInspection, DEPENDENCY_METRIC_KEYS,
    DetectedLanguage, DiscoveredConfigFile, DuplicationConfig, EntryPoints, FileSizeConfig,
    HAZARDS_METRIC_KEY, LanguageCoverage, Languages, MAX_PLUGIN_MEMORY_MB, MAX_PLUGIN_TIMEOUT_MS,
    MIN_PLUGIN_MEMORY_MB, MIN_PLUGIN_TIMEOUT_MS, MinSimilarity, OutputFormat, PluginDeclaration,
    PluginKind, PluginLimits, PluginSource, RewrittenSchema, RewrittenSchemaForm, SchemaValueSpan,
    SchemaVersionStatus, Sha256Digest, SourceSetOverrides, StarterBoundaries, StarterBoundaryZone,
    StarterConfigurationError, TEST_GAP_METRIC_KEY, configuration_schema, discover_config_file,
    inspect_configuration, is_broken_symlink, parse_configuration_files, published_schema_address,
    read_configuration, read_resolved_configuration, rewrite_schema_tag, schema_value_span,
    write_adoption_starter_configuration, write_adoption_zero_budgets, write_starter_configuration,
    write_starter_configuration_in_format,
};
pub use coupling::{
    CouplingRatio, CouplingRatioError, CouplingSettings, DEFAULT_MAX_COMMIT_FILES,
    DEFAULT_MIN_CO_CHANGES, DEFAULT_MIN_COUPLING_RATIO,
};
pub use dependencies::DependenciesConfig;
pub use dialects::{DialectConflict, DialectRules, validate_dialects};
pub use finding_anchor::{
    AnchorMatch, CloneLineAnchor, FindingAnchor, match_anchors, match_anchors_with_aliases,
    match_anchors_with_renames, remap_anchor_paths,
};
pub use framework_profiles::{FrameworkProfilesConfig, display_package_key};
pub use hazards::HazardsConfig;
pub use ratchet::{
    DEFAULT_RATCHET_PATH, MeasuredRatchetMetric, RATCHET_SCHEMA_VERSION, Ratchet, RatchetConfig,
    RatchetEntry, RatchetFileError, RatchetSourceSets, RatchetUpdateSummary,
    RatchetVersionMismatch, RatchetViolation, round_ratchet_ratio,
};
pub use regression_limits::{NewFindingsRule, RatioRise, RegressionLimit, RegressionLimits};
pub use repo_state::{
    LoadedForUpdate, MetricVersionMismatch, RepoStateFile, SourceSetEntries, StateFileError,
};
pub use resolved::{
    BudgetOverride, ConfigOverrides, ConfigProvenance, ResolvedConfiguration, ResolvedSetting,
    SourceSetOverride,
};
pub use state_check::{StateCheckComparison, StateCheckViolation, compare_state};