Skip to content

Commit cd7b554

Browse files
committed
Rename mycrate to template-crate and update semver workflow
1 parent dfd3c62 commit cd7b554

7 files changed

Lines changed: 5 additions & 8 deletions

File tree

.github/workflows/docs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
# just remove katex-header.html at the root and RUSTDOCFLAGS here
3232
# TODO(template) update the crate name
3333
- name: Build documentation
34-
run: RUSTDOCFLAGS="--html-in-header katex-header.html" cargo doc --no-deps -p mycrate
34+
run: RUSTDOCFLAGS="--html-in-header katex-header.html" cargo doc --no-deps -p template-crate
3535

3636
- name: Remove lock file
3737
run: rm target/doc/.lock

.github/workflows/semver-checks.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,4 @@ jobs:
2121

2222
- name: Check semver compatibility
2323
uses: obi1kenobi/cargo-semver-checks-action@v2
24-
with:
25-
# Skip semver checks if this is still the template's default "mycrate" name
26-
# Users should rename their crate before publishing
27-
exclude: mycrate
24+

Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11

22
# TODO(template) update for the crate name
33
[workspace]
4-
members = ["examples", "mycrate"]
4+
members = ["examples", "template-crate"]
55
resolver = "2"
6-
default-members = ["mycrate"]
6+
default-members = ["template-crate"]
77

88
[workspace.package]
99
version = "0.1.0"
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
# TODO(template) rename
3-
name = "mycrate"
3+
name = "template-crate"
44
version.workspace = true
55
edition.workspace = true
66
repository.workspace = true
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)