Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
OpenDAS
dynamo
Commits
7a5a0bd6
Unverified
Commit
7a5a0bd6
authored
Sep 19, 2025
by
Graham King
Committed by
GitHub
Sep 19, 2025
Browse files
chore: Upgrade Rust to 1.90 (#3147)
Signed-off-by:
Graham King
<
grahamk@nvidia.com
>
parent
406c4d4e
Changes
31
Hide whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
26 additions
and
25 deletions
+26
-25
lib/runtime/examples/Cargo.toml
lib/runtime/examples/Cargo.toml
+1
-1
lib/runtime/examples/hello_world/src/bin/client.rs
lib/runtime/examples/hello_world/src/bin/client.rs
+2
-2
lib/runtime/examples/hello_world/src/bin/server.rs
lib/runtime/examples/hello_world/src/bin/server.rs
+4
-4
lib/runtime/examples/rust-toolchain.toml
lib/runtime/examples/rust-toolchain.toml
+1
-1
lib/runtime/examples/service_metrics/src/bin/service_client.rs
...untime/examples/service_metrics/src/bin/service_client.rs
+2
-2
lib/runtime/examples/service_metrics/src/bin/service_server.rs
...untime/examples/service_metrics/src/bin/service_server.rs
+5
-5
lib/runtime/examples/system_metrics/src/bin/system_client.rs
lib/runtime/examples/system_metrics/src/bin/system_client.rs
+2
-2
lib/runtime/examples/system_metrics/src/bin/system_server.rs
lib/runtime/examples/system_metrics/src/bin/system_server.rs
+1
-1
lib/runtime/examples/system_metrics/src/lib.rs
lib/runtime/examples/system_metrics/src/lib.rs
+4
-3
lib/runtime/examples/system_metrics/tests/integration_test.rs
...runtime/examples/system_metrics/tests/integration_test.rs
+3
-3
rust-toolchain.toml
rust-toolchain.toml
+1
-1
No files found.
lib/runtime/examples/Cargo.toml
View file @
7a5a0bd6
...
...
@@ -11,7 +11,7 @@ resolver = "3"
[workspace.package]
version
=
"0.5.0"
edition
=
"202
1
"
edition
=
"202
4
"
authors
=
["NVIDIA"]
license
=
"Apache-2.0"
homepage
=
"https://github.com/ai-dynamo/dynamo"
...
...
lib/runtime/examples/hello_world/src/bin/client.rs
View file @
7a5a0bd6
...
...
@@ -2,8 +2,8 @@
// SPDX-License-Identifier: Apache-2.0
use
dynamo_runtime
::{
logging
,
pipeline
::
PushRouter
,
protocols
::
annotated
::
Annotated
,
stream
::
StreamExt
,
DistributedRuntime
,
Result
,
Runtime
,
Worker
,
DistributedRuntime
,
Result
,
Runtime
,
Worker
,
logging
,
pipeline
::
PushRouter
,
protocols
::
annotated
::
Annotated
,
stream
::
StreamExt
,
};
use
hello_world
::
DEFAULT_NAMESPACE
;
...
...
lib/runtime/examples/hello_world/src/bin/server.rs
View file @
7a5a0bd6
...
...
@@ -2,13 +2,13 @@
// SPDX-License-Identifier: Apache-2.0
use
dynamo_runtime
::{
logging
,
DistributedRuntime
,
Result
,
Runtime
,
Worker
,
logging
,
pipeline
::{
async_trait
,
network
::
Ingress
,
AsyncEngine
,
AsyncEngineContextProvider
,
Error
,
ManyOut
,
ResponseStream
,
SingleIn
,
AsyncEngine
,
AsyncEngineContextProvider
,
Error
,
ManyOut
,
ResponseStream
,
SingleIn
,
async_trait
,
network
::
Ingress
,
},
protocols
::
annotated
::
Annotated
,
stream
,
DistributedRuntime
,
Result
,
Runtime
,
Worker
,
stream
,
};
use
hello_world
::
DEFAULT_NAMESPACE
;
use
std
::
sync
::
Arc
;
...
...
lib/runtime/examples/rust-toolchain.toml
View file @
7a5a0bd6
[toolchain]
channel
=
"1.
8
9.0"
channel
=
"1.9
0
.0"
lib/runtime/examples/service_metrics/src/bin/service_client.rs
View file @
7a5a0bd6
...
...
@@ -5,8 +5,8 @@ use futures::StreamExt;
use
service_metrics
::
DEFAULT_NAMESPACE
;
use
dynamo_runtime
::{
logging
,
pipeline
::
PushRouter
,
protocols
::
annotated
::
Annotated
,
utils
::
Duration
,
DistributedRuntime
,
Result
,
Runtime
,
Worker
,
DistributedRuntime
,
Result
,
Runtime
,
Worker
,
logging
,
pipeline
::
PushRouter
,
protocols
::
annotated
::
Annotated
,
utils
::
Duration
,
};
fn
main
()
->
Result
<
()
>
{
...
...
lib/runtime/examples/service_metrics/src/bin/service_server.rs
View file @
7a5a0bd6
// SPDX-FileCopyrightText: Copyright (c) 2024-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
// SPDX-License-Identifier: Apache-2.0
use
service_metrics
::{
MyStats
,
DEFAULT_NAMESPACE
};
use
service_metrics
::{
DEFAULT_NAMESPACE
,
MyStats
};
use
dynamo_runtime
::{
logging
,
DistributedRuntime
,
Result
,
Runtime
,
Worker
,
logging
,
pipeline
::{
async_trait
,
network
::
Ingress
,
AsyncEngine
,
AsyncEngineContextProvider
,
Error
,
ManyOut
,
ResponseStream
,
SingleIn
,
AsyncEngine
,
AsyncEngineContextProvider
,
Error
,
ManyOut
,
ResponseStream
,
SingleIn
,
async_trait
,
network
::
Ingress
,
},
protocols
::
annotated
::
Annotated
,
stream
,
DistributedRuntime
,
Result
,
Runtime
,
Worker
,
stream
,
};
use
std
::
sync
::
Arc
;
...
...
lib/runtime/examples/system_metrics/src/bin/system_client.rs
View file @
7a5a0bd6
...
...
@@ -5,8 +5,8 @@ use futures::StreamExt;
use
system_metrics
::{
DEFAULT_COMPONENT
,
DEFAULT_ENDPOINT
,
DEFAULT_NAMESPACE
};
use
dynamo_runtime
::{
logging
,
pipeline
::
PushRouter
,
protocols
::
annotated
::
Annotated
,
utils
::
Duration
,
DistributedRuntime
,
Result
,
Runtime
,
Worker
,
DistributedRuntime
,
Result
,
Runtime
,
Worker
,
logging
,
pipeline
::
PushRouter
,
protocols
::
annotated
::
Annotated
,
utils
::
Duration
,
};
fn
main
()
->
Result
<
()
>
{
...
...
lib/runtime/examples/system_metrics/src/bin/system_server.rs
View file @
7a5a0bd6
// SPDX-FileCopyrightText: Copyright (c) 2024-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
// SPDX-License-Identifier: Apache-2.0
use
dynamo_runtime
::{
logging
,
DistributedRuntime
,
Result
,
Runtime
,
Worker
};
use
dynamo_runtime
::{
DistributedRuntime
,
Result
,
Runtime
,
Worker
,
logging
};
use
system_metrics
::
backend
;
fn
main
()
->
Result
<
()
>
{
...
...
lib/runtime/examples/system_metrics/src/lib.rs
View file @
7a5a0bd6
...
...
@@ -2,13 +2,14 @@
// SPDX-License-Identifier: Apache-2.0
use
dynamo_runtime
::{
DistributedRuntime
,
Result
,
metrics
::
MetricsRegistry
,
pipeline
::{
async_trait
,
network
::
Ingress
,
AsyncEngine
,
AsyncEngineContextProvider
,
Error
,
ManyOut
,
ResponseStream
,
SingleIn
,
AsyncEngine
,
AsyncEngineContextProvider
,
Error
,
ManyOut
,
ResponseStream
,
SingleIn
,
async_trait
,
network
::
Ingress
,
},
protocols
::
annotated
::
Annotated
,
stream
,
DistributedRuntime
,
Result
,
stream
,
};
use
prometheus
::
IntCounter
;
use
std
::
sync
::
Arc
;
...
...
lib/runtime/examples/system_metrics/tests/integration_test.rs
View file @
7a5a0bd6
...
...
@@ -4,14 +4,14 @@
#![cfg(feature
=
"integration"
)]
use
dynamo_runtime
::{
pipeline
::
PushRouter
,
protocols
::
annotated
::
Annotated
,
DistributedRuntime
,
Result
,
Runtime
,
DistributedRuntime
,
Result
,
Runtime
,
pipeline
::
PushRouter
,
protocols
::
annotated
::
Annotated
,
};
use
futures
::
StreamExt
;
use
rand
::
Rng
;
use
reqwest
;
use
std
::
env
;
use
system_metrics
::{
backend
,
DEFAULT_COMPONENT
,
DEFAULT_ENDPOINT
,
DEFAULT_NAMESPACE
};
use
tokio
::
time
::{
sleep
,
Duration
};
use
system_metrics
::{
DEFAULT_COMPONENT
,
DEFAULT_ENDPOINT
,
DEFAULT_NAMESPACE
,
backend
};
use
tokio
::
time
::{
Duration
,
sleep
};
#[tokio::test]
async
fn
test_backend_with_metrics
()
->
Result
<
()
>
{
...
...
rust-toolchain.toml
View file @
7a5a0bd6
[toolchain]
channel
=
"1.
8
9.0"
channel
=
"1.9
0
.0"
Prev
1
2
Next
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment