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 runtime

Enables fast-tls of jl-sys

Affects jlrs::util, runtime::sync_rt, jlrs::runtime

async-rt async-std-rt? tokio-rt? = async, deadqueue, futures-concurrency

Enable async runtime

Enables fast-tls of jl-sys

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 runtime

Affects jlrs::async_util, target::Target.into_extended_async_target, target::ExtendedAsyncTarget

ccall uv? = threadpool

Enable ccall module for use from ccalled Rust functions

Enables ccall of jlrs-macros

Affects jlrs::ccall

f16 full? full-no-rt? = half

Enable using f16 as a layout for Float16 data

Affects 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 ndarray

Affects 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 module

Affects jlrs::prelude

pyplot full? full-no-rt?

Enable the pyplot module

Affects jlrs::pyplot

uv full? full-no-rt? = ccall

Enable ccall feature, link libuv, and enable CCall::us_async_send

Enables uv of jl-sys

c-unwind

Enables c-unwind of jl-sys

julia-1-6

Julia version

Link Julia 1.6

Enables 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

Enables debug of jl-sys

i686

Link 32-bits version of Julia on Linux

Enables i686 of jl-sys

Don't link Julia, useful when building a shared library that will be loaded by and used from Julia.

Enables no-link of jl-sys

yggdrasil

Compile from BinaryBuilder's cross-compilation environment

Enables yggdrasil of jl-sys

windows

Cross-compile to Windows

Enables windows of jl-sys and jlrs-macros

macos

Cross-compile to macOS

Enables macos of jl-sys

mem-debug

Print diagnostic information about memory management

docs = full, julia-1-10

Internal

Used to generate docs for docs.rs

Enables docs of jl-sys

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.

threadpool ccall?
async-std async-std-rt?
async-trait async?
crossbeam-channel async?
futures async?
half f16?
ndarray jlrs-ndarray?
tokio tokio-rt?
deadqueue async-rt?
futures-concurrency async-rt?