Latest / Developer tools

connections

github.com · Package · Maintained

Galois connections for composable numeric casts in Rust

Visit github.com ↗Share

  • numeric
  • type conversion
  • galois connection rust
  • numeric casts rust
  • rust type conversion
  • lawful casts
  • rust saturating conversion
Stars
7
Forks
0
Open issues
0
Last commit
Releases
1
Found
4 months ago

GitHub figures as of . They are context, not a ranking.

connections is a Rust library that expresses numeric casts as Galois connections, so conversions between types can be composed. The repository has no description, so this summary relies on its title. It suits Rust developers who work with numeric types.

What it does

  • Galois connections as first-class Rust values
  • Lawful numeric casts with composable ladders of conversions
  • Property-tested invariants for operations derived from a connection
  • Kani harnesses for fixed-width integer bit-width proofs

Good for

  • Cast numbers between Rust types with defined rounding behavior
  • Compose a ladder of numeric conversions in a Rust program
  • Check round-trip behavior of numeric conversions in tests

Suits: Rust developers who work with numeric types.

Worth knowing: Requires Rust 1.88 or later, and float SMT coverage is narrower than integer coverage.

What you can try

Read the README on GitHub and install from source.

Install

cargo add connections

Confirmed against the package registry. Read the project’s own instructions before running anything.

Links go to third-party sites KipFound does not control. KipFound has not installed, audited or tested this software.

Found vs. released

Kip first saw connections on , when partialsolve posted it to Show HN. The oldest published release on GitHub is v0.1.0, dated . Its first tagged release landed the same day it was found.

Day-7 and day-30 updates

Day 7 no new release

  • No tagged release was published in the first 7 days after it was found (GitHub release dates).
  • Show HN discussion at check time: 31 points, 3 comments. API record

Checked , later than day 7 because tracking began after.

Day 30 no new release

  • No tagged release was published in the first 30 days after it was found (GitHub release dates).
  • Show HN discussion at check time: 31 points, 3 comments. API record

Checked , later than day 30 because tracking began after.

Release timeline every entry links to its source

  1. Repository created on GitHub: cmk/connections
  2. Release v0.1.0
  3. Found: partialsolve posted it to Show HN. Show HN
  4. Day-7 check recorded by Kip (details)
  5. Day-30 check recorded by Kip (details)

Quick answers

When was connections released?
Its first tagged release on GitHub is dated 16 Jul 2026. Kip found it on Show HN on 16 Jul 2026.
Is connections open source?
Its source is public on GitHub at cmk/connections under the MIT licence.
What does connections run on?
Library.
Is connections free?
It is open source, so the code is free to read and run; check the licence for terms.
Is connections still maintained?
It had a commit or release in the last year, though not in the last 90 days, as of the latest check.

Provenance

SourceRecordLast checked
Show HNlisting
official API record
GitHub repositorycmk/connections
REST API record
GitHub Releasesrelease list
REST API record

Stable ID hn-48936803. Summary drafted with AI from the source records above and checked against KipFound’s rules before publishing. Dates and release facts come only from those records.

Share

Similar tools

More in Developer tools

Made this, or spotted a mistake? Ask for a correction or removal. No account or email address needed.