Skip to content

Commit

Permalink
Prepare for publish to crates.io
Browse files Browse the repository at this point in the history
The deb package is pretty necessary for the capabilities and service
handling, but want to learn how to use crates.io effectively.
  • Loading branch information
conorsch committed Jul 30, 2021
1 parent 35fcc21 commit ea58db1
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 4 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Innisfree changelog

## 0.2.7

* Publish to crates.io

## 0.2.6

* Add systemd service support
Expand Down
10 changes: 7 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,12 +1,15 @@
[package]
name = "innisfree"
version = "0.2.7-alpha.0"
authors = ["Conor Schaefer <conor@freedom.press>"]
authors = ["Conor Schaefer <conor@ruin.dev>"]
edition = "2018"
description = "Exposes local services on public IPv4 address, via cloud server."
license = "AGPLv3"
license = "AGPL-3.0-only"
readme = "README.md"
publish = false
publish = true
repository = "https://github.com/conorsch/innisfree"
categories = ["command-line-utilities", "network-programming"]
keywords = ["self-hosting", "wireguard"]

[dependencies]
clap = "3.0.0-beta.2"
Expand Down Expand Up @@ -35,6 +38,7 @@ maintainer-scripts = "debian/"
# depends = "libssl1.1 (>= 1.1.1d), libc6 (>= 2.28), libcap2-bin"
depends = "$auto"
# depends = "libcap2-bin"
extended-description = "Creates a remote host in the cloud, then establishes a Wireguard tunnel to it. Only supports proxying TCP traffic, for now."
assets = [
["target/release/innisfree", "usr/bin/", "755"],
["[email protected]", "usr/lib/systemd/system/", "644"],
Expand Down
2 changes: 1 addition & 1 deletion release
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
set -euo pipefail


cargo release --sign --skip-publish --skip-push $@
cargo release --sign $@

0 comments on commit ea58db1

Please sign in to comment.