Crates.io | cryptol_client |
lib.rs | cryptol_client |
version | 0.1.1 |
source | src |
created_at | 2023-02-12 03:52:20.920519 |
updated_at | 2023-02-12 17:59:59.774491 |
description | `cryptol_client` is a collection of utilities for connecting to and interacting with a running `cryptol-remote-api` instance. |
homepage | |
repository | https://github.com/weaversa/cryptol-rust-client |
max_upload_size | |
id | 782831 |
size | 45,866 |
This crate is a collection of utilities for connecting to and
interacting with a running
cryptol-remote-api
instance.
This project uses a number of mechanisms for increasing its assurance.
clippy
linter is
used at the pedantic level,Presuming Docker is available, the project may be tested by first
starting cryptol-remote-api
.
$ docker run --rm -it -p 49352:49352 ghcr.io/galoisinc/cryptol-remote-api:nightly +RTS -N -RTS http --host 0.0.0.0 --port 49352 / --max-occupancy 1000
Next, the following commands may be run to test this project:
$ CRYPTOL_SERVER_URL="http://0.0.0.0:49352" cargo test
$ CRYPTOL_SERVER_URL="http://0.0.0.0:49352" cargo test --example sha384
As well, one can run the provided SHA-384 example as follows:
$ CRYPTOL_SERVER_URL="http://0.0.0.0:49352" cargo run --example sha384 "0x12345678"