Skip to content
Merged
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
4 changes: 2 additions & 2 deletions connect-two-endpoints.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -32,15 +32,15 @@ pip install iroh
swift package init --type executable --name ping-pong
cd ping-pong
# add to Package.swift dependencies:
# .package(url: "https://github.com/n0-computer/iroh-ffi", from: "1.0.0-rc.0")
# .package(url: "https://github.com/n0-computer/iroh-ffi", from: "1.0.0")
# and to your target dependencies:
# .product(name: "IrohLib", package: "iroh-ffi")
# work in Sources/ping-pong/main.swift
```

```bash Kotlin
# scaffold a Gradle project, then add the iroh dependency:
# dependencies { implementation("computer.iroh:iroh:1.0.0-rc.0") }
# dependencies { implementation("computer.iroh:iroh:1.0.0") }
# (Maven Central — requires mavenCentral() in your repositories block)
# work in a Main.kt with `fun main(...)`
```
Expand Down
4 changes: 2 additions & 2 deletions connecting/dht-address-lookup.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ crate, which you add alongside `iroh`.

```toml
[dependencies]
iroh = "1.0.0-rc.1"
iroh-mainline-address-lookup = "0.3"
iroh = "1"
iroh-mainline-address-lookup = "0.4"
```

Add the `DhtAddressLookup` to the endpoint with `Endpoint::builder`. You can run it
Expand Down
4 changes: 2 additions & 2 deletions connecting/local-address-lookup.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ crate, which you add alongside `iroh`.

```toml
[dependencies]
iroh = "1.0.0-rc.1"
iroh-mdns-address-lookup = "0.3"
iroh = "1"
iroh-mdns-address-lookup = "0.4"
```

Add the `MdnsAddressLookup` to the endpoint with `Endpoint::builder`. We run it next to the default DNS address lookup, so connections still work when the two endpoints are not on the same local network.
Expand Down
2 changes: 1 addition & 1 deletion languages/kotlin.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ repositories {
}

dependencies {
implementation("computer.iroh:iroh:1.0.0-rc.1")
implementation("computer.iroh:iroh:1.0.0")
}
```

Expand Down
2 changes: 1 addition & 1 deletion languages/wasm-browser.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ node is involved in the connection.
### `iroh` crate features

You need to disable iroh's default features for the Wasm build to succeed.
To do so, depend on iroh via `iroh = { version = "1.0.0-rc.1", default-features = false }`.
To do so, depend on iroh via `iroh = { version = "1", default-features = false }`.
This drops the `metrics` feature, so iroh no longer tracks metrics locally.

### npm package
Expand Down
Loading