Ivan Boldyrev 8f587b7803
feature(execution-engine): Canon data with CID (#419)
* Use CID values for tetraplets and `canon` vectors.

* Rename `cid_store` to `value_store`

It is consistent with the new `tetraplet_store` and `canon_store`
fields.

* Make canon data more typeful

The `CanonResult` doesn't take a JSON value anymore that is further
deserialized elsewhere, but is a struct that has all data deserialized.

* Typeful `CID` type

The `CID` type has a phantom type paramter defining its value's type.

* Group cid stores and trackers

Group cid stores into `CidInfo` struct, and trackers into `ExecutionCidState` struct.
2023-01-09 13:22:57 +07:00

18 lines
688 B
TOML

[package]
name = "air-interpreter-cid"
description = "AIR interpreter CID util module"
version = "0.2.0"
authors = ["Fluence Labs"]
edition = "2018"
license = "Apache-2.0"
documentation = "https://docs.rs/air-interpreter-cid"
repository = "https://github.com/fluencelabs/aquavm/tree/master/crates/air-lib/interpreter-cid"
keywords = ["fluence", "air", "programming-language", "cid", "ipld"]
categories = ["wasm"]
[dependencies]
cid = { version = "0.10.0", default-features = false, features = ["std"] }
multihash = { version = "0.18.0", default-features = false, features = ["multihash-impl", "std", "sha2"] }
serde = { version = "1.0.152", features = ["derive"] }
serde_json = "1.0.91"