Skip to content

Commit e664717

Browse files
authored
Merge branch 'main' into renovate/rusqlite-0.x
2 parents ec606b6 + 0eb7ca8 commit e664717

28 files changed

+468
-675
lines changed

Cargo.lock

+228-120
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

+3-1
Original file line numberDiff line numberDiff line change
@@ -78,11 +78,13 @@ rayon = "1.10.0"
7878
rand = { version = "0.8.5", features = ["min_const_gen", "small_rng"] }
7979
rand_chacha = "0.3.1"
8080
reedline = "0.38.0"
81+
rangemap = "1.5.1"
8182
reqwest = { version = "0.12", features = ["default", "blocking", "json", "stream"] }
8283
ringbuffer = "0.15.0"
8384
rusqlite = { version = "0.34" }
8485
rustls-pemfile = { version = "1.0.4" }
8586
schemars = { version = "0.8", features = [ "chrono", "uuid1" ] }
87+
semver = "1"
8688
serde = { version = "1", features = [ "derive" ] }
8789
serde_json = "1"
8890
sha2 = "0.10"
@@ -114,7 +116,7 @@ usdt = "0.5.0"
114116
uuid = { version = "1", features = [ "serde", "v4" ] }
115117

116118
# git
117-
dropshot = { version = "0.12.0", features = [ "usdt-probes" ] }
119+
dropshot = { version = "0.16.0", features = [ "usdt-probes" ] }
118120
omicron-common = { git = "https://github.com/oxidecomputer/omicron", branch = "main" }
119121
nexus-client = { git = "https://github.com/oxidecomputer/omicron", branch = "main" }
120122
internal-dns = { git = "https://github.com/oxidecomputer/omicron", branch = "main" }

agent/Cargo.toml

+1
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ http.workspace = true
1616
hyper.workspace = true
1717
omicron-common.workspace = true
1818
schemars.workspace = true
19+
semver.workspace = true
1920
serde.workspace = true
2021
serde_json.workspace = true
2122
slog.workspace = true

agent/src/main.rs

+3-1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
use anyhow::{anyhow, bail, Result};
44
use clap::Parser;
55
use dropshot::{ConfigLogging, ConfigLoggingIfExists, ConfigLoggingLevel};
6+
use semver::Version;
67
use slog::{debug, error, info, o, Logger};
78
use std::collections::HashSet;
89
use std::io::Write;
@@ -341,7 +342,8 @@ async fn main() -> Result<()> {
341342

342343
fn write_openapi<W: Write>(f: &mut W) -> Result<()> {
343344
let api = server::make_api()?;
344-
api.openapi("Crucible Agent", "0.0.0").write(f)?;
345+
api.openapi("Crucible Agent", Version::new(0, 0, 1))
346+
.write(f)?;
345347
Ok(())
346348
}
347349

agent/src/server.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -352,7 +352,7 @@ pub async fn run_server(
352352
let server = dropshot::HttpServerStarter::new(
353353
&dropshot::ConfigDropshot {
354354
bind_address,
355-
request_body_max_bytes: 1024 * 10,
355+
default_request_body_max_bytes: 1024 * 10,
356356
default_handler_task_mode: HandlerTaskMode::Detached,
357357
log_headers: vec![],
358358
},

0 commit comments

Comments
 (0)