ump-ng-server

Check-in Differences
Login

Check-in Differences

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Difference From ump-ng-server-0.1.0 To ump-ng-server-0.1.1

2024-01-21
18:31
Add preinit variants of both thread and task spawners. check-in: e3a0f27d4a user: jan tags: trunk
2024-01-14
15:40
Add doc building workaround. check-in: d1cc34cf7f user: jan tags: trunk, ump-ng-server-0.1.1
15:39
Release maintenance. check-in: dc8322fb06 user: jan tags: trunk
15:31
Re-export ump-ng. check-in: 23be997518 user: jan tags: trunk
2023-10-03
07:33
Moved from old repo. check-in: 17a40cac3b user: jan tags: trunk, ump-ng-server-0.1.0
2023-10-02
13:52
initial empty check-in check-in: 0df6cd28bb user: jan tags: trunk

Changes to Cargo.toml.

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
[package]
name = "ump-ng-server"
version = "0.1.0"
edition = "2021"
license = "0BSD"
categories = [ "concurrency", "asynchronous" ]
keywords = [ "channel", "threads", "sync", "message-passing" ]
repository = "https://repos.qrnch.tech/pub/ump-ng-server"
description = "Server message dispatch loop for ump-ng."
rust-version = "1.56"
exclude = [
  ".fossil-settings",
  ".efiles",
  ".fslckout",
  "www",
  "rustfmt.toml"
]

[features]
default = ["tokio"]
tokio = ["dep:tokio", "dep:async-trait"]

[dependencies]
async-trait = { version = "0.1.73", optional = true }


tokio = { version = "1.32.0", features = ["rt"], optional = true }
ump-ng = { version = "0.1.0" }

[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs", "--generate-link-to-definition"]



|




















|
>
>
|






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
[package]
name = "ump-ng-server"
version = "0.1.1"
edition = "2021"
license = "0BSD"
categories = [ "concurrency", "asynchronous" ]
keywords = [ "channel", "threads", "sync", "message-passing" ]
repository = "https://repos.qrnch.tech/pub/ump-ng-server"
description = "Server message dispatch loop for ump-ng."
rust-version = "1.56"
exclude = [
  ".fossil-settings",
  ".efiles",
  ".fslckout",
  "www",
  "rustfmt.toml"
]

[features]
default = ["tokio"]
tokio = ["dep:tokio", "dep:async-trait"]

[dependencies]
async-trait = { version = "0.1.77", optional = true }
# "net" is added as a temporary workaround.  Without it building the docs fail
# in tokio.
tokio = { version = "1.35.1", features = ["net", "rt"], optional = true }
ump-ng = { version = "0.1.0" }

[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs", "--generate-link-to-definition"]

Changes to src/lib.rs.

38
39
40
41
42
43
44
45
46
47
48
49
50
51
52

#[cfg(feature = "tokio")]
#[cfg_attr(docsrs, doc(cfg(feature = "tokio")))]
pub mod task;

pub mod thread;

pub use ump_ng::{channel, Client, MsgType, ReplyContext, WeakClient};

pub use thread::{spawn as spawn_thread, Handler as ThreadedHandler};

#[cfg(feature = "tokio")]
#[cfg_attr(docsrs, doc(cfg(feature = "tokio")))]
pub use task::{spawn as spawn_task, Handler as AsyncHandler};








|







38
39
40
41
42
43
44
45
46
47
48
49
50
51
52

#[cfg(feature = "tokio")]
#[cfg_attr(docsrs, doc(cfg(feature = "tokio")))]
pub mod task;

pub mod thread;

pub use ump_ng::{self, channel, Client, MsgType, ReplyContext, WeakClient};

pub use thread::{spawn as spawn_thread, Handler as ThreadedHandler};

#[cfg(feature = "tokio")]
#[cfg_attr(docsrs, doc(cfg(feature = "tokio")))]
pub use task::{spawn as spawn_task, Handler as AsyncHandler};

Changes to www/changelog.md.

1
2
3
4


5
6
7
8
9
10










11
12
13
14
15
16
# Change Log

## [Unreleased]



### Added

### Changed

### Removed











---

## [0.1.0] - 2023-10-03

Initial release.





>
>






>
>
>
>
>
>
>
>
>
>






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
# Change Log

## [Unreleased]

[Details](/vdiff?from=ump-ng-server-0.1.1&to=trunk)

### Added

### Changed

### Removed

---

## [0.1.1] - 2024-01-14

[Details](/vdiff?from=ump-ng-server-0.1.0&to=ump-ng-server-0.1.1)

### Changed

- Re-export `ump-ng`.

---

## [0.1.0] - 2023-10-03

Initial release.