Skip to content

Rust toolchain for ain #7

@ghost

Description

We have a WIP integration of wasm, grpc and testing framework for defid (all of which are in Rust and hence libain-rs). In order to be able to develop and release with ease, we need to integrate Rust toolchain into defid, which involves fiddling around the depends system. We approach this in two phases:

  1. To quickly start developing, we hide the libain-rs integration under certain feature flags. When those flags are set, depends will expect Rust toolchain to exist locally. There should also be a possibility to specify local version of libain-rs, which will then be used as an override instead of pulling this repository.
  2. As we mature, the flags will be flipped to use libain-rs by default. At this point, it wouldn't make sense to enforce having rustc and cargo as a prerequisite in everyone's machine. Now, we could build artifacts for multiple targets and host them in CI or some public bucket, which can then be downloaded by depends and link them directly to defid builds.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions