diff --git a/Cargo.lock b/Cargo.lock index 645b117b..c1ae3f0f 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -639,9 +639,9 @@ dependencies = [ [[package]] name = "clap" -version = "4.5.26" +version = "4.5.27" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a8eb5e908ef3a6efbe1ed62520fb7287959888c88485abe072543190ecc66783" +checksum = "769b0145982b4b48713e01ec42d61614425f27b7058bda7180a3a41f30104796" dependencies = [ "clap_builder", "clap_derive", @@ -649,9 +649,9 @@ dependencies = [ [[package]] name = "clap_builder" -version = "4.5.26" +version = "4.5.27" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "96b01801b5fc6a0a232407abc821660c9c6d25a1cafc0d4f85f29fb8d9afc121" +checksum = "1b26884eb4b57140e4d2d93652abfa49498b938b3c9179f9fc487b0acc3edad7" dependencies = [ "anstream", "anstyle", @@ -930,9 +930,9 @@ dependencies = [ [[package]] name = "cxx" -version = "1.0.136" +version = "1.0.137" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ad7c7515609502d316ab9a24f67dc045132d93bfd3f00713389e90d9898bf30d" +checksum = "0fc894913dccfed0f84106062c284fa021c3ba70cb1d78797d6f5165d4492e45" dependencies = [ "cc", "cxxbridge-cmd", @@ -944,9 +944,9 @@ dependencies = [ [[package]] name = "cxxbridge-cmd" -version = "1.0.136" +version = "1.0.137" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6c33fd49f5d956a1b7ee5f7a9768d58580c6752838d92e39d0d56439efdedc35" +checksum = "e0d2cb64a95b4b5a381971482235c4db2e0208302a962acdbe314db03cbbe2fb" dependencies = [ "clap", "codespan-reporting", @@ -957,15 +957,15 @@ dependencies = [ [[package]] name = "cxxbridge-flags" -version = "1.0.136" +version = "1.0.137" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "be0f1077278fac36299cce8446effd19fe93a95eedb10d39265f3bf67b3036c9" +checksum = "5f797b0206463c9c2a68ed605ab28892cca784f1ef066050f4942e3de26ad885" [[package]] name = "cxxbridge-macro" -version = "1.0.136" +version = "1.0.137" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3da7e4d6e74af6b79031d264b2f13c3ea70af1978083741c41ffce9308f1f24f" +checksum = "e79010a2093848e65a3e0f7062d3f02fb2ef27f866416dfe436fccfa73d3bb59" dependencies = [ "proc-macro2", "quote", @@ -1957,7 +1957,7 @@ dependencies = [ [[package]] name = "kittycad-modeling-cmds" -version = "0.2.91" +version = "0.2.92" dependencies = [ "anyhow", "bson", @@ -3555,9 +3555,9 @@ dependencies = [ [[package]] name = "semver" -version = "1.0.24" +version = "1.0.25" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3cb6eb87a131f756572d7fb904f6e7b68633f09cca868c5df1c4b8d1a694bbba" +checksum = "f79dfe2d285b0488816f30e700a7438c5a73d816b5b7d3ac72fbc48b0d185e03" [[package]] name = "serde" @@ -3601,9 +3601,9 @@ dependencies = [ [[package]] name = "serde_json" -version = "1.0.135" +version = "1.0.137" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2b0d7ba2887406110130a978386c4e1befb98c674b4fba677954e4db976630d9" +checksum = "930cfb6e6abf99298aaad7d29abbef7a9999a9a8806a40088f55f0dcec03146b" dependencies = [ "indexmap 2.2.6", "itoa", @@ -4514,9 +4514,9 @@ checksum = "711b9620af191e0cdc7468a8d14e709c3dcdb115b36f838e601583af800a370a" [[package]] name = "uuid" -version = "1.12.0" +version = "1.12.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "744018581f9a3454a9e15beb8a33b017183f1e7c0cd170232a2d1453b23a51c4" +checksum = "b3758f5e68192bb96cc8f9b7e2c2cfdabb435499a28499a42f8f984092adad4b" dependencies = [ "getrandom", "serde", diff --git a/bumper/Cargo.toml b/bumper/Cargo.toml index b7a694e7..3556fa82 100644 --- a/bumper/Cargo.toml +++ b/bumper/Cargo.toml @@ -11,8 +11,8 @@ publish = false [dependencies] anyhow = "1.0.95" -clap = { version = "4.5.26", features = ["derive"] } -semver = "1.0.24" +clap = { version = "4.5.27", features = ["derive"] } +semver = "1.0.25" serde = "1.0.217" toml_edit = "0.22.16" diff --git a/modeling-cmds/Cargo.toml b/modeling-cmds/Cargo.toml index 4d259678..019b7550 100644 --- a/modeling-cmds/Cargo.toml +++ b/modeling-cmds/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "kittycad-modeling-cmds" -version = "0.2.91" +version = "0.2.92" edition = "2021" authors = ["KittyCAD, Inc."] description = "Commands in the KittyCAD Modeling API" @@ -33,7 +33,7 @@ schemars = { version = "0.8.16", features = [ ] } serde = { version = "1.0.217", features = ["derive"] } serde_bytes = "0.11.15" -serde_json = { version = "1.0.135", optional = true } +serde_json = { version = "1.0.137", optional = true } slog = { version = "2.7.0", optional = true } tabled = { version = "0.17", optional = true } ts-rs = { version = "10.1.0", optional = true, features = [ @@ -41,7 +41,7 @@ ts-rs = { version = "10.1.0", optional = true, features = [ "no-serde-warnings", "serde-json-impl", ] } -uuid = { version = "1.12.0", features = ["serde", "v4", "js"] } +uuid = { version = "1.12.1", features = ["serde", "v4", "js"] } webrtc = { version = "0.11", optional = true } [lints] diff --git a/modeling-cmds/src/def_enum.rs b/modeling-cmds/src/def_enum.rs index 86ef5d99..46a68211 100644 --- a/modeling-cmds/src/def_enum.rs +++ b/modeling-cmds/src/def_enum.rs @@ -477,7 +477,7 @@ define_modeling_cmd_enum! { #[cfg_attr(feature = "ts-rs", ts(export_to = "ModelingCmd.ts"))] pub struct EntityMakeHelixFromParams { /// Radius of the helix. - pub radius: f64, + pub radius: LengthUnit, /// Length of the helix. pub length: LengthUnit, /// Number of revolutions. @@ -499,7 +499,7 @@ define_modeling_cmd_enum! { #[cfg_attr(feature = "ts-rs", ts(export_to = "ModelingCmd.ts"))] pub struct EntityMakeHelixFromEdge { /// Radius of the helix. - pub radius: f64, + pub radius: LengthUnit, /// Length of the helix. If None, the length of the edge will be used instead. pub length: Option, /// Number of revolutions. diff --git a/modeling-session/Cargo.toml b/modeling-session/Cargo.toml index dd4c09ff..0c888d51 100644 --- a/modeling-session/Cargo.toml +++ b/modeling-session/Cargo.toml @@ -16,11 +16,11 @@ kittycad = { workspace = true } kittycad-modeling-cmds = { workspace = true, features = ["websocket"] } lsystem = "0.2.1" reqwest = "0.12.12" -serde_json = "1.0.135" +serde_json = "1.0.137" thiserror = "2.0.11" tokio = { version = "1", features = ["sync"] } tokio-tungstenite = "0.24.0" -uuid = { version = "1.12.0", features = ["v4"] } +uuid = { version = "1.12.1", features = ["v4"] } [dev-dependencies] color-eyre = "0.6"