Skip to content

Commit aac572c

Browse files
committed
Bump version to 0.7.0
Also updated up-spec to v1.6.0-alpha.6.
1 parent 04cfa4f commit aac572c

File tree

7 files changed

+32
-33
lines changed

7 files changed

+32
-33
lines changed

Cargo.lock

Lines changed: 9 additions & 9 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ name = "up-rust"
3030
readme = "README.md"
3131
repository = "https://github.com/eclipse-uprotocol/up-rust"
3232
rust-version = "1.82"
33-
version = "0.6.0"
33+
version = "0.7.0"
3434

3535
[features]
3636
default = ["communication"]
@@ -60,7 +60,7 @@ protobuf-codegen = { version = "3.7.2" }
6060
protoc-bin-vendored = { version = "3.1" }
6161

6262
[dev-dependencies]
63-
clap = { version = "4.5.40" }
63+
clap = { version = "4.5.42" }
6464
cucumber = { version = "0.21.1", features = ["output-junit"] }
6565
hex = { version = "0.4.3" }
6666
mockall = { version = "0.13.1" }

README.md

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
# Eclipse uProtocol Rust library
22

3-
This is the [uProtocol v1.6.0-alpha.5 Language Library](https://github.com/eclipse-uprotocol/uprotocol-spec/blob/v1.6.0-alpha.5/languages.adoc) for the Rust programming language.
3+
This is the [uProtocol v1.6.0-alpha.6 Language Library](https://github.com/eclipse-uprotocol/uprotocol-spec/blob/v1.6.0-alpha.6/languages.adoc) for the Rust programming language.
44

55
The crate can be used to
66

7-
* implement uEntities that communicate with each other using the uProtocol [Communication Layer API](https://github.com/eclipse-uprotocol/up-spec/blob/v1.6.0-alpha.5/up-l2/api.adoc) over one of the supported transport protocols.
8-
* implement support for an additional transport protocol by means of implementing the [Transport Layer API](https://github.com/eclipse-uprotocol/up-spec/blob/v1.6.0-alpha.5/up-l1/README.adoc).
7+
* implement uEntities that communicate with each other using the uProtocol [Communication Layer API](https://github.com/eclipse-uprotocol/up-spec/blob/v1.6.0-alpha.6/up-l2/api.adoc) over one of the supported transport protocols.
8+
* implement support for an additional transport protocol by means of implementing the [Transport Layer API](https://github.com/eclipse-uprotocol/up-spec/blob/v1.6.0-alpha.6/up-l1/README.adoc).
99

1010
## Using the Crate
1111
<!--
@@ -17,11 +17,10 @@ The crate needs to be added to the `[dependencies]` section of the `Cargo.toml`
1717

1818
```toml
1919
[dependencies]
20-
up-rust = { version = "0.6" }
20+
up-rust = { version = "0.7" }
2121
```
2222

23-
Most developers will want to use the Communication Level API and its default implementation
24-
which are provided by the `communication` module.
23+
Most developers will want to use the Communication Level API and its default implementation which are provided by the `communication` module. Please refer to the [examples](./examples/) for inspiration how to use this crate.
2524

2625
## Building from Source
2726
<!--

src/core/udiscovery.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ pub fn udiscovery_uri(resource_id: u16) -> UUri {
5252

5353
/// The uProtocol Application Layer client interface to the uDiscovery service.
5454
///
55-
/// Please refer to the [uDiscovery service specification](https://github.com/eclipse-uprotocol/up-spec/blob/v1.6.0-alpha.5/up-l3/udiscovery/v3/client.adoc)
55+
/// Please refer to the [uDiscovery service specification](https://github.com/eclipse-uprotocol/up-spec/blob/v1.6.0-alpha.6/up-l3/udiscovery/v3/client.adoc)
5656
/// for details.
5757
#[cfg_attr(test, automock)]
5858
#[async_trait]

src/lib.rs

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,14 @@
1212
********************************************************************************/
1313

1414
/*!
15-
up-rust is the [Eclipse uProtocol&trade; Language Library](https://github.com/eclipse-uprotocol/up-spec/blob/v1.6.0-alpha.5/languages.adoc) for the
15+
up-rust is the [Eclipse uProtocol&trade; Language Library](https://github.com/eclipse-uprotocol/up-spec/blob/v1.6.0-alpha.6/languages.adoc) for the
1616
Rust programming language.
1717
1818
This crate can be used to
1919
20-
* implement uEntities that communicate with each other using the uProtocol [Communication Layer API](https://github.com/eclipse-uprotocol/up-spec/blob/v1.6.0-alpha.5/up-l2/api.adoc)
20+
* implement uEntities that communicate with each other using the uProtocol [Communication Layer API](https://github.com/eclipse-uprotocol/up-spec/blob/v1.6.0-alpha.6/up-l2/api.adoc)
2121
over one of the supported transport protocols.
22-
* implement support for an additional transport protocol by means of implementing the [Transport Layer API](https://github.com/eclipse-uprotocol/up-spec/blob/v1.6.0-alpha.5/up-l1/README.adoc).
22+
* implement support for an additional transport protocol by means of implementing the [Transport Layer API](https://github.com/eclipse-uprotocol/up-spec/blob/v1.6.0-alpha.6/up-l1/README.adoc).
2323
2424
## Library contents
2525
@@ -38,23 +38,23 @@ For user convenience, all of these modules export their types on up_rust top-lev
3838
## Features
3939
4040
* `cloudevents` enables support for mapping UMessages to/from CloudEvents using Protobuf Format according to the
41-
[uProtocol specification](https://github.com/eclipse-uprotocol/up-spec/blob/v1.6.0-alpha.5/up-l1/cloudevents.adoc).
41+
[uProtocol specification](https://github.com/eclipse-uprotocol/up-spec/blob/v1.6.0-alpha.6/up-l1/cloudevents.adoc).
4242
43-
* `communication` enables support for the [Communication Layer API](https://github.com/eclipse-uprotocol/up-spec/blob/v1.6.0-alpha.5/up-l2/api.adoc) and its
44-
default implementation on top of the [Transport Layer API](https://github.com/eclipse-uprotocol/up-spec/blob/v1.6.0-alpha.5/up-l1/README.adoc).
43+
* `communication` enables support for the [Communication Layer API](https://github.com/eclipse-uprotocol/up-spec/blob/v1.6.0-alpha.6/up-l2/api.adoc) and its
44+
default implementation on top of the [Transport Layer API](https://github.com/eclipse-uprotocol/up-spec/blob/v1.6.0-alpha.6/up-l1/README.adoc).
4545
Enabled by default.
46-
* `udiscovery` enables support for types required to interact with [uDiscovery service](https://github.com/eclipse-uprotocol/up-spec/blob/v1.6.0-alpha.5/up-l3/udiscovery/v3/README.adoc)
46+
* `udiscovery` enables support for types required to interact with [uDiscovery service](https://github.com/eclipse-uprotocol/up-spec/blob/v1.6.0-alpha.6/up-l3/udiscovery/v3/README.adoc)
4747
implementations.
48-
* `usubscription` enables support for types required to interact with [uSubscription service](https://github.com/eclipse-uprotocol/up-spec/blob/v1.6.0-alpha.5/up-l3/usubscription/v3/README.adoc)
48+
* `usubscription` enables support for types required to interact with [uSubscription service](https://github.com/eclipse-uprotocol/up-spec/blob/v1.6.0-alpha.6/up-l3/usubscription/v3/README.adoc)
4949
implementations. Enabled by default.
50-
* `utwin` enables support for types required to interact with [uTwin service](https://github.com/eclipse-uprotocol/up-spec/blob/v1.6.0-alpha.5/up-l3/utwin/v2/README.adoc)
50+
* `utwin` enables support for types required to interact with [uTwin service](https://github.com/eclipse-uprotocol/up-spec/blob/v1.6.0-alpha.6/up-l3/utwin/v2/README.adoc)
5151
implementations.
5252
* `test-util` provides some useful mock implementations for testing. In particular, provides mock implementations of UTransport and Communication Layer API traits which make implementing unit tests a lot easier.
5353
* `util` provides some useful helper structs. In particular, provides a local, in-memory UTransport for exchanging messages within a single process. This transport is also used by the examples illustrating usage of the Communication Layer API.
5454
5555
## References
5656
57-
* [uProtocol Specification](https://github.com/eclipse-uprotocol/up-spec/tree/v1.6.0-alpha.5)
57+
* [uProtocol Specification](https://github.com/eclipse-uprotocol/up-spec/tree/v1.6.0-alpha.6)
5858
5959
*/
6060

src/utransport.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ impl TryFrom<&UUri> for StaticUriProvider {
185185
///
186186
/// Implementations contain the details for what should occur when a message is received.
187187
///
188-
/// Please refer to the [uProtocol Transport Layer specification](https://github.com/eclipse-uprotocol/up-spec/blob/v1.6.0-alpha.5/up-l1/README.adoc)
188+
/// Please refer to the [uProtocol Transport Layer specification](https://github.com/eclipse-uprotocol/up-spec/blob/v1.6.0-alpha.6/up-l1/README.adoc)
189189
/// for details.
190190
// [impl->dsn~ulistener-declaration~1]
191191
#[cfg_attr(any(test, feature = "test-util"), mockall::automock)]
@@ -211,7 +211,7 @@ pub trait UListener: Send + Sync {
211211
/// Implementations contain the details for connecting to the underlying transport technology and
212212
/// sending [`UMessage`]s using the configured technology.
213213
///
214-
/// Please refer to the [uProtocol Transport Layer specification](https://github.com/eclipse-uprotocol/up-spec/blob/v1.6.0-alpha.5/up-l1/README.adoc)
214+
/// Please refer to the [uProtocol Transport Layer specification](https://github.com/eclipse-uprotocol/up-spec/blob/v1.6.0-alpha.6/up-l1/README.adoc)
215215
/// for details.
216216
// [impl->dsn~utransport-declaration~1]
217217
#[async_trait]
@@ -221,7 +221,7 @@ pub trait UTransport: Send + Sync {
221221
/// # Arguments
222222
///
223223
/// * `message` - The message to send. The `type`, `source` and `sink` properties of the
224-
/// [UAttributes](https://github.com/eclipse-uprotocol/up-spec/blob/v1.6.0-alpha.5/basics/uattributes.adoc) contained
224+
/// [UAttributes](https://github.com/eclipse-uprotocol/up-spec/blob/v1.6.0-alpha.6/basics/uattributes.adoc) contained
225225
/// in the message determine the addressing semantics.
226226
///
227227
/// # Errors
@@ -256,7 +256,7 @@ pub trait UTransport: Send + Sync {
256256
/// Registers a listener to be called for messages.
257257
///
258258
/// The listener will be invoked for each message that matches the given source and sink filter patterns
259-
/// according to the rules defined by the [UUri specification](https://github.com/eclipse-uprotocol/up-spec/blob/v1.6.0-alpha.5/basics/uri.adoc).
259+
/// according to the rules defined by the [UUri specification](https://github.com/eclipse-uprotocol/up-spec/blob/v1.6.0-alpha.6/basics/uri.adoc).
260260
///
261261
/// This default implementation returns an error with [`UCode::UNIMPLEMENTED`].
262262
///

0 commit comments

Comments
 (0)