# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" rust-version = "1.78" name = "origin" version = "0.23.3" authors = ["Dan Gohman "] build = false include = [ "src", "Cargo.toml", "COPYRIGHT", "LICENSE*", "/*.md", ] autobins = false autoexamples = false autotests = false autobenches = false description = "Program startup and thread support written in Rust" documentation = "https://docs.rs/origin" readme = "README.md" keywords = ["linux"] categories = ["no-std"] license = "Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT" repository = "https://github.com/sunfishcode/origin" [package.metadata.docs.rs] features = [ "origin-start", "signal", "program-at-exit", "thread-at-exit", "nightly", ] [lib] name = "origin" path = "src/lib.rs" [dependencies.alloc] version = "1.0.0" optional = true package = "rustc-std-workspace-alloc" [dependencies.atomic-dbg] version = "0.1" optional = true default-features = false [dependencies.bitflags] version = "2.4.0" default-features = false [dependencies.core] version = "1.0.0" optional = true package = "rustc-std-workspace-core" [dependencies.env_logger] version = "0.11.0" optional = true default-features = false [dependencies.errno] version = "0.3.3" optional = true default-features = false [dependencies.libc] version = "0.2.149" optional = true default-features = false [dependencies.linux-raw-sys] version = "0.4.9" features = [ "general", "no_std", "elf", ] default-features = false [dependencies.log] version = "0.4.14" optional = true default-features = false [dependencies.rustix] version = "0.38.35" default-features = false [dependencies.rustix-futex-sync] version = "0.2.1" optional = true [dependencies.smallvec] version = "1.11.1" features = ["const_new"] optional = true [dev-dependencies.assert_cmd] version = "2.0.12" [features] alloc = [ "rustix/alloc", "smallvec", ] atomic-dbg-logger = [ "atomic-dbg/log", "init-array", ] default = [ "std", "log", "libc", "errno", "signal", "init-fini-arrays", "program-at-exit", "thread-at-exit", ] eh-personality = ["unwinding/personality"] eh-personality-continue = ["unwinding?/personality-dummy"] env_logger = [ "dep:env_logger", "init-array", ] experimental-relocate = [ "rustix/mm", "rustix/runtime", ] external-start = ["take-charge"] fini-array = [] getauxval = ["rustix/param"] init-array = [] init-fini-arrays = [ "init-array", "fini-array", ] max_level_off = ["log/max_level_off"] nightly = ["unwinding"] optimize_for_size = [] origin-start = ["take-charge"] panic-handler = ["unwinding/panic-handler"] panic-handler-trap = ["unwinding?/panic-handler-dummy"] param = ["rustix/param"] program-at-exit = ["alloc"] rustc-dep-of-std = [ "dep:core", "dep:alloc", "linux-raw-sys/rustc-dep-of-std", "bitflags/rustc-dep-of-std", "rustix/rustc-dep-of-std", "unwinding?/rustc-dep-of-std", "libc?/rustc-dep-of-std", "rustix-futex-sync/rustc-dep-of-std", ] signal = ["rustix/runtime"] std = [ "rustix/std", "bitflags/std", "alloc", ] take-charge = [ "rustix/use-explicitly-provided-auxv", "rustix/runtime", ] thread = [ "rustix/thread", "rustix/mm", "param", "rustix/process", "rustix/runtime", "rustix-futex-sync", ] thread-at-exit = [ "alloc", "thread", ] unstable-errno = ["thread"] [target.'cfg(not(target_arch = "arm"))'.dependencies.unwinding] version = "0.2.4" features = ["unwinder"] optional = true default-features = false [target.'cfg(target_arch = "aarch64")'.dependencies.rustix] version = "0.38.35" features = ["param"] default-features = false