Skip to content

Commit 7a98b24

Browse files
committed
Add deps to common
This commit adds the log,rand, and jsonwebtoken dependencies to common. Those crates are used by code moving into this crate. Signed-off-by: Caleb Hill <hill@bitwise.io>
1 parent 19b499c commit 7a98b24

2 files changed

Lines changed: 11 additions & 0 deletions

File tree

rest_api/actix_web_1/Cargo.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,9 @@ stable = [
4848
"admin-service",
4949
"authorization",
5050
"biome",
51+
"biome-credentials",
5152
"biome-key-management",
53+
"oauth",
5254
"registry",
5355
"rest-api",
5456
"scabbard-service",
@@ -69,8 +71,10 @@ admin-service = [
6971
]
7072
authorization = ["splinter/authorization", "splinter-rest-api-common/authorization"]
7173
biome = ["splinter/biome", "serde"]
74+
biome-credentials = ["biome"]
7275
biome-key-management = ["biome", "splinter/biome-key-management"]
7376
registry = ["splinter/registry"]
77+
oauth = ["log"]
7478
rest-api = ["splinter/rest-api"]
7579
scabbard-service = ["scabbard/splinter-service", "scabbard/rest-api", "transact", "log"]
7680
service = ["splinter/runtime-service", "serde_json", "log"]

rest_api/common/Cargo.toml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,9 @@ description = """\
2323
"""
2424

2525
[dependencies]
26+
log = "0.4"
27+
rand = "0.8"
28+
jsonwebtoken = { version = "7.0" }
2629
serde = { version = "1", features = ["derive"] }
2730
serde_json = { version = "1", optional = true }
2831
splinter = { path = "../../libsplinter" }
@@ -38,6 +41,8 @@ stable = [
3841
"default",
3942
# The following features are stable:
4043
"authorization",
44+
"oauth",
45+
"rbac"
4146
]
4247

4348
experimental = [
@@ -47,5 +52,7 @@ experimental = [
4752
]
4853

4954
authorization = ["splinter/authorization"]
55+
oauth = ["splinter/oauth"]
56+
rbac = ["splinter/authorization-handler-rbac"]
5057
scabbard-service = ["scabbard", "splinter/rest-api", "splinter/rest-api-actix-web-1", "serde_json"]
5158
service-endpoint = []

0 commit comments

Comments
 (0)