Skip to content

Commit 48be847

Browse files
jtranadamchalmers
andauthored
Release 117 (#1311)
* Release 117 * Clippy fixes --------- Co-authored-by: Adam Chalmers <[email protected]>
1 parent 2540876 commit 48be847

File tree

6 files changed

+19
-19
lines changed

6 files changed

+19
-19
lines changed

Cargo.lock

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

Cargo.toml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "zoo"
3-
version = "0.2.116"
3+
version = "0.2.117"
44
edition = "2021"
55
build = "build.rs"
66
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
@@ -22,11 +22,11 @@ git_rev = "0.1.0"
2222
heck = "0.5.0"
2323
http = "1"
2424
itertools = "0.12.1"
25-
kcl-lib = { version = "=0.2.90", features = ["disable-println"] }
26-
kcl-derive-docs = { version = "=0.1.90" }
27-
kcl-test-server = "=0.1.90"
25+
kcl-lib = { version = "=0.2.92", features = ["disable-println"] }
26+
kcl-derive-docs = { version = "=0.1.92" }
27+
kcl-test-server = "=0.1.92"
2828
kittycad = { version = "0.3.34", features = ["clap", "tabled", "requests", "retry"] }
29-
kittycad-modeling-cmds = { version = "=0.2.128", features = ["websocket", "convert_client_crate", "tabled"] }
29+
kittycad-modeling-cmds = { version = "=0.2.130", features = ["websocket", "convert_client_crate", "tabled"] }
3030
log = "0.4.27"
3131
miette = { version = "7.5.0", features = ["fancy"] }
3232
nu-ansi-term = "0.50.1"

src/config.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ pub trait Config: Send + Sync {
2323
fn default_host_with_source(&self) -> Result<(String, String)>;
2424

2525
/// Get the aliases.
26-
fn aliases(&mut self) -> Result<crate::config_alias::AliasConfig>;
26+
fn aliases(&mut self) -> Result<crate::config_alias::AliasConfig<'_>>;
2727
/// Save the aliases to our config.
2828
fn save_aliases(&mut self, aliases: &crate::config_map::ConfigMap) -> Result<()>;
2929
/// expand_alias processes argv to see if it should be rewritten according to a user's aliases. The

src/config_from_env.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ pub struct EnvConfig<'a> {
1313
}
1414

1515
impl EnvConfig<'_> {
16-
pub fn inherit_env(config: &mut dyn crate::config::Config) -> EnvConfig {
16+
pub fn inherit_env(config: &mut dyn crate::config::Config) -> EnvConfig<'_> {
1717
EnvConfig { config }
1818
}
1919
}
@@ -73,7 +73,7 @@ impl crate::config::Config for EnvConfig<'_> {
7373
}
7474
}
7575

76-
fn aliases(&mut self) -> Result<crate::config_alias::AliasConfig> {
76+
fn aliases(&mut self) -> Result<crate::config_alias::AliasConfig<'_>> {
7777
self.config.aliases()
7878
}
7979

src/config_from_file.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,7 @@ impl crate::config::Config for FileConfig {
218218
))
219219
}
220220

221-
fn aliases(&mut self) -> Result<crate::config_alias::AliasConfig> {
221+
fn aliases(&mut self) -> Result<crate::config_alias::AliasConfig<'_>> {
222222
let aliases_table = self.get_aliases_table()?;
223223

224224
Ok(AliasConfig {

src/context.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ pub struct Context<'a> {
1515
}
1616

1717
impl Context<'_> {
18-
pub fn new(config: &mut (dyn Config + Send + Sync)) -> Context {
18+
pub fn new(config: &mut (dyn Config + Send + Sync)) -> Context<'_> {
1919
// Let's get our IO streams.
2020
let mut io = crate::iostreams::IoStreams::system();
2121

0 commit comments

Comments
 (0)