cradle_system 0.0.1-alpha2

A watchdog timer but more powerful
Documentation
  • Coverage
  • 100%
    12 out of 12 items documented0 out of 8 items with examples
  • Size
  • Source code size: 8.25 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 2.3 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 10s Average build duration of successful builds.
  • all releases: 10s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • kingwingfly/cradle_system
    0 0 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • kingwingfly

cradle_system

Inspired by the science fiction novel The Three Body Program.

cradle_system in that novel is used to threaten others: The cradle system will detonate a bomb if no signal is received so as babies will cry if stopping rocking the cradle.

This is a little like watchdog timer in embedded system: if the system is not working properly, the watchdog timer will reset the system. To avoid the reset, the system should periodically feed the watchdog timer.

However, the cradle system is more complex than watchdog timer: it may receive both local and remote signals.

cradle_system will provide LocalCradle and RemoteCradle to simulate the cradle system. And RemoteCradle will work through a p2p network by libp2p(WIP).