ecosystem-integration: migrate to ternary_types::Ternary#2
Open
SuperInstance wants to merge 4 commits into
Open
ecosystem-integration: migrate to ternary_types::Ternary#2SuperInstance wants to merge 4 commits into
SuperInstance wants to merge 4 commits into
Conversation
…_AND_PLAY, CONTRIBUTING)
Follows DOC_STANDARD.md conventions:
- 5-tier doc system: README + 4 supporting docs
- Ternary {-1, 0, +1} mapping with domain-specific semantics
- Cross-repo references to sibling ternary crates
- Zero is not nothing: neutral state is meaningful
Part of fleet-wide documentation initiative.
- Add ternary-types dependency - Replace custom enum Ternary (Neg/Zero/Pos) with pub use - Add TernaryExt trait for to_f64() method - Version bump to 0.2.0 - Add migration badge to README
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.
Summary
Replaces the crate's own
enum Ternarywith a re-export of the canonicalternary_types::Ternary.Changes
ternary-typesas a dependencyenum Ternarywithpub use ternary_types::TernaryTernaryExttrait for any crate-specific methods that were on the original enum0.2.0Variant Name Mapping
Ternary::NegTernary::NegativeTernary::ZeroTernary::NeutralTernary::PosTernary::PositiveSee the ecosystem integration PR for context.