Commit Graph

13 Commits

Author SHA1 Message Date
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