Skip to content

Commit bc7211c

Browse files
committed
Adjust cargo-marker package, because of reasons
1 parent 8c08c1d commit bc7211c

File tree

4 files changed

+11
-4
lines changed

4 files changed

+11
-4
lines changed

.github/workflows/rust.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,6 @@ jobs:
6666
- run: rustc -vV
6767

6868
# Test
69-
- run: cargo build --package cargo-marker
69+
- run: cargo build --package cargo_marker
7070
- run: cargo build --package marker_api
7171
- run: cargo build --package marker_lints

.github/workflows/rust_bors.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,6 @@ jobs:
6161
- run: rustc -vV
6262

6363
# Test
64-
- run: cargo build --package cargo-marker
64+
- run: cargo build --package cargo_marker
6565
- run: cargo build --package marker_api
6666
- run: cargo build --package marker_lints

Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

cargo-marker/Cargo.toml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,16 @@
11
[package]
2-
name = "cargo-marker"
2+
name = "cargo_marker"
33
version = "0.1.0"
44
edition = "2021"
55
license = "MIT OR Apache-2.0"
66

7+
# Crate names in Rust are fun. I reserved `cargo_marker` as a crate name. However,
8+
# Cargo requires it's subcommands to use a dash like `cargo-marker`. Unable to rename
9+
# rename the create on crates.io we now have this hack... At least it works
10+
[[bin]]
11+
name = "cargo-marker"
12+
path = "src/main.rs"
13+
714
[dependencies]
815
clap = {version = "4.0.26", features = ["string"]}
916
once_cell = "1.16.0"

0 commit comments

Comments
 (0)