# 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"
name = "origin"
version = "0.8.5"
authors = ["Dan Gohman <dev@sunfishcode.online>"]
description = "Program startup and thread support written in Rust"
documentation = "https://docs.rs/origin"
readme = "README.md"
license = "Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT"
repository = "https://github.com/sunfishcode/mustang"

[dependencies.bitflags]
version = "1.3.0"

[dependencies.env_logger]
version = "0.10.0"
optional = true

[dependencies.linux-raw-sys]
version = "0.3.0"
features = [
    "general",
    "no_std",
]
default-features = false

[dependencies.lock_api]
version = "0.4.7"
features = ["nightly"]

[dependencies.log]
version = "0.4.14"
optional = true
default-features = false

[dependencies.memoffset]
version = "0.8.0"
optional = true

[dependencies.rustix]
version = "0.37.12"
features = [
    "mm",
    "thread",
    "time",
    "runtime",
    "param",
    "process",
]
default-features = false

[features]
default = [
    "std",
    "threads",
    "log",
]
max_level_off = ["log/max_level_off"]
rustc-dep-of-std = [
    "core",
    "alloc",
    "compiler_builtins",
    "linux-raw-sys/rustc-dep-of-std",
    "bitflags/rustc-dep-of-std",
    "libc/rustc-dep-of-std",
]
set_thread_id = []
std = [
    "rustix/std",
    "linux-raw-sys/std",
]
threads = ["memoffset"]

[target."cfg(not(target_vendor = \"mustang\"))".dependencies.alloc]
version = "1.0.0"
optional = true
package = "rustc-std-workspace-alloc"

[target."cfg(not(target_vendor = \"mustang\"))".dependencies.compiler_builtins]
version = "0.1.49"
optional = true

[target."cfg(not(target_vendor = \"mustang\"))".dependencies.core]
version = "1.0.0"
optional = true
package = "rustc-std-workspace-core"

[target."cfg(not(target_vendor = \"mustang\"))".dependencies.libc]
version = "0.2.138"
default-features = false
