-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathCargo.toml
More file actions
126 lines (119 loc) · 3.06 KB
/
Copy pathCargo.toml
File metadata and controls
126 lines (119 loc) · 3.06 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
#:tombi toml-version = "v1.0.0"
[package]
name = "pact-broker-cli"
version = "0.8.6"
edition = "2024"
description = "A Rust and CLI client for the Pact Broker. Publish and retrieve pacts and verification results."
readme = "README.md"
homepage = "https://www.pact.io"
repository = "https://github.com/pact-foundation/pact-broker-cli"
license = "MIT"
keywords = ["cli", "contract-testing", "pact", "pact-broker", "testing"]
include = [
"/README.md",
"CHANGELOG.md",
"Cargo.lock",
"Cargo.toml",
"LICENSE",
"src/**",
]
[workspace.metadata.dist]
cargo-dist-version = "0.32.0"
ci = "github"
installers = ["shell", "powershell"]
targets = [
"aarch64-apple-darwin",
# Waiting for https://github.com/briansmith/ring/pull/2803 to be released
# "aarch64-pc-windows-msvc",
"aarch64-unknown-linux-gnu",
"aarch64-unknown-linux-musl",
"x86_64-apple-darwin",
"x86_64-pc-windows-msvc",
"x86_64-unknown-linux-gnu",
"x86_64-unknown-linux-musl",
]
bin-aliases = { pact-broker-cli = ["pact-broker"] }
install-path = "~/.pact/bin"
post-announce-jobs = [
"./publish-containers",
"./record-deployment",
"./legacy-artifacts"
]
github-custom-job-permissions = { publish-containers = { contents = "read", packages = "write" }, legacy-artifacts = { contents = "write" } }
# pr-run-mode = "upload" # Uncomment to run full builds on PRs
[lib]
name = "pact_broker_cli"
path = "src/main.rs"
[[bin]]
name = "pact-broker-cli"
path = "src/bin.rs"
[dependencies]
anyhow = "1"
async-trait = "0.1"
base64 = "0.23"
clap = { version = "4", features = ["cargo", "derive", "env"] }
clap_complete = "4"
comfy-table = "7"
console = "0.16"
futures = "0.3"
glob = "0.3"
http = "1"
httpdate = "1"
itertools = "0.15"
log = "0.4"
maplit = "1.0"
mime = "0.3"
opentelemetry = "0.32"
opentelemetry-appender-tracing = "0.32"
opentelemetry-http = "0.32"
opentelemetry-otlp = { version = "0.32", features = [
"grpc-tonic",
"logs",
"tls",
"tls-roots",
"trace"
] }
opentelemetry_sdk = "0.32"
opentelemetry-stdout = { version = "0.32", features = ["logs", "trace"] }
pact_models = "1"
regex = "1"
reqwest = { version = "0.13", default-features = false, features = [
"blocking",
"http2",
"json",
"native-tls-vendored",
"stream"
] }
reqwest-middleware = "0.5"
reqwest-retry = "0.9"
reqwest-tracing = { version = "0.7", features = ["opentelemetry_0_32"] }
serde = "1"
serde_json = "1"
serde_with = { version = "3", features = ["json"] }
thiserror = "2"
tokio = { version = "1", features = ["rt-multi-thread"] }
tracing = { version = "0.1", features = ["std"] }
tracing-opentelemetry = "0.33"
tracing-subscriber = { version = "0.3", features = [
"env-filter",
"fmt",
"registry",
"std"
] }
url = "2"
urlencoding = "2"
uuid = { version = "1", features = ["v4"] }
[dev-dependencies]
axum = "=0.8.9"
expectest = "=0.12.0"
pact_consumer = "=1.4.5"
pretty_assertions = "=1.4.1"
test-log = { version = "=0.2.21", features = ["trace"] }
tokio = { version = "=1.53.1", features = ["macros", "net", "rt-multi-thread"] }
trycmd = "=1.2.0"
[profile.dist]
inherits = "release"
opt-level = "z"
strip = true
lto = true
codegen-units = 1