-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
api: remove openssl dep. split publishing
- Loading branch information
Showing
9 changed files
with
59 additions
and
56 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
on: | ||
workflow_dispatch: | ||
|
||
name: Publish API | ||
|
||
jobs: | ||
|
||
publish-api: | ||
name: Publish Snowflake API | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: checkout | ||
uses: actions/checkout@v2 | ||
|
||
- name: stable toolchain | ||
uses: actions-rs/toolchain@v1 | ||
with: | ||
profile: minimal | ||
toolchain: stable | ||
override: true | ||
|
||
- run: cargo publish -p snowflake-api | ||
env: | ||
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
on: | ||
workflow_dispatch: | ||
|
||
name: Publish JWT | ||
|
||
jobs: | ||
|
||
publish-jwt: | ||
name: Publish Snowflake JWT | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: checkout | ||
uses: actions/checkout@v2 | ||
|
||
- name: stable toolchain | ||
uses: actions-rs/toolchain@v1 | ||
with: | ||
profile: minimal | ||
toolchain: stable | ||
override: true | ||
|
||
- run: cargo publish -p snowflake-jwt | ||
env: | ||
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
[package] | ||
name = "snowflake-jwt" | ||
version = "0.1.1" | ||
version = "0.3.0" | ||
edition = "2021" | ||
description = "Snowflake JWT token generator" | ||
authors = ["Andrew Korzhuev <[email protected]>", "Artem Semenov <[email protected]>"] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
[package] | ||
name = "snowflake-api" | ||
version = "0.2.0" | ||
version = "0.3.0" | ||
edition = "2021" | ||
description = "Snowflake API bindings" | ||
authors = ["Andrew Korzhuev <[email protected]>"] | ||
|
@@ -13,8 +13,8 @@ license = "Apache-2.0" | |
|
||
[dependencies] | ||
thiserror = "1" | ||
snowflake-jwt = "0.1.1" | ||
reqwest = { version = "0.11", features = ["json"] } | ||
snowflake-jwt = "0.3.0" | ||
reqwest = { version = "0.11", default-features = false, features = ["rustls-tls", "json"] } | ||
reqwest-middleware = "0.2" | ||
reqwest-retry = "0.2" | ||
log = "0.4" | ||
|
@@ -33,4 +33,4 @@ anyhow = "1" | |
pretty_env_logger = "0.5.0" | ||
clap = { version = "4", features = ["derive"] } | ||
arrow = { version = "42", features = ["prettyprint"] } | ||
tokio = { version = "1", features=["macros", "rt-multi-thread"] } | ||
tokio = { version = "1", features = ["macros", "rt-multi-thread"] } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters