Skip to content

Commit 208e169

Browse files
authored
Merge pull request #91 from slashmo/dep/swift-baggage-context
2 parents 553e0c9 + bedbeed commit 208e169

File tree

4 files changed

+29
-21
lines changed

4 files changed

+29
-21
lines changed

Package.resolved

Lines changed: 7 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Package.swift

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,11 @@ let package = Package(
99
.library(name: "NIOInstrumentation", targets: ["NIOInstrumentation"])
1010
],
1111
dependencies: [
12-
.package(url: "https://github.com/slashmo/gsoc-swift-baggage-context", .branch("main")),
12+
.package(
13+
name: "swift-baggage-context",
14+
url: "https://github.com/slashmo/gsoc-swift-baggage-context.git",
15+
from: "0.1.0"
16+
),
1317
.package(url: "https://github.com/apple/swift-nio.git", from: "2.17.0"),
1418
.package(url: "https://github.com/apple/swift-log.git", from: "1.2.0")
1519
],
@@ -20,24 +24,24 @@ let package = Package(
2024
.target(
2125
name: "BaggageLogging",
2226
dependencies: [
23-
.product(name: "Baggage", package: "gsoc-swift-baggage-context"),
27+
.product(name: "Baggage", package: "swift-baggage-context"),
2428
.product(name: "Logging", package: "swift-log"),
2529
]
2630
),
2731
.testTarget(
28-
name: "BaggageLoggingTests",
32+
name: "BaggageLoggingTests",
2933
dependencies: [
3034
"BaggageLogging",
3135
]
3236
),
33-
37+
3438
// ==== --------------------------------------------------------------------------------------------------------
3539
// MARK: Instrumentation
3640

3741
.target(
3842
name: "Instrumentation",
3943
dependencies: [
40-
.product(name: "Baggage", package: "gsoc-swift-baggage-context"),
44+
.product(name: "Baggage", package: "swift-baggage-context"),
4145
]
4246
),
4347
.testTarget(
@@ -68,7 +72,7 @@ let package = Package(
6872
.target(
6973
name: "Benchmarks",
7074
dependencies: [
71-
.product(name: "Baggage", package: "gsoc-swift-baggage-context"),
75+
.product(name: "Baggage", package: "swift-baggage-context"),
7276
"SwiftBenchmarkTools",
7377
]
7478
),

UseCases/Package.resolved

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

UseCases/Package.swift

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,23 +10,27 @@ let package = Package(
1010
],
1111
dependencies: [
1212
.package(name: "gsoc-swift-tracing", path: "../"),
13-
.package(url: "https://github.com/slashmo/gsoc-swift-baggage-context.git", .branch("main")),
13+
.package(
14+
name: "swift-baggage-context",
15+
url: "https://github.com/slashmo/gsoc-swift-baggage-context.git",
16+
from: "0.1.0"
17+
),
1418
.package(url: "https://github.com/swift-server/async-http-client.git", from: "1.1.1"),
1519
.package(url: "https://github.com/apple/swift-nio.git", from: "2.18.0")
1620
],
1721
targets: [
1822
.target(name: "ManualContextPropagation", dependencies: [
19-
.product(name: "Baggage", package: "gsoc-swift-baggage-context"),
23+
.product(name: "Baggage", package: "swift-baggage-context"),
2024
.product(name: "Instrumentation", package: "gsoc-swift-tracing"),
2125
]),
2226
.target(name: "ManualAsyncHTTPClient", dependencies: [
23-
.product(name: "Baggage", package: "gsoc-swift-baggage-context"),
27+
.product(name: "Baggage", package: "swift-baggage-context"),
2428
.product(name: "Instrumentation", package: "gsoc-swift-tracing"),
2529
.product(name: "NIOInstrumentation", package: "gsoc-swift-tracing"),
2630
.product(name: "AsyncHTTPClient", package: "async-http-client")
2731
]),
2832
.target(name: "HTTPEndToEnd", dependencies: [
29-
.product(name: "Baggage", package: "gsoc-swift-baggage-context"),
33+
.product(name: "Baggage", package: "swift-baggage-context"),
3034
.product(name: "BaggageLogging", package: "gsoc-swift-tracing"),
3135
.product(name: "Instrumentation", package: "gsoc-swift-tracing"),
3236
.product(name: "NIOInstrumentation", package: "gsoc-swift-tracing"),

0 commit comments

Comments
 (0)