# 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-studio" version = "0.10.0" authors = ["Dan Gohman "] build = "build.rs" autobins = false autoexamples = false autotests = false autobenches = false description = "An alternative `std`-like implementation built on origin" documentation = "https://docs.rs/origin-studio" 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-studio" [lib] name = "origin_studio" path = "src/lib.rs" [[example]] name = "args" path = "examples/args.rs" [[example]] name = "assert-false" path = "examples/assert-false.rs" [[example]] name = "greetings" path = "examples/greetings.rs" [[example]] name = "hello" path = "examples/hello.rs" [[example]] name = "libc" path = "examples/libc.rs" [[example]] name = "prelude" path = "examples/prelude.rs" [[example]] name = "rust-by-example-threads" path = "examples/rust-by-example-threads.rs" [dependencies.atomic-dbg] version = "0.1.8" optional = true default-features = false [dependencies.origin] version = "0.19.0" features = [ "origin-program", "origin-signal", "origin-start", "signal", ] default-features = false [dependencies.rustix] version = "0.38.11" optional = true default-features = false [dependencies.rustix-dlmalloc] version = "0.1.0" features = ["global"] optional = true [dependencies.rustix-futex-sync] version = "0.2.1" features = ["atomic_usize"] optional = true [dev-dependencies.compiler_builtins] version = "0.1.101" features = ["mem"] [dev-dependencies.errno] version = "0.3.3" default-features = false [dev-dependencies.libc] version = "0.2.148" default-features = false [features] alloc = [ "rustix-dlmalloc", "origin/alloc", ] default = [ "std", "thread", "stack-overflow", ] experimental-relocate = ["origin/experimental-relocate"] log = [ "origin/log", "origin/atomic-dbg-logger", ] stack-overflow = ["rustix/mm"] std = [ "alloc", "rustix/stdio", "rustix/fs", ] thread = [ "origin/origin-thread", "origin/thread", "rustix-futex-sync", ]