111 Commits

Author SHA1 Message Date
8f8948b89d Add github sync for i2p-rs
Some checks failed
Sync Primary Repository to GitHub Mirror / sync (push) Has been cancelled
2025-05-10 18:54:40 -04:00
idk
0e8d8a2959 Merge pull request #22 from snex/master 2024-04-03 11:32:12 -04:00
87b140e3b4 remove erroneous linebreak in SAM client 2024-04-01 14:30:58 -07:00
idk
fbde12b629 Merge pull request #20 from a-0-dev/master
Allow passing SAM options on I2PListener
2023-11-23 09:08:45 -05:00
286b06d2c4 Revert change: SAMOptions are passed by value again (as opposed to call by reference, introduced in last commit) 2023-11-21 16:01:13 +01:00
1d4ce43a70 Improved creation of I2pListeners
- Added `I2pListenerBuilder`, which covers the functionality of `I2pListener::bind()`, `I2pListener::bind_with_session(...)`, `I2pListener::bind_via(...)` and `I2pListener::bind_addr(...)`.
- Added parameter `options: &SAMOptions` to functions creating/instanciating streams or listeners, except the "light versions" `I2pStream::connect()` and `I2pDatagramSocket::bind(addr)`
2023-11-21 15:44:04 +01:00
idk
771f7d0918 bump version i2p-rs-1.1 2022-05-20 15:28:15 -04:00
idk
c1bcad33b8 Merge pull request #14 from bonedaddy/serde
Derive Serde Serialize And Deserialize For SAM Options
2022-04-27 15:13:16 -04:00
idk
9218edde07 Merge pull request #16 from bonedaddy/session-watcher
Enable Handling SAM Session Errors
2022-04-27 15:12:48 -04:00
idk
594f82861f Merge pull request #13 from bonedaddy/timeouts
enable setting read/write timeouts
2022-04-27 15:10:02 -04:00
21a627af73 add basic session watcher 2022-04-13 19:21:48 -07:00
675cc7d9d4 fix double import 2022-04-11 00:21:22 -07:00
f4eae49326 derive serde Serialize and Deserialize for sam options 2022-04-11 00:13:29 -07:00
idk
0f3229809c Merge pull request #10 from bonedaddy/feat/sam-options
I2CP Options And Signature Control
2022-04-08 14:28:37 +00:00
4ed87d4364 enable setting read/write timeouts 2022-04-06 23:47:29 -07:00
4c468456ef add some comments to the example 2022-04-06 22:14:38 -07:00
9050880415 run rustfmt 2022-04-06 19:31:39 -07:00
c88d64b542 call shutdown on connections 2022-04-06 19:30:59 -07:00
fa25e92839 add basic echo server example with tokio, and crossbeam to...
showcase usage of popular rust concurrency and thread synchronization primitives with an i2p application
2022-04-06 19:26:07 -07:00
9c1638ae58 fix options comments, and add debug/clone traits where applicable 2022-04-06 19:22:38 -07:00
962437fde3 Merge branch 'feat/sam-options' into main-testing 2022-04-06 00:22:49 -07:00
b7545178cc add sam options deduplication 2022-04-06 00:20:15 -07:00
f237600542 add whitespace at the end of options string 2022-04-06 00:20:15 -07:00
a58a6dc3e6 add sam options, and destination generation signature control 2022-04-06 00:20:15 -07:00
idk
6e89b7205e Merge pull request #9 from bonedaddy/feat/public-fields
Enable External Access To Underlying TCPStream(Tokio requirement)
2022-03-31 10:50:24 -04:00
idk
5f57d23847 Merge pull request #11 from bonedaddy/fix/b32
Add I2P Specific Base32 Encoding
2022-03-31 10:47:28 -04:00
6b3c1e17d1 Merge branch 'fix/b32' into main-testing 2022-03-31 00:32:17 -07:00
c367f94fd4 add i2p specific base32 encoding 2022-03-31 00:31:05 -07:00
1d67e9898d fix optiosn deduping 2022-03-31 00:13:33 -07:00
0f856e4693 deduplicate parameters when stringifying options 2022-03-31 00:11:14 -07:00
86f9e39a99 Merge branch 'feat/sam-options' into main-testing 2022-03-31 00:06:03 -07:00
b0580f4453 add whitespace at the end of options string 2022-03-31 00:05:48 -07:00
3e088be97f Merge branch 'feat/public-fields' into main 2022-03-30 20:58:12 -07:00
40d016469d Merge branch 'feat/sam-options' into main 2022-03-30 20:58:02 -07:00
8fa702c5aa add sam options, and destination generation signature control 2022-03-30 02:01:21 -07:00
ae6fdf68e3 sam: enable external access to the underlying tcp stream 2022-03-29 23:16:15 -07:00
idk
f0dd4e5b92 Merge pull request #6 from bonedaddy/master
Combined #1 And #4 PRs
2022-03-24 16:15:10 -04:00
526c3882ae format code 2022-03-19 23:23:19 -07:00
8dccbe45c1 remove use of deprecated nom functions 2022-03-19 23:21:21 -07:00
0a885d753e set default leaseSetEncType to 4,0 2022-03-19 22:25:16 -07:00
85ab04992a sest default signature type 2022-03-19 22:15:56 -07:00
0b17a147b6 fix examples 2022-03-19 21:36:22 -07:00
1dd099d5cb restructure examples folder 2022-03-19 21:21:32 -07:00
bd86da9973 make modules public 2022-03-19 20:23:19 -07:00
e952420fd1 Convenience SAM types export 2022-03-19 20:20:57 -07:00
aa6122564f Enable nonblockcing streams 2022-03-19 20:20:57 -07:00
223a1675bd Bump version to reflect new functionalities 2022-03-19 20:20:57 -07:00
8c71438340 Auto-derive common traits and serde support
Removes some boilerplate that auto-derivation provides and add
serde on address structures for convenience.
2022-03-19 20:20:57 -07:00
e92f36e54d Add SAM facility to get a new destination 2022-03-19 20:20:57 -07:00
1605fa03e1 Fix API docs 2022-03-19 20:20:57 -07:00