Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 2 additions & 14 deletions pubky-testnet/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,7 @@

All notable changes to the `pubky-testnet` crate will be documented in this file.

## [0.7.2] - 2026-03-01

### Changed

- Set explicit versions for all workspace dependencies in `Cargo.toml` for better reproducibility when publishing

## [0.7.1] - 2026-02-27

### Changed

- Set explicit versions for internal pubky dependencies in `Cargo.toml`

## [0.7.0] - 2026-02-26
## [0.7.3] - 2026-03-03

### Added

Expand All @@ -23,7 +11,7 @@ All notable changes to the `pubky-testnet` crate will be documented in this file

### Changed

- Bumped `pkarr`, `mainline`, and `pkarr-relay` dependencies
- Set explicit versions for all workspace dependencies in `Cargo.toml` for better reproducibility when publishing

### Fixed

Expand Down
16 changes: 8 additions & 8 deletions pubky-testnet/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "pubky-testnet"
description = "A local test network for Pubky Core development."
version = "0.7.2"
version = "0.7.3"
edition.workspace = true
authors.workspace = true
license.workspace = true
Expand All @@ -14,26 +14,26 @@ categories = ["web-programming", "authentication", "cryptography"]

[dependencies]
anyhow = "1.0.101"
pkarr-relay = "0.11.4"
pkarr-relay = "0.11.1"
tokio = { version = "1.49.0", features = ["rt-multi-thread", "macros", "signal"] }
tracing-subscriber = "0.3.22"
url = "2.5.8"

pubky = { path = "../pubky-sdk", version = "0.6.0", features = ["json"] }
pubky-common = { path = "../pubky-common", version = "0.6.0" }
pubky-homeserver = { path = "../pubky-homeserver", version = "0.6.0", default-features = false, features = [
pubky = { version = "0.6.0", features = ["json"] }
pubky-common = { version = "0.6.0" }
pubky-homeserver = { version = "0.6.0", default-features = false, features = [
"testing",
] }
pubky_test_utils = { path = "../test_utils/pubky_test", version = "0.1.0" }
http-relay = { path = "../http-relay", version = "0.5.1" }
tempfile = "3.19.1"
tracing = "0.1.44"
pkarr = { version = "5.0.3", default-features = false, features = ["relays"] }
mainline = "6.1.1"
pkarr = { version = "3.10.0", default-features = false, features = ["dht", "relays"] }
mainline = "5.4.0"
clap = "4.5.58"
dirs = "6.0.0"
once_cell = "1.21.3"
postgresql_embedded = { version = "0.20", optional = true }
postgresql_embedded = { version = "=0.20.0", optional = true }
rand = { version = "0.9", optional = true }

[features]
Expand Down
6 changes: 3 additions & 3 deletions pubky-testnet/src/static_testnet.rs
Original file line number Diff line number Diff line change
Expand Up @@ -149,11 +149,11 @@ impl StaticTestnet {
}

let mut builder = pkarr::mainline::Dht::builder();
let dht = builder
builder
.port(6881)
.bootstrap(other_bootstrap_nodes)
.server_mode()
.build()?;
.server_mode();
let dht = builder.build()?;
Ok(Some(dht))
}

Expand Down
4 changes: 2 additions & 2 deletions pubky-testnet/src/testnet.rs
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ pub struct Testnet {
impl Testnet {
/// Run a new testnet with a local DHT.
pub async fn new() -> Result<Self> {
let dht = pkarr::mainline::Testnet::builder(2).build()?;
let dht = pkarr::mainline::Testnet::new_async(2).await?;
let testnet = Self {
dht,
pkarr_relays: vec![],
Expand All @@ -52,7 +52,7 @@ impl Testnet {
pub async fn new_with_custom_postgres(
postgres_connection_string: ConnectionString,
) -> Result<Self> {
let dht = pkarr::mainline::Testnet::builder(2).build()?;
let dht = pkarr::mainline::Testnet::new_async(2).await?;
let testnet: Testnet = Self {
dht,
pkarr_relays: vec![],
Expand Down
Loading