Update Syndicate dependency
This commit is contained in:
parent
32f8cd792c
commit
92dd48b528
12
sbom.json
12
sbom.json
|
@ -85,7 +85,7 @@
|
|||
"type": "library",
|
||||
"bom-ref": "pkg:nim/syndicate",
|
||||
"name": "syndicate",
|
||||
"version": "20240522",
|
||||
"version": "20240601",
|
||||
"externalReferences": [
|
||||
{
|
||||
"url": "https://git.syndicate-lang.org/ehmry/syndicate-nim/archive/3a4dc1f13392830b587138199643d30fdbec8541.tar.gz",
|
||||
|
@ -103,23 +103,23 @@
|
|||
},
|
||||
{
|
||||
"name": "nix:fod:path",
|
||||
"value": "/nix/store/aixbd9di4671hm3bg92xsxwhqp4mbs1g-source"
|
||||
"value": "/nix/store/4a52kd569bvwl24j8acz0s0kc1l4aywi-source"
|
||||
},
|
||||
{
|
||||
"name": "nix:fod:rev",
|
||||
"value": "7ab4611824b676157523f2618e7893d5ac99e4f2"
|
||||
"value": "3a8e729e89df71063c186e28598b8a4ea9327028"
|
||||
},
|
||||
{
|
||||
"name": "nix:fod:sha256",
|
||||
"value": "0i53g3578h84gp2lbwx1mddhyh8jrpzdq9h70psqndlgqcg62d59"
|
||||
"value": "1imvx7dbncvsxkvl753xadw4zj63nb0y9w26km8i6n8qfaqb0cby"
|
||||
},
|
||||
{
|
||||
"name": "nix:fod:url",
|
||||
"value": "https://git.syndicate-lang.org/ehmry/syndicate-nim/archive/7ab4611824b676157523f2618e7893d5ac99e4f2.tar.gz"
|
||||
"value": "https://git.syndicate-lang.org/ehmry/syndicate-nim/archive/3a8e729e89df71063c186e28598b8a4ea9327028.tar.gz"
|
||||
},
|
||||
{
|
||||
"name": "nix:fod:ref",
|
||||
"value": "20240522"
|
||||
"value": "20240601"
|
||||
},
|
||||
{
|
||||
"name": "nix:fod:srcDir",
|
||||
|
|
|
@ -4,8 +4,6 @@
|
|||
import std/[sequtils, os, strutils]
|
||||
import preserves, syndicate, syndicate/relays
|
||||
|
||||
setControlCHook(proc () {.noconv.} = quit())
|
||||
|
||||
runActor("msg") do (turn: Turn):
|
||||
let
|
||||
data = map(commandLineParams(), parsePreserves)
|
||||
|
|
|
@ -52,18 +52,13 @@ method message*(dump: DumpEntity; turn: Turn; ass: AssertionRef) =
|
|||
stdout.write(ass.value.sequence.toLine('!'))
|
||||
stdout.flushFile()
|
||||
|
||||
proc exitProc() {.noconv.} =
|
||||
stdout.write('\n')
|
||||
quit()
|
||||
|
||||
proc main =
|
||||
let
|
||||
patterns = inputPatterns()
|
||||
entity = DumpEntity()
|
||||
runActor("syndex_card") do (turn: Turn):
|
||||
resolveEnvironment(turn) do (turn: Turn; ds: Cap):
|
||||
resolveEnvironment(turn) do (turn: Turn; peer: Cap):
|
||||
for pat in patterns:
|
||||
discard observe(turn, ds, pat, entity)
|
||||
discard observe(turn, peer, pat, entity)
|
||||
|
||||
setControlCHook(exitProc)
|
||||
main()
|
||||
|
|
Loading…
Reference in New Issue