13 releases (7 breaking)

new 0.11.3 Dec 11, 2024
0.11.2 May 28, 2023
0.11.1 Apr 14, 2023
0.11.0 Dec 27, 2021
0.4.0 Aug 8, 2018

#1627 in Asynchronous

Download history 36/week @ 2024-09-23 2/week @ 2024-09-30 13/week @ 2024-10-14 214/week @ 2024-12-09

214 downloads per month
Used in 5 crates (via kompact)

MIT license

6KB

Kompact

License Cargo Documentation codecov Build Status

Kompact is an in-development message-passing component system like Kompics in the Rust language, with performance and static typing in mind. It merges both Kompics' component model and the actor model as found in Erlang or Akka.

Kompact has shown itself to vastly outperform many of its peers on a wide range of message-passing tasks, providing the capability of handling up to 400mio messages per second on 36 cores.

Kompact comes with its own network library built-in, providing easy connection maintenance and efficient serialisation for distributed deployments.

Documentation

For reference and short examples check the API Docs.

A thorough introduction with many longer examples can be found in the tutorial. The examples themselves can be found in the docs/examples folder.

Rust Version

Kompact before v0.9.0 requires Rust nightly.

Since v0.9.0 Kompact can be built on stable Rust, with a slightly different API.

License

Licensed under the terms of MIT license.

See LICENSE for details.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in Kompact by you shall be licensed as MIT, without any additional terms or conditions.

Dependencies

~220–660KB
~16K SLoC