2023-02-08 09:48:37 +01:00
|
|
|
name: libipc-examples
|
|
|
|
version: 0.1.0
|
|
|
|
|
|
|
|
authors:
|
|
|
|
- Philippe Pittoli <karchnu@karchnu.fr>
|
|
|
|
|
|
|
|
description: |
|
|
|
|
Examples of applications using libipc.
|
|
|
|
|
|
|
|
targets:
|
|
|
|
pong:
|
|
|
|
main: src/pong.cr
|
|
|
|
pongd:
|
|
|
|
main: src/pongd.cr
|
|
|
|
|
2023-05-14 14:39:30 +02:00
|
|
|
# Those two examples show what it is required to serialize and deserialize
|
|
|
|
# an IPC message, which only is to add (and remove) the message length in
|
|
|
|
# the first 4 bytes of the message.
|
|
|
|
# They can be used to handle messages from a simple shell script.
|
|
|
|
fromipc:
|
|
|
|
main: src/fromipc.cr
|
|
|
|
input2ipc:
|
|
|
|
main: src/input2ipc.cr
|
|
|
|
|
2023-02-08 09:48:37 +01:00
|
|
|
dependencies:
|
|
|
|
ipc:
|
|
|
|
git: https://git.baguette.netlib.re/Baguette/ipc.cr
|
|
|
|
branch: master
|
|
|
|
|
2023-05-14 14:39:30 +02:00
|
|
|
crystal: 1.8.2
|
2023-02-08 09:48:37 +01:00
|
|
|
|
|
|
|
license: ISC
|