Cargo Features
[dependencies]
rhai-sci = { version = "0.2.1", default-features = false, features = ["metadata", "io", "nalgebra", "rand"] }
- default = io, nalgebra, rand
-
These default features are set whenever
rhai-sci
is added without
somewhere in the dependency tree.default-features = false - metadata
-
rhai:
Enable functions metadata (including doc-comments); implies
serde
. - io default = csv-sniffer, minreq, polars, temp-file, url
-
Affects
matrices_and_arrays::matrix_functions.read_write
… - nalgebra default = linregress, nalgebralib
-
Affects
matrices_and_arrays::matrix_functions.invert_matrix
,matrices_and_arrays::matrix_functions.matrix_eigs_alt
,matrices_and_arrays::matrix_functions.svd_decomp
,matrices_and_arrays::matrix_functions.qr_decomp
,matrices_and_arrays::matrix_functions.hessenberg
,matrices_and_arrays::matrix_functions.mtimes
,matrices_and_arrays::matrix_functions.horzcat
,matrices_and_arrays::matrix_functions.vertcat
,matrices_and_arrays::matrix_functions.repmat
,patterns::if_matrix_do
,patterns::if_matrices_and_compatible_convert_to_vec_array_and_do
,patterns::omatrix_to_vec_dynamic
,patterns::ovector_to_vec_dynamic
,statistics::stats.regress
… - rand default = randlib
-
Affects
matrices_and_arrays::matrix_functions.rand_single_input
,matrices_and_arrays::matrix_functions.rand_double_input
,misc::misc_functions.rand_float
…
Features from optional dependencies
In crates that don't use the dep:
syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.
- nalgebralib nalgebra
-
Enables nalgebra ^0.32.1
- polars io
-
Enables polars ^0.27.2
- url io
- temp-file io
- csv-sniffer io
- minreq io
- randlib rand
-
Enables rand
- linregress nalgebra