Unverified Commit 7a5a0bd6 authored by Graham King's avatar Graham King Committed by GitHub
Browse files

chore: Upgrade Rust to 1.90 (#3147)


Signed-off-by: default avatarGraham King <grahamk@nvidia.com>
parent 406c4d4e
......@@ -11,7 +11,7 @@ resolver = "3"
[workspace.package]
version = "0.5.0"
edition = "2021"
edition = "2024"
authors = ["NVIDIA"]
license = "Apache-2.0"
homepage = "https://github.com/ai-dynamo/dynamo"
......
......@@ -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;
......
......@@ -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;
......
[toolchain]
channel = "1.89.0"
channel = "1.90.0"
......@@ -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<()> {
......
// 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;
......
......@@ -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<()> {
......
// 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<()> {
......
......@@ -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;
......
......@@ -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<()> {
......
[toolchain]
channel = "1.89.0"
channel = "1.90.0"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment