[License Exception Request] [wasmCloud] [MPL-2.0+] imbl

Open
#1,580 1 comment 0 reactions 3 assignees View on GitHub

Maintainers usually reply within 1 day

@krook is already working on this.

Since Oct 21, 2026.

Assessment

This issue has not been assessed yet.

Description

licensing needs-review
For which CNCF project are you requesting exceptions?

wasmCloud

Are you an official maintainer of this project?

Yes

List of components requiring an exception
Component Upstream URL Project Usage URL License(s) Purpose
imbl (crates.io) https://github.com/jneem/imbl https://github.com/wasmCloud/wasmCloud/blob/main/crates/wash-runtime/Cargo.toml MPL-2.0+ Immutable, structurally shared HashMap and OrdSet that hold the wasmCloud host's HTTP route tables
imbl-sized-chunks (crates.io) https://github.com/jneem/imbl-sized-chunks https://github.com/wasmCloud/wasmCloud/blob/main/Cargo.lock MPL-2.0+ Fixed-capacity chunk buffers used internally by imbl, transitive via imbl
Distribution and integration model
  • CNCF-Distributed: The CNCF project will distribute the dependency or the resulting combined artifacts to users.
  • User-Fetched Dependency: The CNCF project code will cause the user's system to automatically retrieve the dependency from an upstream source at build, install, or runtime.
  • System Component: The CNCF project expects that the dependency will either already be present on the user's system or will be installed independently by the user.
  • Not Distributed + Not Needed by End User (Internal Project Tooling): ALL of the following are true:
Distribution and integration model — explanation

imbl is a direct dependency of the Apache-2.0 wash-runtime crate (the wasmCloud host runtime), which is compiled into the wash binary. wasmCloud publishes that binary on GitHub Releases and in the wasmCloud host container images, so both crates ship inside distributed artifacts.

Modification status
  • Modified Upstream: The CNCF project will patch, alter, or otherwise modify the source code of the dependency and contribute upstream.
  • Modified Downstream: The CNCF project will patch, alter, or otherwise modify the source code of the dependency and maintain a downstream fork or local copy.
  • Unmodified: The CNCF project will use the dependency exactly as provided by the upstream maintainers without any changes to its source code.
Modification status — explanation

Both crates are consumed at their published crates.io versions (imbl 7.0.2, imbl-sized-chunks 0.2.0) with no [patch] overrides or local copies.

Structural separation
  • Separated Component: The dependency's code will either be (a) kept in a distinct directory or module clearly separated from CNCF project code, or (b) retrieved at build/installation time from a third-party repository and never stored in the CNCF project repository.
  • Intermingled Code: The dependency's code will be "mixed in" with CNCF source files, copied into existing project files, or will otherwise lose its distinct directory/module boundary.
Structural separation — explanation

The crates are not vendored. Cargo fetches them from crates.io at build time. The repository references them only through Cargo.toml and Cargo.lock.

Communication mechanism
  • Static Linking: The dependency and the CNCF project code will be combined into a single binary or similar type of artifact during the build process.
  • Dynamic Linking: The CNCF project code will interact with the dependency by loading it into the shared address space (memory) at run-time. This includes traditional shared objects compiled into a separate binary, as well as runtime module loading in interpreted or JIT-compiled languages.
  • Separate Process: The dependency and the CNCF project code will run as distinct executables and communicate via Inter-Process Communication (e.g., pipes, sockets, or shared files)
  • Network Interaction: The dependency and the CNCF project code will be logically and physically separated by a network boundary, with the CNCF project's code acting as a client or consumer of the remote service and interacting with the dependency exclusively via standardized network protocols.
Communication mechanism — explanation

As with any Rust crate dependency, the library is compiled and statically linked into the wash binary.

Data exchange
  • Tightly Coupled: The upstream dependency and CNCF project code will exchange complex internal data structures such as shared pointers, class instances, or private memory offsets that require extensive knowledge of the other component's internal memory layout.
  • Arms-Length Only: The communication between the dependency and the CNCF project code will be limited to standard serialized data (e.g., JSON, XML, or Protobuf) where data is "flattened" for transport and neither component accesses the other's internal memory structures.
Data exchange — explanation

The host stores route tables in imbl's HashMap and OrdSet types and calls them through imbl's public API. wasmCloud code does not access imbl's internal memory layout.

Additional information — explanation

The host's HTTP router keeps one immutable route table per shard and swaps it atomically on each route change. imbl's structural sharing means each update copies only the changed tree path instead of the whole table, while request handling reads a consistent snapshot without locking. imbl is the maintained fork of the im crate, which is no longer maintained and is flagged by RustSec. MPL-2.0 is file-level copyleft: it does not extend to wasmCloud's Apache-2.0 source files, and the MPL-covered files remain available unmodified from upstream. imbl's other dependencies (archery, rand_xoshiro, rand_core, equivalent, version_check, wide) are all available under MIT or Apache-2.0 and need no exception.

Dominant language
Rich Text Format
Stars
702
Forks
871
Avg merge
3h 43m
Merged PRs (30d)
19

Getting set up

  • No Dockerfile or Docker Compose file
  • Has a pull request template
  • No contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from cncf/foundation

All issues in cncf/foundation

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.