docs.rs failed to build rhai-sci-0.1.8
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Visit the last successful build:
rhai-sci-0.2.2
About rhai-sci
This crate provides some basic scientific computing utilities for the Rhai scripting language, inspired by languages
like MATLAB, Octave, and R. For a complete API reference, check the docs.
Install
To use the latest released version of rhai-sci, add this to your Cargo.toml:
= "0.1.8"
To use the bleeding edge instead, add this:
= { = "https://github.com/cmccomb/rhai-sci" }
Usage
Using this crate is pretty simple! If you just want to evaluate a single line of Rhai, then you only need:
use INT;
use eval;
let result = .unwrap;
If you need to use rhai-sci as part of a persistent Rhai scripting engine, then do this instead:
use ;
use SciPackage;
// Create a new Rhai engine
let mut engine = new;
// Add the rhai-sci package to the new engine
engine.register_global_module;
// Now run your code
let value = engine..unwrap;
Features
| Feature | Default | Description |
|---|---|---|
metadata |
Disabled | Enables exporting function metadata and is necessary for running doc-tests on Rhai examples. |
io |
Enabled | Enables the read_matrix function but pulls in several additional dependencies (polars, url, temp-file, csv-sniffer, minreq). |
nalgebra |
Enabled | Enables several functions (regress, inv, mtimes, horzcat, vertcat, repmat, svd, hessenberg, and qr) but brings in the nalgebra and linregress crates. |
rand |
Enabled | Enables the rand function for generating random FLOAT values and random matrices, but brings in the rand crate. |
smartcore |
Enabled | Enables the eigs, train, and predict functions, but brings in the smartcore and bincode crates. |