Skip to content

Commit

Permalink
Create a new binary package for cargo-typify
Browse files Browse the repository at this point in the history
This creates a new binary package to use and adds it to the workspace.

Unfortunately there doesn't seem like a good way to make it the default
run command for the entire workspace.
See this issue for more details: rust-lang/cargo#7290
  • Loading branch information
coreyja committed Feb 25, 2023
1 parent d579a52 commit a127a20
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Cargo.lock

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

1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ members = [
"typify-impl",
"typify-macro",
"typify-test",
"cargo-typify",
"example-build",
"example-macro",
]
Expand Down
8 changes: 8 additions & 0 deletions cargo-typify/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
[package]
name = "cargo-typify"
version = "0.1.0"
edition = "2021"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
3 changes: 3 additions & 0 deletions cargo-typify/src/main.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
fn main() {
println!("Hello, world!");
}

0 comments on commit a127a20

Please sign in to comment.