[package] name = "eyra" version = "0.16.11" authors = [ "Dan Gohman ", ] description = "Rust programs written entirely in Rust" documentation = "https://docs.rs/eyra" license = "Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT" repository = "https://github.com/sunfishcode/eyra" edition = "2021" exclude = ["/.github", "ci"] keywords = ["linux"] [dependencies] c-gull = { version = "0.16.0", default-features = false, features = ["eyra"] } [dev-dependencies] assert_cmd = "2.0.12" similar-asserts = "1.1.0" rand = "0.8.4" libc = "0.2.151" cfg-if = "1.0.0" rand_xorshift = "0.3.0" # Test that the ctor crate works under mustang. ctor = "0.2.0" # Check if rustup is installed for tests which = "6.0.0" # Test that the core_simd crate works under mustang. core_simd = { git = "https://github.com/rust-lang/portable-simd" } # When generating documentation for docs.rs, don't enable "be-std", since we # don't need to duplicate std's documentation. [package.metadata.docs.rs] no-default-features = true [features] default = ["be-std", "threadsafe-setenv", "use-compiler-builtins"] # Enable features that depend on std. Disable this for `no_std`. std = ["c-gull/std"] # This makes `setenv` and friends thread-safe by leaking memory. threadsafe-setenv = ["c-gull/threadsafe-setenv"] # Enable logging of program and thread startup and shutdown. log = ["c-gull/log"] # Install `atomic_dbg::log` as a logger. atomic-dbg-logger = ["c-gull/atomic-dbg-logger"] # Install the `env_logger` crate as a logger. env_logger = ["c-gull/env_logger", "std"] # Disable logging. max_level_off = ["c-gull/max_level_off"] # Enable experimental support for performing startup-time relocations, needed # to support statically-linked PIE executables. experimental-relocate = ["c-gull/experimental-relocate"] # Have eyra do `use std::*;` so that it can be used as `std`. be-std = ["std"] # Should c-scape's `memcpy` etc. use compiler-builtins? use-compiler-builtins = ["c-gull/use-compiler-builtins"] # 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. extra-syscalls = ["c-gull/extra-syscalls"] # Enable `todo!()` stubs for unimplemented functions. todo = ["c-gull/todo"] # Enable `unimplemented!()` stubs for deprecated functions. deprecated-and-unimplemented = ["c-gull/deprecated-and-unimplemented"]