Skip to content

Commit 0bdc50c

Browse files
authored
bump kcl-lib and friends (#6063)
* bump kcl-lib and friends Signed-off-by: Jess Frazelle <[email protected]> * expose Signed-off-by: Jess Frazelle <[email protected]> * relevant files Signed-off-by: Jess Frazelle <[email protected]> * udpates Signed-off-by: Jess Frazelle <[email protected]> * fixes Signed-off-by: Jess Frazelle <[email protected]> * updates Signed-off-by: Jess Frazelle <[email protected]> --------- Signed-off-by: Jess Frazelle <[email protected]>
1 parent 57d78b6 commit 0bdc50c

File tree

17 files changed

+64
-31
lines changed

17 files changed

+64
-31
lines changed

rust/Cargo.lock

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

rust/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ clap = { version = "4.5.31", features = ["derive"] }
3535
dashmap = { version = "6.1.0" }
3636
http = "1"
3737
indexmap = "2.7.0"
38-
kittycad = { version = "0.3.33", default-features = false, features = ["js", "requests"] }
38+
kittycad = { version = "0.3.36", default-features = false, features = ["js", "requests"] }
3939
kittycad-modeling-cmds = { version = "0.2.107", features = ["ts-rs", "websocket"] }
4040
lazy_static = "1.5.0"
4141
miette = "7.5.0"

rust/kcl-bumper/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11

22
[package]
33
name = "kcl-bumper"
4-
version = "0.1.55"
4+
version = "0.1.56"
55
edition = "2021"
66
repository = "https://github.com/KittyCAD/modeling-api"
77
rust-version = "1.76"

rust/kcl-derive-docs/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
22
name = "kcl-derive-docs"
33
description = "A tool for generating documentation from Rust derive macros"
4-
version = "0.1.55"
4+
version = "0.1.56"
55
edition = "2021"
66
license = "MIT"
77
repository = "https://github.com/KittyCAD/modeling-app"

rust/kcl-directory-test-macro/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
22
name = "kcl-directory-test-macro"
33
description = "A tool for generating tests from a directory of kcl files"
4-
version = "0.1.55"
4+
version = "0.1.56"
55
edition = "2021"
66
license = "MIT"
77
repository = "https://github.com/KittyCAD/modeling-app"

rust/kcl-language-server-release/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "kcl-language-server-release"
3-
version = "0.1.55"
3+
version = "0.1.56"
44
edition = "2021"
55
authors = ["KittyCAD Inc <[email protected]>"]
66
publish = false

rust/kcl-language-server/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
name = "kcl-language-server"
33
description = "A language server for KCL."
44
authors = ["KittyCAD Inc <[email protected]>"]
5-
version = "0.2.55"
5+
version = "0.2.56"
66
edition = "2021"
77
license = "MIT"
88
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

rust/kcl-lib/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
22
name = "kcl-lib"
33
description = "KittyCAD Language implementation and tools"
4-
version = "0.2.55"
4+
version = "0.2.56"
55
edition = "2021"
66
license = "MIT"
77
repository = "https://github.com/KittyCAD/modeling-app"
@@ -104,7 +104,7 @@ tower-lsp = { workspace = true, features = ["proposed", "default"] }
104104

105105
[features]
106106
default = ["engine"]
107-
cli = ["dep:clap"]
107+
cli = ["dep:clap", "kittycad/clap"]
108108
dhat-heap = ["dep:dhat"]
109109
# For the lsp server, when run with stdout for rpc we want to disable println.
110110
# This is used for editor extensions that use the lsp server.

rust/kcl-lib/src/coredump/mod.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ pub trait CoreDump: Clone {
5353
.meta()
5454
.create_debug_uploads(vec![kittycad::types::multipart::Attachment {
5555
name: "".to_string(),
56-
filename: Some(format!(r#"modeling-app/coredump-{coredump_id}-screenshot.png"#)),
56+
filepath: Some(format!(r#"modeling-app/coredump-{coredump_id}-screenshot.png"#).into()),
5757
content_type: Some("image/png".to_string()),
5858
data,
5959
}])
@@ -101,7 +101,7 @@ pub trait CoreDump: Clone {
101101
.meta()
102102
.create_debug_uploads(vec![kittycad::types::multipart::Attachment {
103103
name: "".to_string(),
104-
filename: Some(format!(r#"modeling-app/coredump-{}.json"#, coredump_id)),
104+
filepath: Some(format!(r#"modeling-app/coredump-{}.json"#, coredump_id).into()),
105105
content_type: Some("application/json".to_string()),
106106
data,
107107
}])

rust/kcl-lib/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ pub use parsing::ast::{modify::modify_ast_for_sketch, types::FormatOptions};
9797
pub use settings::types::{project::ProjectConfiguration, Configuration, UnitLength};
9898
pub use source_range::SourceRange;
9999
#[cfg(not(target_arch = "wasm32"))]
100-
pub use unparser::recast_dir;
100+
pub use unparser::{recast_dir, walk_dir};
101101

102102
// Rather than make executor public and make lots of it pub(crate), just re-export into a new module.
103103
// Ideally we wouldn't export these things at all, they should only be used for testing.

0 commit comments

Comments
 (0)