Cargo Features
[dependencies]
jlrs = { version = "0.19.2", default-features = false, features = ["full", "full-no-rt", "sync-rt", "async-rt", "async-std-rt", "tokio-rt", "async", "ccall", "f16", "internal-types", "jlrs-ndarray", "extra-fields", "jlrs-derive", "prelude", "pyplot", "uv", "c-unwind", "julia-1-6", "julia-1-7", "julia-1-8", "julia-1-9", "julia-1-10", "julia-1-11", "debug", "i686", "no-link", "yggdrasil", "windows", "macos", "mem-debug", "docs"] }
- default = prelude
-
The only default feature is the prelude module
- full docs? = async-std-rt, f16, internal-types, jlrs-derive, jlrs-ndarray, prelude, pyplot, sync-rt, tokio-rt, uv
-
Enable all features except any version features
- full-no-rt = async, f16, internal-types, jlrs-derive, jlrs-ndarray, prelude, pyplot, uv
-
Enable all features except any version features or runtimes
- sync-rt full?
-
Runtimes
Enable sync runtimeAffects
jlrs::util
,runtime::sync_rt
,jlrs::runtime
… - async-rt async-std-rt? tokio-rt? = async, deadqueue, futures-concurrency
-
Enable async runtime
Affects
convert::into_result
,runtime::async_rt
,jlrs::runtime
… - async-std-rt full? = async-rt, async-std
-
Enable async-std as backing runtime
Affects
async_rt::async_std_rt
… - tokio-rt full? = async-rt, tokio
-
Enable tokio as backing runtime
Affects
async_rt::tokio_rt
… - async async-rt? full-no-rt? = async-trait, crossbeam-channel, futures
-
Utilities
Enable task and channel traits used by the async runtimeAffects
jlrs::async_util
,target::Target.into_extended_async_target
,target::ExtendedAsyncTarget
… - ccall uv? = threadpool
-
Enable
ccall
module for use fromccall
ed Rust functionsEnables ccall of jlrs-macros
Affects
jlrs::ccall
… - f16 full? full-no-rt? = half
-
Enable using
f16
as a layout forFloat16
dataAffects
layout::f16
… - internal-types full? full-no-rt?
-
Enable all internal types
Affects
layout::ssa_value
,managed::internal
… - jlrs-ndarray full? full-no-rt? = ndarray
-
Enable converting a Julia array to an
ArrayView(Mut)
from ndarrayAffects
convert::ndarray
… - extra-fields
-
Provide several extra field accessor methods.
- jlrs-derive full? full-no-rt?
-
Enables derive of jlrs-macros
- prelude default full? full-no-rt?
-
Enable the
prelude
moduleAffects
jlrs::prelude
… - pyplot full? full-no-rt?
-
Enable the
pyplot
moduleAffects
jlrs::pyplot
… - uv full? full-no-rt? = ccall
-
Enable
ccall
feature, linklibuv
, and enableCCall::us_async_send
- c-unwind
- 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
Affects
async_rt::adopted
… - julia-1-10 docs?
-
Link Julia 1.10
Enables julia-1-10 of jl-sys and jlrs-macros
Affects
internal::binding
,async_rt::adopted
… - julia-1-11
-
Link Julia 1.11
Enables julia-1-11 of jl-sys and jlrs-macros
- 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
- mem-debug
-
Print diagnostic information about memory management
- docs = full, julia-1-10
-
Internal
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.