Skip to content

Commit

Permalink
remove circular dependency between oxide and oxide-httpmock (#948)
Browse files Browse the repository at this point in the history
  • Loading branch information
ahl authored Dec 18, 2024
1 parent f0011ca commit 4f3e008
Show file tree
Hide file tree
Showing 6 changed files with 38 additions and 4 deletions.
16 changes: 14 additions & 2 deletions Cargo.lock

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

1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
[workspace]
members = [
"cli",
"integration-tests",
"sdk",
"sdk-httpmock",
"test-common",
Expand Down
15 changes: 15 additions & 0 deletions integration-tests/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
[package]
name = "integration-tests"
version = "0.0.0"
edition = "2021"
publish = false

[dev-dependencies]
httpmock = { workspace = true }
oxide = { workspace = true }
oxide-httpmock = { workspace = true }
tempfile = { workspace = true }
test-common = { workspace = true }
tokio = { workspace = true }
rand = { workspace = true, features = ["small_rng"] }
uuid = { workspace = true }
8 changes: 8 additions & 0 deletions integration-tests/src/lib.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this
// file, You can obtain one at https://mozilla.org/MPL/2.0/.

// Copyright 2024 Oxide Computer Company

//! This crate exists only for stand-alone integration tests that act as SDK
//! consumers.
File renamed without changes.
2 changes: 0 additions & 2 deletions sdk/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,6 @@ toml_edit = { workspace = true }
uuid = { workspace = true }

[dev-dependencies]
httpmock = { workspace = true }
oxide-httpmock = { workspace = true }
tempfile = { workspace = true }
test-common = { workspace = true }
tokio = { workspace = true }
Expand Down

0 comments on commit 4f3e008

Please sign in to comment.