Skip to content
@pb64-lean

pb64-lean

pb64-lean

Lean 4 libraries and build tools for networked services: HTTP, gRPC, WebSockets, TLS, PostgreSQL, validation, observability, and application lifecycle management.

  • Library catalog: libraries by function.
  • lean-acme-widgets: an example service with gRPC, validated requests, authorization, PostgreSQL, and TLS.
  • rules_lean: Bazel build rules, toolchain configuration, native linking, tests, and language-server support.
  • CI guide: shared workflows and runner requirements.

Development

Follow each repository's README for prerequisites and dependency setup, then build and test from its root:

bazel build //...
bazel test //...

Use the Bazel version specified by the repository. MODULE.bazel configures its Lean toolchain and dependencies. The README covers editor setup and integration tests.

Verification

The libraries include executable tests, interoperability tests, and Lean theorems. Repository documentation describes the properties checked, supported protocol features, and native dependencies. Shared CI provides source-level assurance reports; rules_lean supplies compiled-module audits for theorem, axiom, and FFI inventories.

Popular repositories Loading

  1. tls13-lean tls13-lean Public

    TLS 1.3 client and server in Lean 4 over HACL* verified cryptographic primitives

    Lean 2 1

  2. rules_lean rules_lean Public

    Bazel build rules for Lean 4

    Starlark 1

  3. grpc-lean grpc-lean Public

    Protobuf and gRPC implementation in Lean 4 plus Bazel build rules

    Lean 1

  4. pg-lean pg-lean Public

    PostgreSQL client in Lean 4: pure-Lean wire protocol, SCRAM auth, TLS, COPY, pipelining

    Lean 1

  5. protovalidate-lean protovalidate-lean Public

    Lean 4 codegen and runtime for validation of CEL expressions on protobuf field values as refinement types

    Go 1

  6. lean-acme-widgets lean-acme-widgets Public

    Example Lean 4 CRUD service integrating gRPC, refinement-typed protobuf validation, PostgreSQL, and TLS

    Lean 1

Repositories

Showing 10 of 13 repositories

People

This organization has no public members. You must be a member to see who’s a part of this organization.

Top languages

Loading…

Most used topics

Loading…