aquavm/air/Cargo.toml
Ivan Boldyrev 8ce8af3823
feat(avm-server,air-interpreter,aquavm-air)!: secret key and particle ID arguments (#593)
* feat(avm-server)!: keypair and particle ID arguments

Add `&fluence_keypair::KeyPair` argument to `AVM::call` and
`AVMRunner::call`.  This value is further forwarded in a deconstructed
form to WASM Air interpreter, but is not used there yet. Also,
`AVMRunner::call` gets `particle_id: String` argument.

feat(air-interpreter)!: `invoke` methods have three new arguments:
`key_format: u8`, `secret_key_bytes: Vec<u8>` and `paritcle_id: String`.

feat(aquavm-air): `air::execute_air` has two three arguments:
`key_format: u8`, `secret_key_bytes: Vec<u8>` and `paritcle_id: String`.

feat(aquavm-air-cli)!: add `--random-key`/`--ed25519-key file` options to AIR CLI.

* feat(avm-server)!: Add `RunnerError::KeypairError`

* chore(bench): Add signature performance benchmarks

These benchmarks contain valid signature, so they should work with
verification out of the box.

---------

Co-authored-by: Artsiom Shamsutdzinau <shamsartem@gmail.com>
Co-authored-by: folex <0xdxdy@gmail.com>
2023-06-23 03:12:37 +07:00

83 lines
2.6 KiB
TOML

[package]
name = "aquavm-air"
version = "0.39.0"
description = "Interpreter of AIR scripts intended to coordinate request flow in the Fluence network"
authors = ["Fluence Labs"]
edition = "2018"
license = "Apache-2.0"
repository = "https://github.com/fluencelabs/aquavm"
documentation = "https://docs.rs/aquavm-air"
keywords = ["fluence", "air", "webassembly", "programming-language"]
categories = ["wasm"]
[lib]
name = "air"
path = "src/lib.rs"
doctest = false
[dependencies]
aquavm-air-parser = { version = "0.7.4", path = "../crates/air-lib/air-parser" }
air-execution-info-collector = { version = "0.7.4", path = "../crates/air-lib/execution-info-collector" }
air-interpreter-cid = { version = "0.2.0", path = "../crates/air-lib/interpreter-cid" }
air-interpreter-data = { version = "0.7.0", path = "../crates/air-lib/interpreter-data" }
air-interpreter-signatures = { version = "0.1.0", path = "../crates/air-lib/interpreter-signatures" }
air-interpreter-interface = { version = "0.13.0", path = "../crates/air-lib/interpreter-interface", default-features = false }
air-log-targets = { version = "0.1.0", path = "../crates/air-lib/log-targets" }
air-lambda-ast = { version = "0.1.0", path = "../crates/air-lib/lambda/ast" }
air-lambda-parser = { version = "0.1.0", path = "../crates/air-lib/lambda/parser" }
air-trace-handler = { version = "0.2.0", path = "../crates/air-lib/trace-handler" }
air-utils = { version = "0.1.0", path = "../crates/air-lib/utils" }
polyplets = { version = "0.3.2", path = "../crates/air-lib/polyplets" }
fluence-keypair = { version = "0.10.1" }
serde = { version = "1.0.159", features = [ "derive", "rc" ] }
serde_json = "1.0.95"
boolinator = "2.4.0"
concat-idents = "1.1.4"
maplit = "1.0.2"
non-empty-vec = "0.2.3"
log = "0.4.17"
once_cell = "1.17.1"
fstrings = "0.2.3"
thiserror = "1.0.40"
semver = "1.0.17"
strum = "0.24"
strum_macros = "0.24"
tracing = "0.1.37"
[dev_dependencies]
air-test-utils = { path = "../crates/air-lib/test-utils" }
air-testing-framework = { path = "../crates/testing-framework" }
fluence-app-service = "0.25.0"
fluence-keypair = "0.10.1"
marine-rs-sdk = { version = "0.7.0", features = ["logger"] }
# the feature just silence a warning in the criterion 0.3.x.
criterion = { version = "0.3.3", features = ["html_reports"] }
csv = "1.1.5"
once_cell = "1.4.1"
env_logger = "0.7.1"
pretty_assertions = "0.6.1"
serde_json = "1.0.61"
[[bench]]
name = "call_benchmark"
harness = false
[[bench]]
name = "chat_benchmark"
harness = false
[[bench]]
name = "create_service_benchmark"
harness = false
[[bench]]
name = "data_big_benchmark"
harness = false
[[bench]]
name = "data_long_benchmark"
harness = false