Skip to content

Commit d60215d

Browse files
committed
improve: code cleanup
1 parent 1c83874 commit d60215d

File tree

134 files changed

+57
-49
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

134 files changed

+57
-49
lines changed

Cargo.toml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
[workspace]
22
members = [
3-
"crates/inferadb-control",
4-
"crates/inferadb-control-api",
5-
"crates/inferadb-control-config",
6-
"crates/inferadb-control-const",
7-
"crates/inferadb-control-core",
8-
"crates/inferadb-control-storage",
9-
"crates/inferadb-control-test-fixtures",
10-
"crates/inferadb-control-types",
3+
"crates/api",
4+
"crates/control",
5+
"crates/config",
6+
"crates/const",
7+
"crates/core",
8+
"crates/storage",
9+
"crates/test-fixtures",
10+
"crates/types",
1111
]
1212
resolver = "2"
1313

README.md

Lines changed: 2 additions & 2 deletions
Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,12 @@ version.workspace = true
1111

1212
[dependencies]
1313
# Workspace crates
14-
inferadb-control-config = { path = "../inferadb-control-config" }
15-
inferadb-control-const = { path = "../inferadb-control-const" }
16-
inferadb-control-core = { path = "../inferadb-control-core" }
17-
inferadb-control-storage = { path = "../inferadb-control-storage" }
18-
inferadb-control-types = { path = "../inferadb-control-types" }
19-
inferadb-storage = { path = "../../../common/crates/inferadb-storage" }
14+
inferadb-control-config = { path = "../config" }
15+
inferadb-control-const = { path = "../const" }
16+
inferadb-control-core = { path = "../core" }
17+
inferadb-control-storage = { path = "../storage" }
18+
inferadb-control-types = { path = "../types" }
19+
inferadb-common-storage = { path = "../../../common/crates/storage" }
2020

2121
# External dependencies
2222
anyhow = { workspace = true }
@@ -40,8 +40,8 @@ tracing = { workspace = true }
4040
uuid = { workspace = true }
4141

4242
[dev-dependencies]
43-
inferadb-control-test-fixtures = { path = "../inferadb-control-test-fixtures" }
44-
inferadb-engine-auth = { path = "../../../engine/crates/inferadb-engine-auth" }
43+
inferadb-control-test-fixtures = { path = "../test-fixtures" }
44+
inferadb-engine-auth = { path = "../../../engine/crates/auth" }
4545
rand_core = { version = "0.6", features = ["getrandom"] }
4646

4747
[lints]
File renamed without changes.
File renamed without changes.
File renamed without changes.

crates/inferadb-control-api/src/handlers/clients.rs renamed to crates/api/src/handlers/clients.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ use axum::{
55
};
66
use base64::{Engine, engine::general_purpose::STANDARD as BASE64};
77
use chrono::{Duration, Utc};
8+
use inferadb_common_storage::auth::PublicSigningKey;
89
use inferadb_control_core::{
910
IdGenerator, MasterKey, PrivateKeyEncryptor, RepositoryContext, keypair,
1011
};
@@ -19,7 +20,6 @@ use inferadb_control_types::{
1920
},
2021
entities::{AuditEventType, AuditResourceType, Client, ClientCertificate},
2122
};
22-
use inferadb_storage::auth::PublicSigningKey;
2323
use serde_json::json;
2424

2525
use crate::{
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)