# 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.0" name = "wasmtime-wasi" version = "26.0.1" authors = ["The Wasmtime Project Developers"] build = false include = [ "src/**/*", "README.md", "LICENSE", "witx/*", "wit/**/*", "tests/*", ] autobins = false autoexamples = false autotests = false autobenches = false description = "WASI implementation in Rust" readme = "README.md" keywords = [ "webassembly", "wasm", ] categories = ["wasm"] license = "Apache-2.0 WITH LLVM-exception" repository = "https://github.com/bytecodealliance/wasmtime" [lib] name = "wasmtime_wasi" path = "src/lib.rs" [[test]] name = "all" path = "tests/all/main.rs" [[test]] name = "process_stdin" path = "tests/process_stdin.rs" harness = false [dependencies.anyhow] version = "1.0.22" default-features = false [dependencies.async-trait] version = "0.1.71" [dependencies.bitflags] version = "2.0" [dependencies.bytes] version = "1.4" [dependencies.cap-fs-ext] version = "3.4.1" [dependencies.cap-net-ext] version = "3.4.1" [dependencies.cap-rand] version = "3.4.1" features = ["small_rng"] [dependencies.cap-std] version = "3.4.1" [dependencies.cap-time-ext] version = "3.4.1" [dependencies.fs-set-times] version = "0.20.1" [dependencies.futures] version = "0.3.27" default-features = false [dependencies.io-lifetimes] version = "2.0.3" default-features = false [dependencies.once_cell] version = "1.12.0" default-features = false [dependencies.system-interface] version = "0.27.1" features = ["cap_std_impls"] [dependencies.thiserror] version = "1.0.43" [dependencies.tokio] version = "1.30.0" features = [ "rt", "time", "time", "sync", "io-std", "io-util", "rt", "rt-multi-thread", "net", ] [dependencies.tracing] version = "0.1.26" [dependencies.url] version = "2.3.1" [dependencies.wasmtime] version = "26.0.1" features = [ "component-model", "async", "runtime", "std", ] default-features = false [dependencies.wiggle] version = "=26.0.1" features = ["wasmtime"] optional = true default-features = false [dev-dependencies.tempfile] version = "3.1.0" [dev-dependencies.test-log] version = "0.2" features = ["trace"] default-features = false [dev-dependencies.tokio] version = "1.30.0" features = [ "rt", "time", "time", "sync", "io-std", "io-util", "rt", "rt-multi-thread", "net", "macros", "fs", ] [dev-dependencies.tracing-subscriber] version = "0.3.1" features = [ "fmt", "env-filter", "ansi", "tracing-log", ] default-features = false [dev-dependencies.wasmtime] version = "26.0.1" features = [ "cranelift", "incremental-cache", ] default-features = false [features] default = ["preview1"] preview1 = ["dep:wiggle"] [target."cfg(unix)".dependencies.rustix] version = "0.38.31" features = [ "event", "fs", "net", ] [target."cfg(windows)".dependencies.io-extras] version = "0.18.1" [target."cfg(windows)".dependencies.rustix] version = "0.38.31" features = [ "event", "net", ] [target."cfg(windows)".dependencies.windows-sys] version = "0.59.0" [lints.clippy] clone_on_copy = "warn" manual_strip = "warn" map_clone = "warn" uninlined_format_args = "warn" unnecessary_cast = "warn" unnecessary_fallible_conversions = "warn" unnecessary_mut_passed = "warn" unnecessary_to_owned = "warn" [lints.clippy.all] level = "allow" priority = -1 [lints.rust] trivial_numeric_casts = "warn" unstable_features = "warn" unused-lifetimes = "warn" unused-macro-rules = "warn" unused_extern_crates = "warn" unused_import_braces = "warn"