Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 23 additions & 0 deletions Cargo.lock

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

5 changes: 5 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
resolver = "2"
members = [
"dragonfly-client",
"dragonfly-client-auth",
"dragonfly-client-backend",
"dragonfly-client-backend/examples/plugin",
"dragonfly-client-config",
Expand All @@ -27,6 +28,7 @@ keywords = ["container", "docker-image", "dragonfly", "dragonfly-client", "p2p"]
[workspace.dependencies]
anyhow = "1.0.102"
async-trait = "0.1"
base64 = "0.22.1"
bytes = "1.11"
bytesize = { version = "1.3.3", features = ["serde"] }
bytesize-serde = "0.2.1"
Expand All @@ -37,6 +39,7 @@ crc32fast = "1.5.0"
dashmap = "6.1.0"
dragonfly-api = "=2.2.32"
dragonfly-client = { path = "dragonfly-client", version = "1.4.9" }
dragonfly-client-auth = { path = "dragonfly-client-auth", version = "1.4.9" }
dragonfly-client-backend = { path = "dragonfly-client-backend", version = "1.4.9" }
dragonfly-client-config = { path = "dragonfly-client-config", version = "1.4.9" }
dragonfly-client-core = { path = "dragonfly-client-core", version = "1.4.9" }
Expand Down Expand Up @@ -71,6 +74,7 @@ hyper-util = { version = "0.1.20", features = [
"server-auto",
"tokio",
] }
jsonwebtoken = { version = "10.3.0", features = ["aws_lc_rs"] }
leaky-bucket = "1.1.2"
local-ip-address = "0.6.5"
lru = "0.18.1"
Expand All @@ -91,6 +95,7 @@ opendal = { version = "0.55.0", default-features = false, features = [
"services-webhdfs",
] }
percent-encoding = "2.3.2"
prometheus = { version = "0.13.4", features = ["process"] }
prost-wkt-types = "0.7"
rcgen = { version = "0.12.1", features = ["x509-parser"] }
regex = "1.12.3"
Expand Down
3 changes: 3 additions & 0 deletions ci/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@ COPY dragonfly-client/src ./dragonfly-client/src
COPY dragonfly-client-core/Cargo.toml ./dragonfly-client-core/Cargo.toml
COPY dragonfly-client-core/src ./dragonfly-client-core/src

COPY dragonfly-client-auth/Cargo.toml ./dragonfly-client-auth/Cargo.toml
COPY dragonfly-client-auth/src ./dragonfly-client-auth/src

COPY dragonfly-client-config/Cargo.toml ./dragonfly-client-config/Cargo.toml
COPY dragonfly-client-config/src ./dragonfly-client-config/src
COPY dragonfly-client-config/build.rs ./dragonfly-client-config/build.rs
Expand Down
3 changes: 3 additions & 0 deletions ci/Dockerfile.debug
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@ COPY dragonfly-client/src ./dragonfly-client/src
COPY dragonfly-client-core/Cargo.toml ./dragonfly-client-core/Cargo.toml
COPY dragonfly-client-core/src ./dragonfly-client-core/src

COPY dragonfly-client-auth/Cargo.toml ./dragonfly-client-auth/Cargo.toml
COPY dragonfly-client-auth/src ./dragonfly-client-auth/src

COPY dragonfly-client-config/Cargo.toml ./dragonfly-client-config/Cargo.toml
COPY dragonfly-client-config/src ./dragonfly-client-config/src
COPY dragonfly-client-config/build.rs ./dragonfly-client-config/build.rs
Expand Down
3 changes: 3 additions & 0 deletions ci/Dockerfile.dfinit
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@ COPY dragonfly-client/src ./dragonfly-client/src
COPY dragonfly-client-core/Cargo.toml ./dragonfly-client-core/Cargo.toml
COPY dragonfly-client-core/src ./dragonfly-client-core/src

COPY dragonfly-client-auth/Cargo.toml ./dragonfly-client-auth/Cargo.toml
COPY dragonfly-client-auth/src ./dragonfly-client-auth/src

COPY dragonfly-client-config/Cargo.toml ./dragonfly-client-config/Cargo.toml
COPY dragonfly-client-config/src ./dragonfly-client-config/src
COPY dragonfly-client-config/build.rs ./dragonfly-client-config/build.rs
Expand Down
3 changes: 3 additions & 0 deletions ci/Dockerfile.profiling
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@ COPY dragonfly-client/src ./dragonfly-client/src
COPY dragonfly-client-core/Cargo.toml ./dragonfly-client-core/Cargo.toml
COPY dragonfly-client-core/src ./dragonfly-client-core/src

COPY dragonfly-client-auth/Cargo.toml ./dragonfly-client-auth/Cargo.toml
COPY dragonfly-client-auth/src ./dragonfly-client-auth/src

COPY dragonfly-client-config/Cargo.toml ./dragonfly-client-config/Cargo.toml
COPY dragonfly-client-config/src ./dragonfly-client-config/src
COPY dragonfly-client-config/build.rs ./dragonfly-client-config/build.rs
Expand Down
26 changes: 26 additions & 0 deletions dragonfly-client-auth/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
[package]
name = "dragonfly-client-auth"
description = "Inter-component gRPC authentication for the Dragonfly client"
version.workspace = true
authors.workspace = true
homepage.workspace = true
repository.workspace = true
keywords.workspace = true
license.workspace = true
readme.workspace = true
edition.workspace = true

[dependencies]
base64.workspace = true
humantime-serde.workspace = true
jsonwebtoken.workspace = true
prometheus.workspace = true
serde.workspace = true
thiserror.workspace = true
tonic.workspace = true
validator.workspace = true

[dev-dependencies]
serde_json.workspace = true
serde_yaml.workspace = true
tempfile.workspace = true
Loading
Loading