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
70 changes: 28 additions & 42 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

15 changes: 0 additions & 15 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,3 @@
members = ["ant-core", "ant-cli"]
resolver = "2"

# Pin ant-protocol to WithAutonomi/ant-protocol `main` so ChunkPutRequest's
# `content` field is `Bytes` (not `Vec<u8>`), letting the close-group fan-out
# in `ant-core/src/data/client/chunk.rs` share a single backing buffer across
# peer sends instead of `to_vec()`-copying the 4 MB payload per peer.
# The `Bytes` change landed in https://github.com/WithAutonomi/ant-protocol/pull/6.
# Remove once a crates.io release containing it is published.
#
# ant-node (a dev-dep of ant-core) was updated to the new `Bytes`-typed
# `ChunkPutRequest::content` on `main` but no crates.io release yet exists
# that includes it. Without this patch, the transitive `ant-node 0.11.2`
# fails to build under `cargo clippy --all-targets` / `cargo test`.
[patch.crates-io]
ant-protocol = { git = "https://github.com/WithAutonomi/ant-protocol.git", rev = "93e63b8a41a97c37c24d1164a3ee5525e002ddcd" }
ant-node = { git = "https://github.com/WithAutonomi/ant-node.git", rev = "8b68b2d7f4662faf67ed7812dc6cb37de0c74a8b" }

2 changes: 1 addition & 1 deletion ant-cli/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "ant-cli"
version = "0.2.2"
version = "0.2.3"
edition = "2021"
description = "Unified CLI (`ant`) for the Autonomi network: store and retrieve data, and manage local nodes."
license = "MIT OR Apache-2.0"
Expand Down
10 changes: 5 additions & 5 deletions ant-core/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "ant-core"
version = "0.2.3"
version = "0.2.4"
edition = "2021"
description = "Headless Rust library for the Autonomi network: data storage and retrieval with self-encryption and EVM payments, plus node lifecycle management."
license = "MIT OR Apache-2.0"
Expand Down Expand Up @@ -36,7 +36,7 @@ tower-http = { version = "0.6.8", features = ["cors"] }
# under `ant_protocol::{evm, transport, pqc}`. This is the ONE pin for
# those three deps — do not add direct evmlib/saorsa-core/saorsa-pqc
# deps here or the version can skew between ant-client and ant-node.
ant-protocol = { git = "https://github.com/WithAutonomi/ant-protocol", rev = "93e63b8a41a97c37c24d1164a3ee5525e002ddcd" }
ant-protocol = "2.1.0"
xor_name = "5"
self_encryption = "0.35.0"
futures = "0.3"
Expand All @@ -56,7 +56,7 @@ sysinfo = { version = "0.32", default-features = false, features = ["system"] }
# ant-node is optional. It is only linked for the `LocalDevnet` wrapper
# that spawns a local in-process network for development and testing.
# Enable with `--features devnet`.
ant-node = { git = "https://github.com/WithAutonomi/ant-node", rev = "8b68b2d7f4662faf67ed7812dc6cb37de0c74a8b", optional = true }
ant-node = { version = "0.11.3", optional = true }
tracing-subscriber = { version = "0.3", features = ["env-filter"] }

[target.'cfg(unix)'.dependencies]
Expand All @@ -82,7 +82,7 @@ devnet = ["dep:ant-node"]
# in-process to exercise the wire protocol end-to-end. ant-node is a
# dev-dep here (separate from the optional runtime dep above) so tests
# always compile even without the `devnet` feature.
ant-node = { git = "https://github.com/WithAutonomi/ant-node", rev = "8b68b2d7f4662faf67ed7812dc6cb37de0c74a8b" }
ant-node = "0.11.3"
serial_test = "3"
anyhow = "1"
alloy = { version = "1.6", features = ["node-bindings"] }
Expand All @@ -92,7 +92,7 @@ rmp-serde = "1"
# which populates a cache via `add_peer_trusted` (bypasses Sybil rate limits)
# and then verifies reload after save. Test-only — no runtime version-pin
# concern. Tracks ant-node's transitive saorsa-core dep.
saorsa-core = { git = "https://github.com/saorsa-labs/saorsa-core", branch = "fix/stability-improvements" }
saorsa-core = "0.24.3"

[[example]]
name = "start-local-devnet"
Expand Down
Loading