Skip to content
Open
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
10 changes: 5 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
- name: Install rust
uses: dtolnay/rust-toolchain@efa25f7f19611383d5b0ccf2d1c8914531636bf9 # stable
with:
toolchain: stable
toolchain: 1.100.0
components: rustfmt

- name: Cargo fmt
Expand All @@ -50,7 +50,7 @@ jobs:
- name: Install rust
uses: dtolnay/rust-toolchain@efa25f7f19611383d5b0ccf2d1c8914531636bf9 # stable
with:
toolchain: stable
toolchain: 1.100.0
components: clippy

- name: Cache cargo registry
Expand All @@ -75,7 +75,7 @@ jobs:
- name: Install rust
uses: dtolnay/rust-toolchain@efa25f7f19611383d5b0ccf2d1c8914531636bf9 # stable
with:
toolchain: stable
toolchain: 1.100.0

- name: Cache cargo registry
uses: Swatinem/rust-cache@779680da715d629ac1d338a641029a2f4372abb5 # v2.8.2
Expand All @@ -99,7 +99,7 @@ jobs:
- name: Install rust
uses: dtolnay/rust-toolchain@efa25f7f19611383d5b0ccf2d1c8914531636bf9 # stable
with:
toolchain: stable
toolchain: 1.100.0
targets: wasm32-unknown-unknown

- name: Cache cargo registry
Expand Down Expand Up @@ -134,7 +134,7 @@ jobs:
- name: Install rust
uses: dtolnay/rust-toolchain@efa25f7f19611383d5b0ccf2d1c8914531636bf9 # stable
with:
toolchain: stable
toolchain: 1.100.0

- name: Cache cargo registry
uses: Swatinem/rust-cache@779680da715d629ac1d338a641029a2f4372abb5 # v2.8.2
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ jobs:
- name: Install rust
uses: dtolnay/rust-toolchain@efa25f7f19611383d5b0ccf2d1c8914531636bf9 # stable
with:
toolchain: stable
toolchain: 1.100.0

- name: Add target
run: rustup target add ${{ matrix.target }}
Expand Down Expand Up @@ -144,7 +144,7 @@ jobs:
- name: Install rust
uses: dtolnay/rust-toolchain@efa25f7f19611383d5b0ccf2d1c8914531636bf9 # stable
with:
toolchain: stable
toolchain: 1.100.0

- name: Publish crates
run: |
Expand Down
66 changes: 33 additions & 33 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -36,50 +36,50 @@ ap-relay-client = { path = "crates/ap-relay-client", version = "0.12.0", default
ap-relay-protocol = { path = "crates/ap-relay-protocol", version = "0.12.0" }

# External dependencies
async-trait = "0.1"
base64 = "0.22"
coset = "0.4.1"
chacha20poly1305 = "0.10"
ciborium = "0.2"
clap = { version = "4.5", features = ["derive", "env", "color"] }
clatter = { version = "2.0", default-features = false, features = [
async-trait = "=0.1.89"
base64 = "=0.22.1"
coset = "=0.4.2"
chacha20poly1305 = "=0.10.1"
ciborium = "=0.2.2"
clap = { version = "=4.5.60", features = ["derive", "env", "color"] }
clatter = { version = "=2.2.0", default-features = false, features = [
"getrandom",
"use-rust-crypto-ml-kem",
"use-25519",
"use-chacha20poly1305",
"use-sha",
] }
color-eyre = "0.6.3"
crossterm = { version = "0.28", features = ["event-stream"] }
darling = "0.20.10"
dirs = "5.0"
ed25519-dalek = "2.2.0"
futures-util = "0.3"
hex = "0.4"
hkdf = "0.12"
ml-dsa = "0.1.0-rc.7"
once_cell = "1.19"
ratatui = "0.29"
proc-macro2 = "1.0"
rand = "0.8"
quote = "1.0.45"
secrecy = { version = "0.10", features = ["serde"] }
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
sha2 = "0.10"
snow = { version = "0.9", features = ["xchachapoly"] }
syn = "2.0"
thiserror = "1.0"
tokio = { version = "1.36.0", features = [
color-eyre = "=0.6.5"
crossterm = { version = "=0.28.1", features = ["event-stream"] }
darling = "=0.20.11"
dirs = "=5.0.1"
ed25519-dalek = "=2.2.0"
futures-util = "=0.3.32"
hex = "=0.4.3"
hkdf = "=0.12.4"
ml-dsa = "=0.1.0-rc.7"
once_cell = "=1.21.3"
ratatui = "=0.29.0"
proc-macro2 = "=1.0.106"
rand = "=0.8.6"
quote = "=1.0.45"
secrecy = { version = "=0.10.3", features = ["serde"] }
serde = { version = "=1.0.228", features = ["derive"] }
serde_json = "=1.0.149"
sha2 = "=0.10.9"
snow = { version = "=0.9.6", features = ["xchachapoly"] }
syn = "=2.0.117"
thiserror = "=1.0.69"
tokio = { version = "=1.50.0", features = [
"macros",
"rt-multi-thread",
"sync",
"time",
] }
tokio-tungstenite = { version = "0.24" }
tracing = "0.1.41"
tracing-subscriber = { version = "0.3.20", features = ["fmt", "env-filter"] }
zeroize = { version = "1.8", features = ["zeroize_derive", "serde"] }
tokio-tungstenite = { version = "=0.24.0" }
tracing = "=0.1.44"
tracing-subscriber = { version = "=0.3.22", features = ["fmt", "env-filter"] }
zeroize = { version = "=1.8.2", features = ["zeroize_derive", "serde"] }

[workspace.lints.clippy]
unwrap_used = "deny"
Expand Down
10 changes: 5 additions & 5 deletions crates/ap-client/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,20 +25,20 @@ rand = { workspace = true }
serde = { workspace = true }
serde_json = { workspace = true }
thiserror = { workspace = true }
tokio = { version = "1.36.0", default-features = false, features = [
tokio = { version = "=1.50.0", default-features = false, features = [
"sync",
"macros",
] }
tracing = { workspace = true }
zeroize = { workspace = true }

[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
tokio = { version = "1.36.0", features = ["time"] }
tokio = { version = "=1.50.0", features = ["time"] }

[target.'cfg(target_arch = "wasm32")'.dependencies]
gloo-timers = { version = "0.3", features = ["futures"] }
wasm-bindgen-futures = "0.4"
web-time = "1"
gloo-timers = { version = "=0.3.0", features = ["futures"] }
wasm-bindgen-futures = "=0.4.64"
web-time = "=1.1.0"

[dev-dependencies]
ap-relay = { workspace = true }
Expand Down
8 changes: 4 additions & 4 deletions crates/ap-noise/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,20 +18,20 @@ ap-error = { workspace = true }
chacha20poly1305 = { workspace = true }
ciborium = { workspace = true }
clatter = { workspace = true }
hex = "0.4.3"
hex = "=0.4.3"
hkdf = { workspace = true }
rand = { workspace = true }
serde = { workspace = true }
sha2 = { workspace = true }
thiserror = { workspace = true }
tracing = { workspace = true }
zeroize = { version = "1.8.2", features = ["zeroize_derive"] }
zeroize = { version = "=1.8.2", features = ["zeroize_derive"] }

[target.'cfg(target_arch = "wasm32")'.dependencies]
js-sys = "0.3"
js-sys = "=0.3.91"

[dev-dependencies]
tokio = { version = "1", features = ["rt", "time", "macros"] }
tokio = { version = "=1.50.0", features = ["rt", "time", "macros"] }

[lints]
workspace = true
2 changes: 1 addition & 1 deletion crates/ap-relay-client/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ native-websocket = ["dep:futures-util", "dep:tokio-tungstenite", "dep:tracing",
ap-relay-protocol = { workspace = true }
futures-util = { workspace = true, optional = true }
serde_json = { workspace = true }
tokio = { version = "1.36.0", default-features = false, features = ["sync"] }
tokio = { version = "=1.50.0", default-features = false, features = ["sync"] }
tokio-tungstenite = { workspace = true, features = ["native-tls"], optional = true }
tracing = { workspace = true, optional = true }

Expand Down
18 changes: 9 additions & 9 deletions crates/ap-uniffi/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,18 +19,18 @@ ap-client = { path = "../ap-client", features = ["native-websocket"] }
ap-relay-client = { path = "../ap-relay-client", default-features = false, features = ["native-websocket"] }
ap-relay-protocol = { path = "../ap-relay-protocol" }
ap-noise = { path = "../ap-noise" }
async-trait = "0.1"
thiserror = "1.0"
tokio = { version = "1.36.0", features = ["rt-multi-thread", "sync", "macros"] }
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["fmt", "env-filter"] }
uniffi = { version = "0.28", features = ["cli", "tokio"] }
zeroize = { version = "1.8", features = ["zeroize_derive"] }
async-trait = "=0.1.89"
thiserror = "=1.0.69"
tokio = { version = "=1.50.0", features = ["rt-multi-thread", "sync", "macros"] }
tracing = "=0.1.44"
tracing-subscriber = { version = "=0.3.22", features = ["fmt", "env-filter"] }
uniffi = { version = "=0.28.3", features = ["cli", "tokio"] }
zeroize = { version = "=1.8.2", features = ["zeroize_derive"] }

[dev-dependencies]
ap-relay = { path = "../ap-relay" }
tokio = { version = "1.36.0", features = ["rt-multi-thread", "sync", "macros", "time"] }
zeroize = { version = "1.8", features = ["zeroize_derive"] }
tokio = { version = "=1.50.0", features = ["rt-multi-thread", "sync", "macros", "time"] }
zeroize = { version = "=1.8.2", features = ["zeroize_derive"] }

[lints.clippy]
unwrap_used = "deny"
Expand Down
Loading