Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Difference From lstngrp-0.0.4 To lstngrp-0.0.5
2024-10-02
| ||
18:36 | Release maintenance. Leaf check-in: 641db927fd user: jan tags: lstngrp-0.0.5, trunk | |
18:32 | Fixed renamed type name. check-in: d2e1fea4d3 user: jan tags: trunk | |
15:49 | Update change log. check-in: 77a8709ec0 user: jan tags: trunk | |
2024-09-20
| ||
13:04 | Fix docs. check-in: 328cbfb7c7 user: jan tags: lstngrp-0.0.4, trunk | |
12:56 | Update idbag to 0.2.0. check-in: 45e048243f user: jan tags: trunk | |
Changes to Cargo.toml.
1 2 | 1 2 3 4 5 6 7 8 9 10 | - + | [package] name = "lstngrp" |
︙ | |||
20 21 22 23 24 25 26 | 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 | - - + + | ] # https://doc.rust-lang.org/cargo/reference/manifest.html#the-badges-section [badges] maintenance = { status = "experimental" } [dependencies] |
︙ |
Changes to README.md.
1 2 | 1 2 3 4 5 | - + | # lstngrp |
Changes to examples/per_listener_ctx.rs.
︙ | |||
13 14 15 16 17 18 19 | 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 | - + | use std::{str::FromStr, sync::Arc}; use parking_lot::Mutex; use hashbrown::HashMap; use lstngrp::{ |
︙ | |||
89 90 91 92 93 94 95 | 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 | - + | } } } struct MyConnHandler { listen_id: i64, |
︙ |
Changes to examples/simple.rs.
1 2 3 | 1 2 3 4 5 6 7 8 9 10 11 | - + | use std::str::FromStr; use lstngrp::{ |
︙ | |||
50 51 52 53 54 55 56 | 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 | - + | } } } struct MyConnHandler { listen_id: i64, |
︙ |
Changes to src/lib.rs.
︙ | |||
55 56 57 58 59 60 61 | 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 | - - + + + - + | use hashbrown::HashMap; pub use protwrap::tokio::server::{ listener::{async_trait, Listener, SockAddr}, Stream }; |
︙ | |||
220 221 222 223 224 225 226 | 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 | - + - + - + | LI: Hash + Eq { /// Keep track of all listeners, identified by `LI` and all their active /// connections, identified by an `ArcId`, with their connection context, /// identified by `CC`. lmap: Arc<Mutex<HashMap<LI, ListenData>>>, |
︙ | |||
344 345 346 347 348 349 350 | 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 | - + | } } /// Terminate a connection given a connection identifier. /// /// This function will not return until the background connection task has /// terminated. |
︙ | |||
445 446 447 448 449 450 451 | 446 447 448 449 450 451 452 453 454 455 456 457 458 459 | - + | pub conns: Vec<CInfo<CC>> } /// Information returned about a connection when a listen group's current state /// is inspected. pub struct CInfo<CC> { /// The client connection's internal identifier. |
Changes to www/changelog.md.
1 2 3 4 5 6 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 | + + + + + + + + + + + + - + + + + + + + + + + + + | # Change Log ⚠️ indicates a breaking change. ## [Unreleased] [Details](/vdiff?from=lstngrp-0.0.5&to=trunk) ### Added ### Changed ### Removed --- ## [0.0.5] - 2024-10-02 |
︙ |
Changes to www/index.md.
1 2 | 1 2 3 4 5 6 7 8 9 10 | - + | # lstngrp |
︙ |