Move 'PackageName' and associated methods in its own module.

This is a bit cleaner, as the 'cmd/new' had many on-the-fly functions
  which are better scoped inside this module.

  Plus, it plays nicely with the std::str::FromStr trait definition.
This commit is contained in:
KtorZ
2023-01-14 22:01:55 +01:00
parent bfeb26c9a9
commit 0771ab24bd
12 changed files with 174 additions and 169 deletions

View File

@@ -18,6 +18,7 @@ hex = "0.4.3"
ignore = "0.4.18"
itertools = "0.10.1"
miette = { version = "5.3.0", features = ["fancy"] }
owo-colors = "3.5.0"
pallas = "0.16.0"
pallas-traverse = "0.16.0"
petgraph = "0.6.2"