Skip to content

Commit

Permalink
Fixed issues in lib migration (#5)
Browse files Browse the repository at this point in the history
Fixed some issues I didn't handle when migrating to a library.

- added `allow-dirty` to the library being pushed (as the version is
updated)
- removed unused `main`
  • Loading branch information
Bullrich authored May 24, 2024
1 parent c9aab29 commit e83f2f7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
1 change: 1 addition & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,3 +32,4 @@ jobs:
- uses: katyo/publish-crates@v2
with:
registry-token: ${{ secrets.CARGO_REGISTRY_TOKEN }}
args: "--allow-dirty"
8 changes: 2 additions & 6 deletions src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
#![doc = include_str!("../README.md")]

pub mod context;
pub mod error;

#[doc = include_str!("../README.md")]

fn main() {
println!("Hello, world!");
}

0 comments on commit e83f2f7

Please sign in to comment.