Skip to content

Commit b2eedb1

Browse files
committed
Fix testing
1 parent 54cbceb commit b2eedb1

File tree

3 files changed

+133
-108
lines changed

3 files changed

+133
-108
lines changed

app/src/lib.rs

Lines changed: 1 addition & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -297,27 +297,14 @@ pub struct Urls<'a> {
297297

298298
impl<'a> Urls<'a> {
299299
/// Create a new `Urls` instance.
300-
///
301-
/// # Example
302-
///
303-
/// ```rust,no_run
304-
/// Urls::new(base_url).home()
305-
/// ```
306300
pub fn new(base_url: impl Into<std::borrow::Cow<'a, Url>>) -> Self {
307301
Self {
308302
base_url: base_url.into(),
309303
}
310304
}
311305

312306
/// Return base `Url`. If `base_url` isn't owned, it will be cloned.
313-
///
314-
/// # Example
315-
///
316-
/// ```rust,no_run
317-
/// pub fn admin_urls(self) -> page::admin::Urls<'a> {
318-
/// page::admin::Urls::new(self.base_url().add_path_part(ADMIN))
319-
/// }
320-
/// ```
307+
321308
#[must_use]
322309
pub fn base_url(self) -> Url {
323310
self.base_url.into_owned()

pslink/Cargo.toml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -39,22 +39,22 @@ clap = { version = "4", features = [
3939
dotenv = "0.15.0"
4040
fluent-langneg = "0.14"
4141
image = "0.25"
42-
opentelemetry = { version = "0.24" }
43-
opentelemetry_sdk = { version = "0.24", features = ["rt-tokio-current-thread"] }
42+
opentelemetry = { version = "0.25" }
43+
opentelemetry_sdk = { version = "0.25", features = ["rt-tokio-current-thread"] }
4444
opentelemetry-jaeger = "0.22"
45-
opentelemetry-otlp = "0.17"
46-
opentelemetry-semantic-conventions = "0.16"
45+
opentelemetry-otlp = "0.25"
46+
opentelemetry-semantic-conventions = "0.25"
4747
qrcode = "0.14"
4848
rand = "0.8"
4949
rpassword = "7.3"
5050
serde = "1.0"
5151
thiserror = "1.0"
5252
tracing-actix-web = "0.7"
5353
tracing-bunyan-formatter = "0.3.0"
54-
tracing-opentelemetry = "0.25"
54+
tracing-opentelemetry = "0.26"
5555
async-trait = "0.1"
5656
enum-map = { version = "2", features = ["serde"] }
57-
reqwest = { version = "0.12.7", features = ["rustls-tls"] }
57+
reqwest = { version = "0.12.7", features = ["rustls-tls", "json"] }
5858
reqwest_cookie_store = "0.8"
5959
shared = { path = "../shared" }
6060

@@ -82,6 +82,7 @@ actix-server = "2"
8282
tempdir = "0.3"
8383
test_bin = "0.4"
8484
tokio = "1"
85+
serde_json = "1.0"
8586

8687
[dev-dependencies.reqwest]
8788
features = ["cookies"]

0 commit comments

Comments
 (0)