Nitesh on Nostr: But their crate says I can directly use it as a client library? Why do I have to ...
But their crate says I can directly use it as a client library? Why do I have to generate bindings?
They have a crate but not an example on how to use it. It's 5 lines of code.
Published at
2023-04-19 21:00:42Event JSON
{
"id": "6d00423a33220da866a4318acf28682086b05ec6c293a9b0f0690e1fcc171083",
"pubkey": "021d7ef7aafc034a8fefba4de07622d78fd369df1e5f9dd7d41dc2cffa74ae02",
"created_at": 1681938042,
"kind": 1,
"tags": [
[
"e",
"cc7619b6b56232e58615425011cbd72701393567624cb6145d7b0831b9071eec"
],
[
"e",
"cc00e77a2659929e5114e12adce5e28c1673a7f69eda9d03297dab7cb300d08c"
],
[
"p",
"021d7ef7aafc034a8fefba4de07622d78fd369df1e5f9dd7d41dc2cffa74ae02"
],
[
"p",
"3dcc157a0304ec26ea131a0f4e576e2da67ff5c66980949c55bd7f0bb1b5efa1"
]
],
"content": "But their crate says I can directly use it as a client library? Why do I have to generate bindings? \nThey have a crate but not an example on how to use it. It's 5 lines of code. ",
"sig": "4cce1b53f1eb69389bfbaf300029113cf2ce1d351ccd25c64a8b352887f1889080f1766a99ad678a14127588019cca6bdfbb9821d96a02f74a2a9f9e47acaf52"
}