Skip to content

Commit 8e51d81

Browse files
committed
Apply sort
1 parent b9c4fd6 commit 8e51d81

File tree

6 files changed

+31
-38
lines changed

6 files changed

+31
-38
lines changed

Cargo.toml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -7,16 +7,16 @@ description = "Trustchain decentralised PKI reference implementation."
77
homepage = "https://alan-turing-institute.github.io/trustchain/"
88
repository = "https://github.com/alan-turing-institute/trustchain/"
99
keywords = ["pki", "did", "vc", "vp"]
10-
edition = "2021"
10+
edition = "2021"
1111

1212
[workspace]
1313
members = [
14-
"trustchain-core",
15-
"trustchain-ion",
16-
"trustchain-http",
1714
"trustchain-api",
1815
"trustchain-cli",
19-
"trustchain-ffi"
16+
"trustchain-core",
17+
"trustchain-ffi",
18+
"trustchain-http",
19+
"trustchain-ion",
2020
]
2121
resolver = "2"
2222

@@ -73,8 +73,8 @@ tracing = "0.1"
7373
tracing-subscriber = "0.3"
7474

7575
[dependencies]
76-
trustchain-api = { path = "./trustchain-api", version = "0.1.0"}
77-
trustchain-core = { path = "./trustchain-core", version = "0.2.0"}
78-
trustchain-ffi = { path = "./trustchain-ffi", version = "0.1.0"}
79-
trustchain-http = { path = "./trustchain-http", version = "0.1.0"}
80-
trustchain-ion = { path = "./trustchain-ion", version = "0.2.0"}
76+
trustchain-api = { path = "./trustchain-api", version = "0.1.0" }
77+
trustchain-core = { path = "./trustchain-core", version = "0.2.0" }
78+
trustchain-ffi = { path = "./trustchain-ffi", version = "0.1.0" }
79+
trustchain-http = { path = "./trustchain-http", version = "0.1.0" }
80+
trustchain-ion = { path = "./trustchain-ion", version = "0.2.0" }

trustchain-api/Cargo.toml

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,20 +4,19 @@ version = "0.1.0"
44
authors = ["Trustchain Devs"]
55
edition = "2021"
66

7-
87
[dependencies]
9-
trustchain-core = { path = "../trustchain-core" }
10-
trustchain-ion = { path = "../trustchain-ion" }
11-
ps_sig = { workspace = true }
128

139
async-trait = { workspace = true }
1410
chrono = { workspace = true }
15-
serde_json = { workspace = true }
16-
sha2 = { workspace = true }
17-
ssi = { workspace = true, features = ["http-did", "secp256k1", "rss"] }
1811
did-ion = { workspace = true }
1912
futures = { workspace = true }
2013
hex = { workspace = true }
14+
ps_sig = { workspace = true }
15+
serde_json = { workspace = true }
16+
sha2 = { workspace = true }
17+
ssi = { workspace = true, features = ["http-did", "secp256k1", "rss"] }
18+
trustchain-core = { path = "../trustchain-core" }
19+
trustchain-ion = { path = "../trustchain-ion" }
2120

2221
[dev-dependencies]
2322
tokio = { workspace = true, features = ["full"] }

trustchain-cli/Cargo.toml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,6 @@ name = "trustchain-cli"
99
path = "src/bin/main.rs"
1010

1111
[dependencies]
12-
trustchain-core = { path = "../trustchain-core" }
13-
trustchain-ion = { path = "../trustchain-ion" }
14-
trustchain-api = { path = "../trustchain-api" }
15-
trustchain-http = { path = "../trustchain-http" }
16-
1712

1813
clap = { workspace = true, features = ["derive", "cargo"] }
1914
lazy_static = { workspace = true }
@@ -22,3 +17,7 @@ serde_json = { workspace = true }
2217
ssi = { workspace = true, features = ["http-did", "secp256k1", "rss"] }
2318
tokio = { workspace = true, features = ["full"] }
2419
toml = { workspace = true }
20+
trustchain-api = { path = "../trustchain-api" }
21+
trustchain-core = { path = "../trustchain-core" }
22+
trustchain-http = { path = "../trustchain-http" }
23+
trustchain-ion = { path = "../trustchain-ion" }

trustchain-ffi/Cargo.toml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,9 @@ edition = "2021"
66

77
[lib]
88
crate-type = ["cdylib", "staticlib", "lib"]
9-
109
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
1110

1211
[dependencies]
13-
trustchain-core = { path = "../trustchain-core" }
14-
trustchain-ion = { path = "../trustchain-ion" }
15-
trustchain-api = { path = "../trustchain-api" }
16-
trustchain-http = { path = "../trustchain-http" }
1712

1813
anyhow = { workspace = true }
1914
chrono = { workspace = true }
@@ -27,3 +22,7 @@ ssi = { workspace = true, features = ["http-did", "secp256k1", "rss"] }
2722
thiserror = { workspace = true }
2823
tokio = { workspace = true, features = ["rt-multi-thread"] }
2924
toml = { workspace = true }
25+
trustchain-api = { path = "../trustchain-api" }
26+
trustchain-core = { path = "../trustchain-core" }
27+
trustchain-http = { path = "../trustchain-http" }
28+
trustchain-ion = { path = "../trustchain-ion" }

trustchain-http/Cargo.toml

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,18 +2,13 @@
22
name = "trustchain-http"
33
version = "0.1.0"
44
edition = "2021"
5-
65
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
76

8-
97
[[bin]]
108
name = "trustchain-http"
119
path = "src/bin/main.rs"
1210

1311
[dependencies]
14-
trustchain-core = { path = "../trustchain-core" }
15-
trustchain-ion = { path = "../trustchain-ion" }
16-
trustchain-api = { path = "../trustchain-api" }
1712

1813
async-trait = { workspace = true }
1914
axum = { workspace = true }
@@ -32,16 +27,18 @@ rand = { workspace = true }
3227
reqwest = { workspace = true, features = ["stream"] }
3328
serde = { workspace = true, features = ["derive"] }
3429
serde_json = { workspace = true }
35-
# sha2 = "0.10"
30+
serde_with = { workspace = true }
3631
shellexpand = { workspace = true }
3732
ssi = { workspace = true, features = ["http-did", "secp256k1", "rss"] }
3833
thiserror = { workspace = true }
3934
tokio = { workspace = true, features = ["full"] }
40-
tower = { workspace = true }
4135
toml = { workspace = true }
36+
tower = { workspace = true }
4237
tracing = { workspace = true }
4338
tracing-subscriber = { workspace = true }
44-
serde_with = { workspace = true }
39+
trustchain-api = { path = "../trustchain-api" }
40+
trustchain-core = { path = "../trustchain-core" }
41+
trustchain-ion = { path = "../trustchain-ion" }
4542

4643
[dev-dependencies]
4744
axum-test-helper = { workspace = true }

trustchain-ion/Cargo.toml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,7 @@ version = "0.2.0"
44
authors = ["Trustchain Devs"]
55
edition = "2021"
66

7-
87
[dependencies]
9-
trustchain-core = { path = "../trustchain-core" }
108
anyhow = { workspace = true }
119
async-trait = { workspace = true }
1210
bip39 = { workspace = true }
@@ -30,8 +28,9 @@ serde_json = { workspace = true }
3028
sha2 = { workspace = true }
3129
ssi = { workspace = true, features = ["http-did", "secp256k1", "rss"] }
3230
thiserror = { workspace = true }
33-
toml = { workspace = true }
3431
tokio = { workspace = true, features = ["full"] }
32+
toml = { workspace = true }
33+
trustchain-core = { path = "../trustchain-core" }
3534

3635
[dev-dependencies]
3736
glob = { workspace = true }

0 commit comments

Comments
 (0)