Skip to main content

Crate dnspls_core

Crate dnspls_core 

Source
Expand description

Provider-neutral truth kernel for DNSpls.

Protocol adapters translate external responses into Observation values. Only this crate decides what those observations are allowed to mean. It has no networking, async-runtime, storage, MCP, or provider SDK dependencies.

Structs§

Contradiction
DomainIdentity
A canonical name plus its embedded-PSL parsing interpretation.
DomainName
A syntactically valid, canonical DNS name.
DomainNameError
A domain parse error suitable for transport-safe mapping.
DurationMillis
A non-negative millisecond duration.
FreshWindow
The validity interval attached to one observation.
Observation
One immutable, normalized observation from an external or local source.
ObservationId
Stable identifier for one immutable observation.
PublicSuffix
A suffix found in the embedded Public Suffix List.
ReductionError
RegistrableDomain
The eTLD+1 boundary derived from the embedded Public Suffix List.
SourceId
Stable identifier for an evidence-producing source.
UnixMillis
Milliseconds from the Unix epoch.
Verdict
VerificationBatch
A small deterministic state machine; async orchestration owns no state rules.

Enums§

BatchState
Transport-independent lifecycle of a bounded verification batch.
BoundaryStatus
Whether the pinned parsing data can identify a registrable boundary.
Completion
ContradictionKind
DecisionReason
DnsOutcome
DnssecStatus
DomainErrorCode
Stable, non-provider-specific domain parsing failures.
EvidenceFact
Facts are closed and typed so adapters cannot combine incompatible fields.
EvidenceTier
Strongest evidence class that supports a verdict.
ObservationError
ProviderAuthority
Contractual truth strength of a provider method—not provider reputation.
ProviderOperation
ProviderStatus
RdapOutcome
StableIdError
TemporalState
TimeError
VerdictStatus
Deterministic, user-facing acquisition decision.
VerificationTransitionError
ZoneMembership

Constants§

SCHEMA_VERSION
Current stable serialization contract for the kernel’s public values.

Functions§

reduce
Reduces immutable observations without discarding provenance or disagreement.