Skip to content

Commit

Permalink
chore: prepare for crate publishing
Browse files Browse the repository at this point in the history
  • Loading branch information
emmanuelgautier committed Mar 28, 2024
1 parent e833d95 commit 5e6bf60
Show file tree
Hide file tree
Showing 21 changed files with 17 additions and 13 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,6 @@ jobs:
- name: Install stable toolchain
uses: actions-rust-lang/setup-rust-toolchain@v1

- run: cargo publish -p baffao-core
- run: cargo publish -p baffao
env:
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}
6 changes: 3 additions & 3 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,16 @@
{
"type": "lldb",
"request": "launch",
"name": "Debug unit tests in library 'baffao-core'",
"name": "Debug unit tests in library 'baffao'",
"cargo": {
"args": [
"test",
"--no-run",
"--lib",
"--package=baffao-core"
"--package=baffao"
],
"filter": {
"name": "baffao-core",
"name": "baffao",
"kind": "lib"
}
},
Expand Down
6 changes: 3 additions & 3 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
resolver = "2"

members = [
"baffao-core",
"baffao",
"baffao-proxy",
]
12 changes: 8 additions & 4 deletions baffao-proxy/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,14 +1,18 @@
[package]
name = "baffao-proxy"
version = "0.1.0"
version = "0.0.1"
authors = ["CerberAuth <[email protected]>"]
repository = "https://github.com/cerberauth/baffao"
keywords = ["proxy", "oauth2", "authentication", "authorization", "auth"]
license = "MIT"
description = "BAckend For Frontend for your SPA authentication and authorization."
edition = "2021"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
readme = "./README.md"

[dependencies]
axum = "0.7.4"
axum-extra = { version = "0.9.2", features = ["typed-header", "cookie"] }
baffao-core = { path = "../baffao-core" }
baffao = { path = "../baffao" }
config = "0.14.0"
hyper = { version = "1.2.0", features = ["full"] }
hyper-util = { version = "0.1.3", features = ["client-legacy"] }
Expand Down
2 changes: 1 addition & 1 deletion baffao-core/Cargo.toml → baffao/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[package]
name = "baffao-core"
name = "baffao"
version = "0.1.0"
edition = "2021"

Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 5e6bf60

Please sign in to comment.