Skip to content

Commit

Permalink
release v0.7.0-beta.5
Browse files Browse the repository at this point in the history
  • Loading branch information
digizeph committed Jan 29, 2024
1 parent 115ac9c commit f643372
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 11 deletions.
15 changes: 14 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,18 @@ jobs:
# (required) GitHub token for creating GitHub Releases.
token: ${{ secrets.GITHUB_TOKEN }}

cargo-publish:
needs: create-release
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Publish to crates.io
run: >
cargo publish
--all-features
--verbose
--token ${{ secrets.CARGO_REGISTRY_TOKEN }}
upload-assets:
needs: create-release
strategy:
Expand All @@ -39,7 +51,8 @@ jobs:
# (required) Comma-separated list of binary names (non-extension portion of filename) to build and upload.
# Note that glob pattern is not supported yet.
bin: bgpkit-broker
features: cli,vendored-openssl
features: cli
checksum: sha256
# (optional) Target triple, default is host triple.
target: ${{ matrix.target }}
# (required) GitHub token for uploading assets to GitHub Releases.
Expand Down
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@

All notable changes to this project will be documented in this file.

## v0.7.0-beta.5 - 2024-01-29

### Breaking changes

- switch to `rustls` as the default TLS backend

## v0.7.0-beta.4 - 2024-01-18

### CLI addtion
Expand Down
12 changes: 3 additions & 9 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "bgpkit-broker"
version = "0.7.0-beta.4"
version = "0.7.0-beta.5"
edition = "2021"
authors = ["Mingwei Zhang <mingwei@bgpkit.com>"]
readme = "README.md"
Expand All @@ -24,7 +24,7 @@ required-features = ["cli"]
#############################################
chrono = { version = "0.4", features = ["serde"] }
log="0.4"
reqwest = {version = "0.11.17", features = ["blocking", "json", "stream"]}
reqwest = {version = "0.11.17", default-features = false, features = ["blocking", "json", "stream", "rustls"]}
serde={version="1", features = ["derive"]}
serde_json = "1"
thiserror = "1.0"
Expand All @@ -50,7 +50,7 @@ which = { version = "5.0", optional = true }

# crawler dependencies
futures = {version="0.3", optional = true}
oneio = {version="0.15.1", features = ["lib", "s3"], optional = true}
oneio = {version="0.16.0", features = ["s3"], optional = true}
regex = { version = "1", optional = true }
scraper = { version = "0.17", optional = true }
tokio = {version="1", optional = true, features = ["full"] }
Expand All @@ -64,12 +64,9 @@ utoipa = {version = "4", optional = true, features = ["axum_extras", "chrono"]}
utoipa-swagger-ui = { version = "5", optional = true, features = ["axum"] }
axum-prometheus = { version = "0.5.0", optional = true }


# database dependencies
sqlx = { version = "0.7", features = [ "runtime-tokio", "sqlite"], optional = true }

openssl = { version = "0.10", features = ["vendored"], optional = true }

[features]
default=[]
cli = [
Expand All @@ -87,9 +84,6 @@ cli = [
backend = [
"tokio", "sqlx",
]
# vendored openssl
vendored-openssl = ["openssl"]


[dev-dependencies]
tracing-subscriber = "0.3.17"
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ pub fn main() {

### Install

Install with `cargo install bgpkit-broker@0.7.0-beta.4 --features cli` or check out the main branch and run `cargo install --path . --features cli`.
Install with `cargo install bgpkit-broker@0.7.0-beta.5 --features cli` or check out the main branch and run `cargo install --path . --features cli`.

If you are on a macOS environment, you can also use homebrew to install the pre-compiled binary (universal):
```
Expand Down

0 comments on commit f643372

Please sign in to comment.