Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
e44b908
Integrate full package version history management into PackageRegistr…
chrisgitiota Jul 16, 2025
565a4b3
New package-history CLI tool to automatically create and update `Move…
chrisgitiota Jul 16, 2025
56c77e5
Merge branch 'main' into feat/full-package-history
chrisgitiota Jul 28, 2025
0692dbe
Use JSON format instead of TOML for the Move.package-history file
chrisgitiota Jul 28, 2025
3d39d3c
Fixed package_history_cli tests
chrisgitiota Aug 4, 2025
dfc88ce
Remove dead code
chrisgitiota Aug 4, 2025
69ca4cc
Rename `Move.package-history.json` to `Move.history.json`
chrisgitiota Aug 7, 2025
30abbcc
product_common now provides the functionality, previously implemented…
chrisgitiota Aug 8, 2025
29ca4a6
MoveHistoryManager holds move_lock_path and history_file_path now and…
chrisgitiota Aug 8, 2025
4c61d8d
Add function move_lock_file_exists()
chrisgitiota Aug 11, 2025
39aa898
Add function manage_history_file() providing main functionality neede…
chrisgitiota Aug 11, 2025
dc77438
fix fmt issues
chrisgitiota Aug 11, 2025
26a2f7d
fix warnings "hiding a lifetime that's elided elsewhere is confusing"
chrisgitiota Aug 11, 2025
01f1e11
fix bug in `console_out` messages of fn manage_history_file()
chrisgitiota Aug 11, 2025
d8a6b19
Updated MoveHistoryManager docs
chrisgitiota Aug 11, 2025
1bf1bd1
fix fmt issue
chrisgitiota Aug 11, 2025
ca6c8ca
Enhance MoveHistoryManager docs
chrisgitiota Aug 11, 2025
d9db850
fix fmt issue
chrisgitiota Aug 11, 2025
dae0cf5
ignore the build.rs example in rust doctest
chrisgitiota Aug 11, 2025
d854daf
Further enhance the docs for MoveHistoryManager and PackageRegistry
chrisgitiota Aug 12, 2025
ededffe
Merge branch 'main' into feat/full-package-history
chrisgitiota Aug 14, 2025
5363824
Remove doubled PackageRegistry struct definition
chrisgitiota Aug 14, 2025
e5e5e4a
Several enhancements
chrisgitiota Aug 14, 2025
6a08643
Hand over errors from `update()` or `init()` to users of `manage_hist…
chrisgitiota Aug 14, 2025
6c6295b
Replace `aliases_to_ignore` with `additional_aliases_to_watch` and a …
chrisgitiota Sep 23, 2025
12f1d50
Merge branch 'main' into feat/full-package-history
chrisgitiota Sep 23, 2025
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
2 changes: 2 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ serde_json = { version = "1.0", default-features = false }
strum = { version = "0.25", default-features = false, features = ["std", "derive"] }
thiserror = { version = "1.0", default-features = false }
tokio = { version = "1.46.1", default-features = false, features = ["process"] }
tempfile = "3.20.0"
toml = "0.8"

[workspace.lints.clippy]
result_large_err = "allow"
6 changes: 5 additions & 1 deletion product_common/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ serde.workspace = true
serde_json.workspace = true
strum.workspace = true
thiserror.workspace = true
toml = "0.8"
toml = { workspace = true, optional = true }
url = { version = "2", default-features = false, optional = true, features = ["serde"] }

[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
Expand All @@ -47,6 +47,7 @@ js-sys = { version = "0.3", optional = true }
[dev-dependencies]
iota_interaction = { version = "0.8.2", path = "../iota_interaction" }
iota_interaction_rust = { version = "0.8.2", path = "../iota_interaction_rust" }
tempfile.workspace = true

[features]
default = []
Expand Down Expand Up @@ -81,6 +82,9 @@ gas-station = ["transaction", "http-client"]
# instead use reqwest::Client.
default-http-client = ["http-client", "dep:reqwest"]

# Management functions to read Move.lock files and create/update Move.history.json files
move-history-manager = ["dep:toml"]

[package.metadata.docs.rs]
# To build locally:
# RUSTDOCFLAGS="--cfg docsrs" cargo +nightly doc --all-features --no-deps --workspace --open
Expand Down
2 changes: 2 additions & 0 deletions product_common/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ pub mod error;
pub mod gas_station;
#[cfg(feature = "http-client")]
pub mod http_client;
#[cfg(feature = "move-history-manager")]
pub mod move_history_manager;
pub mod network_name;
pub mod object;
pub mod package_registry;
Expand Down
Loading
Loading