Skip to content

Commit

Permalink
Merge pull request #76 from golemcloud/update-deps
Browse files Browse the repository at this point in the history
Update dependencies to latest
  • Loading branch information
vigoo authored Dec 11, 2024
2 parents 34a09f1 + 382bc39 commit 35f1783
Show file tree
Hide file tree
Showing 3 changed files with 45 additions and 50 deletions.
64 changes: 28 additions & 36 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

22 changes: 11 additions & 11 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,22 +9,22 @@ description = "Golem example templates"
default-run = "golem-examples-cli"

[dependencies]
clap = { version = "4.4.17", features = ["derive"], optional = true }
clap = { version = "4.5.23", features = ["derive"], optional = true }
colored = "2.1.0"
derive_more = "0.99.17"
derive_more = { version = "1.0.0", features = ["from_str"] }
golem-wit = { version = "1.1.0" }
include_dir = { version = "0.7.3" }
include_dir = { version = "0.7.4" }
Inflector = { version = "0.11.4" }
once_cell = { version = "1.19.0" }
fancy-regex = { version = "0.13.0" }
serde = { version = "1.0.195", features = ["derive"] }
serde_json = { version = "1.0.111" }
strum = "0.26.1"
strum_macros = "0.26.1"
regex = "1.9.4"
once_cell = { version = "1.20.2" }
fancy-regex = { version = "0.14.0" }
serde = { version = "1.0.216", features = ["derive"] }
serde_json = { version = "1.0.133" }
strum = "0.26.3"
strum_macros = "0.26.4"
regex = "1.11.1"

[build-dependencies]
cargo_metadata = "0.18.1"
cargo_metadata = "0.19.1"
copy_dir = "0.1.3"
dir-diff = "0.3.3"

Expand Down
9 changes: 6 additions & 3 deletions src/model.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
use derive_more::FromStr;
use fancy_regex::{Match, Regex};
use inflector::Inflector;
use once_cell::sync::Lazy;
Expand All @@ -11,7 +10,9 @@ use std::str::FromStr;
use strum::IntoEnumIterator;
use strum_macros::EnumIter;

#[derive(Debug, Clone, PartialEq, Eq, PartialOrd, Ord, Hash, FromStr, Serialize, Deserialize)]
#[derive(
Debug, Clone, PartialEq, Eq, PartialOrd, Ord, Hash, derive_more::FromStr, Serialize, Deserialize,
)]
pub struct ComponentName(String);

static COMPONENT_NAME_SPLIT_REGEX: Lazy<Regex> = Lazy::new(|| Regex::new("(?=[A-Z\\-_])").unwrap());
Expand Down Expand Up @@ -283,7 +284,9 @@ impl FromStr for PackageName {
}
}

#[derive(Debug, Clone, PartialEq, Eq, PartialOrd, Ord, Hash, FromStr, Serialize, Deserialize)]
#[derive(
Debug, Clone, PartialEq, Eq, PartialOrd, Ord, Hash, derive_more::FromStr, Serialize, Deserialize,
)]
pub struct ExampleName(String);

impl ExampleName {
Expand Down

0 comments on commit 35f1783

Please sign in to comment.