dependabot[bot]
57c222db96
Bump crossbeam-channel from 0.5.14 to 0.5.15 in /mycelium-ui
...
Bumps [crossbeam-channel](https://github.com/crossbeam-rs/crossbeam ) from 0.5.14 to 0.5.15.
- [Release notes](https://github.com/crossbeam-rs/crossbeam/releases )
- [Changelog](https://github.com/crossbeam-rs/crossbeam/blob/master/CHANGELOG.md )
- [Commits](https://github.com/crossbeam-rs/crossbeam/compare/crossbeam-channel-0.5.14...crossbeam-channel-0.5.15 )
---
updated-dependencies:
- dependency-name: crossbeam-channel
dependency-version: 0.5.15
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-04-24 15:21:25 +02:00
dependabot[bot]
c03de7a9bb
Bump the mycelium group across 1 directory with 13 updates
...
Bumps the mycelium group with 13 updates in the / directory:
| Package | From | To |
| --- | --- | --- |
| [tokio](https://github.com/tokio-rs/tokio ) | `1.44.1` | `1.44.2` |
| [tokio-util](https://github.com/tokio-rs/tokio ) | `0.7.14` | `0.7.15` |
| [rand](https://github.com/rust-random/rand ) | `0.9.0` | `0.9.1` |
| [blake3](https://github.com/BLAKE3-team/BLAKE3 ) | `1.6.1` | `1.8.2` |
| [etherparse](https://github.com/JulianSchmid/etherparse ) | `0.17.0` | `0.18.0` |
| [quinn](https://github.com/quinn-rs/quinn ) | `0.11.6` | `0.11.7` |
| [rustls](https://github.com/rustls/rustls ) | `0.23.25` | `0.23.26` |
| [netdev](https://github.com/shellrow/netdev ) | `0.33.0` | `0.34.0` |
| [openssl](https://github.com/sfackler/rust-openssl ) | `0.10.71` | `0.10.72` |
| [libc](https://github.com/rust-lang/libc ) | `0.2.171` | `0.2.172` |
| [axum](https://github.com/tokio-rs/axum ) | `0.8.1` | `0.8.3` |
| [prometheus](https://github.com/tikv/rust-prometheus ) | `0.13.4` | `0.14.0` |
| [reqwest](https://github.com/seanmonstar/reqwest ) | `0.12.14` | `0.12.15` |
Updates `tokio` from 1.44.1 to 1.44.2
- [Release notes](https://github.com/tokio-rs/tokio/releases )
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.44.1...tokio-1.44.2 )
Updates `tokio-util` from 0.7.14 to 0.7.15
- [Release notes](https://github.com/tokio-rs/tokio/releases )
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-util-0.7.14...tokio-util-0.7.15 )
Updates `rand` from 0.9.0 to 0.9.1
- [Release notes](https://github.com/rust-random/rand/releases )
- [Changelog](https://github.com/rust-random/rand/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rust-random/rand/compare/0.9.0...rand_core-0.9.1 )
Updates `blake3` from 1.6.1 to 1.8.2
- [Release notes](https://github.com/BLAKE3-team/BLAKE3/releases )
- [Commits](https://github.com/BLAKE3-team/BLAKE3/compare/1.6.1...1.8.2 )
Updates `etherparse` from 0.17.0 to 0.18.0
- [Release notes](https://github.com/JulianSchmid/etherparse/releases )
- [Changelog](https://github.com/JulianSchmid/etherparse/blob/master/changelog.md )
- [Commits](https://github.com/JulianSchmid/etherparse/compare/v0.17.0...v0.18.0 )
Updates `quinn` from 0.11.6 to 0.11.7
- [Release notes](https://github.com/quinn-rs/quinn/releases )
- [Commits](https://github.com/quinn-rs/quinn/compare/quinn-0.11.6...quinn-0.11.7 )
Updates `rustls` from 0.23.25 to 0.23.26
- [Release notes](https://github.com/rustls/rustls/releases )
- [Changelog](https://github.com/rustls/rustls/blob/main/CHANGELOG.md )
- [Commits](https://github.com/rustls/rustls/compare/v/0.23.25...v/0.23.26 )
Updates `netdev` from 0.33.0 to 0.34.0
- [Release notes](https://github.com/shellrow/netdev/releases )
- [Commits](https://github.com/shellrow/netdev/compare/v0.33.0...v0.34.0 )
Updates `openssl` from 0.10.71 to 0.10.72
- [Release notes](https://github.com/sfackler/rust-openssl/releases )
- [Commits](https://github.com/sfackler/rust-openssl/compare/openssl-v0.10.71...openssl-v0.10.72 )
Updates `libc` from 0.2.171 to 0.2.172
- [Release notes](https://github.com/rust-lang/libc/releases )
- [Changelog](https://github.com/rust-lang/libc/blob/0.2.172/CHANGELOG.md )
- [Commits](https://github.com/rust-lang/libc/compare/0.2.171...0.2.172 )
Updates `axum` from 0.8.1 to 0.8.3
- [Release notes](https://github.com/tokio-rs/axum/releases )
- [Changelog](https://github.com/tokio-rs/axum/blob/main/CHANGELOG.md )
- [Commits](https://github.com/tokio-rs/axum/commits/axum-v0.8.3 )
Updates `prometheus` from 0.13.4 to 0.14.0
- [Changelog](https://github.com/tikv/rust-prometheus/blob/master/CHANGELOG.md )
- [Commits](https://github.com/tikv/rust-prometheus/compare/v0.13.4...v0.14.0 )
Updates `reqwest` from 0.12.14 to 0.12.15
- [Release notes](https://github.com/seanmonstar/reqwest/releases )
- [Changelog](https://github.com/seanmonstar/reqwest/blob/master/CHANGELOG.md )
- [Commits](https://github.com/seanmonstar/reqwest/compare/v0.12.14...v0.12.15 )
---
updated-dependencies:
- dependency-name: tokio
dependency-version: 1.44.2
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: mycelium
- dependency-name: tokio-util
dependency-version: 0.7.15
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: mycelium
- dependency-name: rand
dependency-version: 0.9.1
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: mycelium
- dependency-name: blake3
dependency-version: 1.8.2
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: mycelium
- dependency-name: etherparse
dependency-version: 0.18.0
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: mycelium
- dependency-name: quinn
dependency-version: 0.11.7
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: mycelium
- dependency-name: rustls
dependency-version: 0.23.26
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: mycelium
- dependency-name: netdev
dependency-version: 0.34.0
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: mycelium
- dependency-name: openssl
dependency-version: 0.10.72
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: mycelium
- dependency-name: libc
dependency-version: 0.2.172
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: mycelium
- dependency-name: axum
dependency-version: 0.8.3
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: mycelium
- dependency-name: prometheus
dependency-version: 0.14.0
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: mycelium
- dependency-name: reqwest
dependency-version: 0.12.15
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: mycelium
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-04-24 15:20:41 +02:00
Lee Smet
db9c2bc946
Conditionally add std::io in msg
...
Signed-off-by: Lee Smet <lee.smet@hotmail.com >
2025-04-24 14:23:15 +02:00
Lee Smet
992b09a420
Only compile display impl if SocketError is compiled in
...
Signed-off-by: Lee Smet <lee.smet@hotmail.com >
2025-04-24 14:23:15 +02:00
Lee Smet
14c7bba935
Add more conditional compilation directives for non unix platforms
...
Signed-off-by: Lee Smet <lee.smet@hotmail.com >
2025-04-24 14:23:15 +02:00
Lee Smet
138b3d6f1d
Use div_ceil for SEQNO_REQUEST_BASE_WIRE_SIZE
...
Signed-off-by: Lee Smet <lee.smet@hotmail.com >
2025-04-24 14:23:15 +02:00
Lee Smet
26b5566895
Add docs folder to nix flake
...
Signed-off-by: Lee Smet <lee.smet@hotmail.com >
2025-04-24 14:23:15 +02:00
Lee Smet
0cfb2ed45f
Use .div_ceil instead of reimplementing manually
...
Signed-off-by: Lee Smet <lee.smet@hotmail.com >
2025-04-24 14:23:15 +02:00
Lee Smet
a17cecb7b2
Conditionally compile message forwarding
...
Signed-off-by: Lee Smet <lee.smet@hotmail.com >
2025-04-24 14:23:15 +02:00
Lee Smet
f851eeb6f0
Ignore mobile create in workspace
...
Since recent changes cause issues when building with features
Signed-off-by: Lee Smet <lee.smet@hotmail.com >
2025-04-24 14:23:15 +02:00
Lee Smet
4e923ca59b
Run cargo fmt
...
Signed-off-by: Lee Smet <lee.smet@hotmail.com >
2025-04-24 14:23:15 +02:00
Lee Smet
215f13acfd
Add rt-multi-thread feature to lib
...
This can be removed once the block_in_place calls are fixed
Signed-off-by: Lee Smet <lee.smet@hotmail.com >
2025-04-24 14:23:15 +02:00
Lee Smet
d65f2dd2af
Announce our own subnet periodically
...
Previously removed, but we now support this again. We don't advertise
selected subnets, only our own. In a topology where all nodes connect to
a common set of "public" nodes, this means route requests can be
answered by the public nodes without propagating a route lookup.
Signed-off-by: Lee Smet <lee.smet@hotmail.com >
2025-04-24 14:23:15 +02:00
Lee Smet
79bf755b37
Bump babel protocol version
...
From 2 to 3. This make sure we don't try to incorrectly decode route
requests, at the cost of not being backwards compatible. This is fine
since we are doing a bump from v0.5.x to v0.6.0 anyway.
Signed-off-by: Lee Smet <lee.smet@hotmail.com >
2025-04-24 14:23:15 +02:00
Lee Smet
847b7213d1
Update docs to reflect new message configuration
...
Signed-off-by: Lee Smet <lee.smet@hotmail.com >
2025-04-24 14:23:15 +02:00
Lee Smet
5dde1d0885
Decrease chunk send timeout
...
Signed-off-by: Lee Smet <lee.smet@hotmail.com >
2025-04-24 14:23:15 +02:00
Lee Smet
4aca36beea
Fix message systemd dropping final chunk unexpectedly
...
Signed-off-by: Lee Smet <lee.smet@hotmail.com >
2025-04-24 14:23:15 +02:00
Lee Smet
0b39b8459b
Fix push message debug line
...
Signed-off-by: Lee Smet <lee.smet@hotmail.com >
2025-04-24 14:23:15 +02:00
Lee Smet
4379f53514
Add forwarding messages to unix sockets
...
Signed-off-by: Lee Smet <lee.smet@hotmail.com >
2025-04-24 14:23:15 +02:00
Lee Smet
18865a046c
Fix API docs
...
Signed-off-by: Lee Smet <lee.smet@hotmail.com >
2025-04-24 14:23:15 +02:00
Lee Smet
296552230c
Add topic related API methods
...
Signed-off-by: Lee Smet <lee.smet@hotmail.com >
2025-04-24 14:23:15 +02:00
Lee Smet
c8cfbf4a8a
Remove unused message feature in mobile config
...
Signed-off-by: Lee Smet <lee.smet@hotmail.com >
2025-04-24 14:23:15 +02:00
Lee Smet
467645c37c
Expose topic related functions in node
...
Signed-off-by: Lee Smet <lee.smet@hotmail.com >
2025-04-24 14:23:15 +02:00
Lee Smet
6eed6dd302
Remove duplicated method
...
Signed-off-by: Lee Smet <lee.smet@hotmail.com >
2025-04-24 14:23:15 +02:00
Lee Smet
55e900134e
Expose topic forward config methods on MessageStack
...
Signed-off-by: Lee Smet <lee.smet@hotmail.com >
2025-04-24 14:23:15 +02:00
Lee Smet
6161e40d38
Update TopicConfig to contain forward paths
...
Signed-off-by: Lee Smet <lee.smet@hotmail.com >
2025-04-24 14:23:15 +02:00
Lee Smet
6627a85540
Add feature gated topic config in mobile
...
Signed-off-by: Lee Smet <lee.smet@hotmail.com >
2025-04-24 14:23:15 +02:00
Lee Smet
f84577c435
Add topic config mutators on message stack
...
Signed-off-by: Lee Smet <lee.smet@hotmail.com >
2025-04-24 14:23:15 +02:00
Lee Smet
d95112bfe2
Add methods to mutate TopicConfig
...
Signed-off-by: Lee Smet <lee.smet@hotmail.com >
2025-04-24 14:23:15 +02:00
Lee Smet
8d57a1daed
Add rwlock for topic config in message stack
...
Signed-off-by: Lee Smet <lee.smet@hotmail.com >
2025-04-24 14:23:15 +02:00
Lee Smet
77e00b01e2
Fix build if message feature is disabled
...
Signed-off-by: Lee Smet <lee.smet@hotmail.com >
2025-04-24 14:23:15 +02:00
Lee Smet
502455569e
Add openrpc api
...
Signed-off-by: Lee Smet <lee.smet@hotmail.com >
2025-04-24 14:23:15 +02:00
Lee Smet
7541b2655e
Initial openrpc API implementation
...
Signed-off-by: Lee Smet <lee.smet@hotmail.com >
2025-04-24 14:23:15 +02:00
Lee Smet
59447d8098
Allow loading topic configs from myceliumd-private
...
Signed-off-by: Lee Smet <lee.smet@hotmail.com >
2025-04-24 14:23:15 +02:00
Lee Smet
fe3c110402
Allow loading topic configs from myceliumd
...
Signed-off-by: Lee Smet <lee.smet@hotmail.com >
2025-04-24 14:23:15 +02:00
Lee Smet
03e371b20c
Add Topic deserializing
...
Signed-off-by: Lee Smet <lee.smet@hotmail.com >
2025-04-24 14:23:15 +02:00
Lee Smet
b07a496a7c
Add topic config for messages
...
Signed-off-by: Lee Smet <lee.smet@hotmail.com >
2025-04-24 14:23:15 +02:00
Lee Smet
8b3e71fad8
Add NoRoute API handler to docs.yaml
...
Signed-off-by: Lee Smet <lee.smet@hotmail.com >
2025-04-24 14:23:15 +02:00
Lee Smet
3b65b6f65d
Add cli method to get no routes in myceliumd-private
...
Signed-off-by: Lee Smet <lee.smet@hotmail.com >
2025-04-24 14:23:15 +02:00
Lee Smet
acaa03b8e0
Add cli method to get no routes in myceliumd
...
Signed-off-by: Lee Smet <lee.smet@hotmail.com >
2025-04-24 14:23:15 +02:00
Lee Smet
5bbbe6a794
Add NoRoute API handler
...
Signed-off-by: Lee Smet <lee.smet@hotmail.com >
2025-04-24 14:23:15 +02:00
Lee Smet
104850cd4f
Expose method to fetch NoRoute subnets from node
...
Signed-off-by: Lee Smet <lee.smet@hotmail.com >
2025-04-24 14:23:15 +02:00
Lee Smet
d6f8d804c0
Expose method to fetch NoRoute subnets from router
...
Signed-off-by: Lee Smet <lee.smet@hotmail.com >
2025-04-24 14:23:15 +02:00
Lee Smet
532737148e
Add NoRoute type and iterator
...
Signed-off-by: Lee Smet <lee.smet@hotmail.com >
2025-04-24 14:23:15 +02:00
Lee Smet
10163534d2
Add CLI method for queried routes in myceliumd-private
...
Signed-off-by: Lee Smet <lee.smet@hotmail.com >
2025-04-24 14:23:15 +02:00
Lee Smet
aaed9495a1
Add CLI method for queried routes in myceliumd
...
Signed-off-by: Lee Smet <lee.smet@hotmail.com >
2025-04-24 14:23:15 +02:00
Lee Smet
95a9da6ebd
Add CLI functionality to check queried routes
...
Signed-off-by: Lee Smet <lee.smet@hotmail.com >
2025-04-24 14:23:15 +02:00
Lee Smet
15472959bd
Fix fallback route handler operation id in api.yaml
...
Signed-off-by: Lee Smet <lee.smet@hotmail.com >
2025-04-24 14:23:15 +02:00
Lee Smet
dd434aea75
Add queried subnets API endpoint to api.yaml
...
Signed-off-by: Lee Smet <lee.smet@hotmail.com >
2025-04-24 14:23:15 +02:00
Lee Smet
4b44c74371
Format API docs
...
Signed-off-by: Lee Smet <lee.smet@hotmail.com >
2025-04-24 14:23:15 +02:00