Cargo Features
jlrs has no features set by default.
[dependencies]
jlrs = { version = "0.21.0", features = ["julia-1-6", "julia-1-7", "julia-1-8", "julia-1-9", "julia-1-10", "julia-1-11", "julia-1-12", "full", "full-no-rt", "local-rt", "async-rt", "tokio-rt", "tokio-net", "multi-rt", "async", "ccall", "f16", "complex", "jlrs-ndarray", "jlrs-derive", "lto", "diagnostics", "debug", "i686", "no-link", "yggdrasil", "windows", "macos", "docs"] }
- julia-1-6
-
Julia version
Link Julia 1.6Enables julia-1-6 of jl-sys and jlrs-macros
- julia-1-7
-
Link Julia 1.7
Enables julia-1-7 of jl-sys and jlrs-macros
- julia-1-8
-
Link Julia 1.8
Enables julia-1-8 of jl-sys and jlrs-macros
- julia-1-9
-
Link Julia 1.9
Enables julia-1-9 of jl-sys and jlrs-macros
- julia-1-10
-
Link Julia 1.10
Enables julia-1-10 of jl-sys and jlrs-macros
- julia-1-11
-
Link Julia 1.11
Enables julia-1-11 of jl-sys and jlrs-macros
- julia-1-12 docs?
-
Link Julia 1.12
Enables julia-1-12 of jl-sys and jlrs-macros
- full docs? = ccall, complex, f16, jlrs-derive, jlrs-ndarray, local-rt, multi-rt, tokio-rt
-
Enable all features except any version features
- full-no-rt = async, ccall, f16, jlrs-derive, jlrs-ndarray
-
Enable all features except any version features or runtimes
- local-rt full?
-
Runtimes
Enable local runtimeAffects
handle::local_handle
,runtime::sync_rt
,util::test
,runtime::builder
… - async-rt tokio-rt? = async, tokio
-
Enable async runtime
Affects
builder::async_builder
,handle::async_handle
,mt_handle::PoolBuilder
,runtime::builder
… - tokio-rt full? tokio-net? = async-rt
-
Enable tokio as backing runtime
Affects
executor::tokio_exec
… - tokio-net = tokio-rt
-
Enable tokio IO drivers
- multi-rt full?
-
Enable multithreaded runtime
Affects
handle::mt_handle
,runtime::builder
… - async async-rt? full-no-rt? = async-channel, async-trait
-
Utilities
Enable task and channel traits used by the async runtimeAffects
jlrs::async_util
,frame::async_frame
,target::Target.into_extended_async_target
,target::ExtendedAsyncTarget
,runtime::executor
… - ccall full? full-no-rt?
-
Enable
ccall
module for use fromccall
ed Rust functionsEnables ccall of jlrs-macros
Affects
handle::ccall
… - f16 full? full-no-rt? = half
-
Enable using
f16
as a layout forFloat16
dataAffects
layout::f16
… - complex full? = num-complex
-
Enable using
num_complex::Complex
as a layout forComplex
dataAffects
layout::complex
… - jlrs-ndarray full? full-no-rt? = ndarray
-
Enable converting a Julia array to an
ArrayView(Mut)
from ndarrayAffects
convert::ndarray
… - jlrs-derive full? full-no-rt?
-
Enable derive macros
Enables derive of jlrs-macros
- lto
-
Compile the support library with support for cross-language LTO.
- diagnostics
- debug
-
Target or link a specific Julia build or arch.
Link debug build of Julia - i686
-
Link 32-bits version of Julia on Linux
- no-link
-
Don't link Julia, useful when building a shared library that will be loaded by and used from Julia.
- yggdrasil
-
Compile from BinaryBuilder's cross-compilation environment
- windows
-
Cross-compile to Windows
Enables windows of jl-sys and jlrs-macros
- macos
-
Cross-compile to macOS
- docs = full, julia-1-12
-
Used to generate docs for docs.rs
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.