Skip to content

Commit

Permalink
Rename yangfmt_cli to yangfmt (main module)
Browse files Browse the repository at this point in the history
  • Loading branch information
Hubro committed May 3, 2023
1 parent 17fe98b commit 7274368
Show file tree
Hide file tree
Showing 7 changed files with 20 additions and 26 deletions.
11 changes: 4 additions & 7 deletions Cargo.lock

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

11 changes: 3 additions & 8 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,10 @@
members = ["crates/*"]

[workspace.package]
name = "yangfmt"
version = "0.1.2"
authors = ["Tomas Sandven <cargo.hubro@fastmail.com>"]
edition = "2021"
description = "YANG code formatter"
homepage = "https://github.com/Hubro/yangfmt"
license-file = "LICENSE"
keywords = ["yang", "code-formatter"]
categories = ["command-line-utilities", "development-tools"]

[profile.release]
strip = true

[workspace.dependencies]
lazy_static = "1.4.0"
Expand All @@ -25,3 +17,6 @@ textwrap = "0.16"
yangfmt_lexing = { path = "crates/yangfmt_lexing" }
yangfmt_parsing = { path = "crates/yangfmt_parsing" }
yangfmt_formatting = { path = "crates/yangfmt_formatting" }

[profile.release]
strip = true
15 changes: 7 additions & 8 deletions crates/yangfmt_cli/Cargo.toml → crates/yangfmt/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,18 +1,17 @@
[package]
name = "yangfmt_cli"
name = "yangfmt"
description = "YANG code formatter"
homepage = "https://github.com/Hubro/yangfmt"
keywords = ["yang", "code-formatter"]
categories = ["command-line-utilities", "development-tools"]

version.workspace = true
authors.workspace = true
edition.workspace = true

[[bin]]
name = "yangfmt"
path = "src/main.rs"
license-file.workspace = true

[dependencies]
clap = { version = "4.2.1", features = ["derive"] }
phf.workspace = true
pretty_assertions.workspace = true
textwrap.workspace = true

yangfmt_lexing.workspace = true
yangfmt_parsing.workspace = true
Expand Down
File renamed without changes.
3 changes: 2 additions & 1 deletion crates/yangfmt_formatting/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
[package]
name = "yangfmt_formatting"
version.workspace = true
version = "0.0.0"
authors.workspace = true
edition.workspace = true
license-file.workspace = true

[dependencies]
lazy_static.workspace = true
Expand Down
3 changes: 2 additions & 1 deletion crates/yangfmt_lexing/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
[package]
name = "yangfmt_lexing"
version.workspace = true
version = "0.0.0"
authors.workspace = true
edition.workspace = true
license-file.workspace = true

[dependencies]
lazy_static.workspace = true
Expand Down
3 changes: 2 additions & 1 deletion crates/yangfmt_parsing/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
[package]
name = "yangfmt_parsing"
version.workspace = true
version = "0.0.0"
authors.workspace = true
edition.workspace = true
license-file.workspace = true

[dependencies]
lazy_static.workspace = true
Expand Down

0 comments on commit 7274368

Please sign in to comment.