Skip to content

Commit 970809f

Browse files
authored
Remove publish feature (#15)
The `publish` feature should not be needed anymore after #14. --------- Signed-off-by: Oliver Tale-Yazdi <[email protected]>
1 parent fd32037 commit 970809f

File tree

4 files changed

+12
-9
lines changed

4 files changed

+12
-9
lines changed

.github/workflows/rust.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,16 +30,16 @@ jobs:
3030
run: cargo check --all-targets --no-default-features # still broken --locked
3131

3232
- name: Build
33-
run: cargo build --all-targets --features derive_debug --locked
33+
run: cargo build --all-targets --all-features --locked
3434

3535
- name: Test
36-
run: cargo test --locked --all-targets --features derive_debug
36+
run: cargo test --locked --all-targets --all-features
3737

3838
- name: Clippy
39-
run: cargo clippy --locked --all-targets --features derive_debug -- -D warnings
39+
run: cargo clippy --locked --all-targets --all-features -- -D warnings
4040

4141
- name: Documentation
42-
run: cargo doc --locked --no-deps --features derive_debug
42+
run: cargo doc --locked --no-deps --all-features
4343

4444
- name: Doc Test
4545
run: cargo test --locked --doc

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.

MAINTAIN.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,12 @@ Info regarding crate maintenance.
77
The README file of the `proc-macro-warning` crate is not found during normal `cargo publish` invocation. We therefore always publish with the `publish` feature, that adapts the path for publishing.
88

99
```bash
10+
# Smoke screen check semver:
11+
cargo semver-checks -p proc-macro-warning
12+
# Replace the version here:
13+
git tag -s -a v1.0.1 -m "Version 1.0.1"
1014
# Check that it works
11-
cargo publish -p proc-macro-warning --features publish --dry-run
15+
cargo publish -p proc-macro-warning --dry-run
1216
# Actually do the publish
13-
cargo publish -p proc-macro-warning --features publish
17+
cargo publish -p proc-macro-warning
1418
```

proc-macro-warning/Cargo.toml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "proc-macro-warning"
3-
version = "1.0.1"
3+
version = "1.0.2"
44
edition = "2021"
55
license = "GPL-3.0 OR Apache-2.0"
66
authors = ["Oliver Tale-Yazdi <[email protected]>"]
@@ -20,4 +20,3 @@ derive = { path = "../ui-tests/derive" }
2020
default = ["derive_debug"]
2121

2222
derive_debug = []
23-
publish = []

0 commit comments

Comments
 (0)