Cargo Features

[dependencies]
eyra = { version = "0.16.10", default-features = false, features = ["std", "threadsafe-setenv", "log", "atomic-dbg-logger", "env_logger", "max_level_off", "experimental-relocate", "be-std", "use-compiler-builtins", "extra-syscalls", "todo", "deprecated-and-unimplemented"] }
default = be-std, threadsafe-setenv, use-compiler-builtins

These default features are set whenever eyra is added without default-features = false somewhere in the dependency tree.

std be-std env_logger?

Enable features that depend on std. Disable this for no_std.

Enables std of c-gull

threadsafe-setenv default

This makes setenv and friends thread-safe by leaking memory.

Enables threadsafe-setenv of c-gull

log

Enable logging of program and thread startup and shutdown.

Enables log of c-gull

atomic-dbg-logger

Install atomic_dbg::log as a logger.

Enables atomic-dbg-logger of c-gull

env_logger = std

Install the env_logger crate as a logger.

Enables env_logger of c-gull

max_level_off

Disable logging.

Enables max_level_off of c-gull

experimental-relocate

Enable experimental support for performing startup-time relocations, needed to support statically-linked PIE executables.

Enables experimental-relocate of c-gull

be-std default = std

Have eyra do use std::*; so that it can be used as std.

use-compiler-builtins default

Should c-scape's memcpy etc. use compiler-builtins?

Enables use-compiler-builtins of c-gull

extra-syscalls

This extends the syscall function with suppport for more syscalls. This is not enabled by default because it increases the code size of syscall by several kibibytes and isn't needed by most Rust programs.

Enables extra-syscalls of c-gull

todo

Enable todo!() stubs for unimplemented functions.

Enables todo of c-gull

deprecated-and-unimplemented

Enable unimplemented!() stubs for deprecated functions.

Enables deprecated-and-unimplemented of c-gull