28 Commits

Author SHA1 Message Date
Ivan Folgueira Bande
eb4286ba71
use uuid instead of hard-coded request id in store query 2024-12-22 15:30:55 +01:00
Ivan Folgueira Bande
f27cda7d88
tic-tac-toe main add some more comments 2024-12-22 14:42:09 +01:00
Ivan Folgueira Bande
e937e0541c
wide adaptations to make the waku crate behave tokio-based async 2024-12-19 23:05:39 +01:00
Ivan Folgueira Bande
345dcbed39
proper use of messagehash and store 2024-12-15 21:29:44 +01:00
Ivan Folgueira Bande
3f72fc7a2d
progress in toy-chat 2024-12-01 20:58:33 +01:00
Ivan Folgueira Bande
0d37037d48
some changes to add toy-chat example. not completed yet 2024-12-01 18:06:34 +01:00
Ivan FB
fd7e73a7f0
Tic tac toe example (#104)
* update nwaku vendor to v0.33.1
* build.rs: add negentropy dependency and cmdCount cmdLine dependencies
* fix: call waku_setup when instantiating waku_new
* Properly decode a Vec<Multiaddr>
* First commit tic-tac-toe
* adding some simple game logic to coordinate the turns a little
* some logic to panic if a proper event callback hasn't been set
* restoring back the type state pattern introduced by Richard
* new PubsubTopic type
* fix clippy issues

---------

Co-authored-by: Richard Ramos <info@richardramos.me>
2024-11-28 10:35:41 +01:00
richΛrd
201a38a64e
feat: example app (#99) 2024-03-11 12:00:30 -04:00
Richard Ramos
9d3b575037
chore: remove example (for now) 2024-02-21 15:54:55 -04:00
richΛrd
5aaafc7c20
fix: content topic should accept strings (#84) 2023-12-08 17:30:30 -04:00
richΛrd
dc32f22f4a
feat: add filterv2 functions (#75) 2023-11-07 15:50:35 -04:00
RichΛrd
a4bfddece7
feat: update discv5 bootnodes (#62) 2023-06-12 09:46:13 -04:00
RichΛrd
803fc37e04
fix: handle missing ephemeral field and unknown encodings in content topics (#61)
* fix(example): only attempt to decode messages sent in the toy chat content topic
* fix: handle missing ephemeral field and unknown encodings
2023-05-23 08:32:23 -04:00
Richard Ramos
8b4241ea3f
0.1.0 2023-05-12 08:06:07 -04:00
Richard Ramos
6a2d449d7d
fix: changes required to publish latest version 2023-05-11 14:01:34 -04:00
RichΛrd
ce9f71a592
Add new changes from go-waku (#58)
* feat: add ephemeral and meta fields
* feat: seenTTL
* feat: expose list of topics
2023-05-10 10:13:50 -04:00
Daniel Sanchez
3593ff18e6
Expose local archive query method (#44)
* Update vendor

* Expose local archive query
Update to beta4

* Update bindings package to beta4

* Update bindings package to beta4

* Make store response fields public

* Added store configuration

* Use decode response function
2023-02-15 10:57:39 +01:00
Daniel Sanchez
d1a467edcc
Free strings (#46)
* Free strings on discovery

* Free strings on filter

* Free strings on lightpush

* Added missing linking flags

* Free strings on management

* Fix management inner calls

* Free strings on peers

* Free strings on relay

* Free strings on store

* Free strings on decrypt

* Fix toychat example

* Fix tests

* Added decode_response method

* Use decode response

* Rename decode response util

* Use decode response in decrypt
2023-02-14 18:30:08 +01:00
gusto
4c71e135ab
Run clippy --fix for updated lint requirements (#43) 2023-01-27 01:06:21 -08:00
al8n
4dd59abf15 remove unused imports 2022-12-21 15:59:56 +13:00
al8n
415c7f0311 fix #32: add discv5 functions 2022-12-21 00:23:56 +13:00
al8n
eafecdfc92 fix #32: add discv5 functions 2022-12-21 00:23:19 +13:00
Daniel Sanchez
aa06fcc969
Make topics const initializable (#28)
* Make topics const initializable

* Fix test

* Derive Eq, PartialEq for topics
2022-12-05 18:42:55 +01:00
Felicio Mununga
3f85a09b88
Replace deprecated chrono::TimeZone::timestamp for timestamp_opt in examples (#27)
* Replace deprecated `chrono::TimeZone::timestamp` for `timestamp_opt` in examples

* Use `.unwrap()`

* Use `expect`

* Use `LocalResult` for `Chat2Message.timestamp`

* Use `unwrap()` in `format()`
2022-12-01 16:28:19 +01:00
Felicio Mununga
35f787d2ae
Fix timestamp attribute of WakuMessage in examples (#26) 2022-12-01 12:30:42 +01:00
Daniel Sanchez Quiros
718c28725d Refactor waku crate to waku-bindings 2022-11-29 10:28:32 +01:00
Daniel Sanchez
d006ef4ecd
Crates publish setup (#17)
* Added config.toml to waku crate

* Update gitignore

* Update readme

* Remove private items docs

* Fix docs links

* Refactor waku to waku-bindings crate
Added badges

* Fix links

* Add usage
2022-11-02 08:21:15 -07:00
Daniel Sanchez
9993d2d991
Chat example (#11)
* Added main skeleton for toy-chat example

* Implement chat example main block

* Polish chat and add necessary fixes

* Added author info to crates
2022-10-19 15:58:09 +02:00