# 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 = "containerd-shim-wasm" version = "0.7.0" description = "Library for building containerd shims for wasm" homepage = "https://github.com/containerd/runwasi" readme = "README.md" license = "Apache-2.0" repository = "https://github.com/containerd/runwasi" [lib] doctest = false [dependencies.anyhow] version = "1.0" [dependencies.chrono] version = "0.4" features = ["clock"] default-features = false [dependencies.containerd-shim] version = "0.7.4" [dependencies.containerd-shim-wasm-test-modules] version = "0.4.0" optional = true [dependencies.crossbeam] version = "0.8.4" default-features = false [dependencies.env_logger] version = "0.10" optional = true [dependencies.futures] version = "0.3.30" [dependencies.git-version] version = "0.3.9" [dependencies.libc] version = "0.2.159" [dependencies.log] version = "0.4" [dependencies.oci-spec] version = "0.6.4" features = ["runtime"] [dependencies.oci-tar-builder] version = "0.4.0" optional = true [dependencies.opentelemetry] version = "0.23" features = ["trace"] optional = true [dependencies.opentelemetry-otlp] version = "0.16.0" features = [ "grpc-tonic", "http-proto", "reqwest-client", "trace", ] optional = true [dependencies.opentelemetry_sdk] version = "0.23" features = ["rt-tokio"] optional = true [dependencies.protobuf] version = "=3.2" [dependencies.serde] version = "1.0" [dependencies.serde_json] version = "1.0" [dependencies.sha256] version = "1.5.0" [dependencies.tempfile] version = "3.10" optional = true [dependencies.thiserror] version = "1.0" [dependencies.tokio] version = "1.38.1" features = ["full"] [dependencies.tokio-stream] version = "0.1" [dependencies.tracing] version = "0.1" optional = true [dependencies.tracing-opentelemetry] version = "0.24" optional = true [dependencies.tracing-subscriber] version = "0.3" features = [ "smallvec", "fmt", "ansi", "std", "env-filter", "json", "registry", ] optional = true default-features = false [dependencies.ttrpc] version = "0.8.2" [dependencies.wasmparser] version = "0.214.0" [dependencies.wat] version = "1.214" [dev-dependencies.containerd-shim-wasm-test-modules] version = "0.4.0" [dev-dependencies.env_logger] version = "0.10" [dev-dependencies.oci-tar-builder] version = "0.4.0" [dev-dependencies.rand] version = "0.8" [dev-dependencies.temp-env] version = "0.3" [dev-dependencies.tempfile] version = "3.10" [build-dependencies.ttrpc-codegen] version = "0.4.2" [features] opentelemetry = [ "tracing", "dep:opentelemetry", "dep:opentelemetry-otlp", "dep:opentelemetry_sdk", "dep:tracing-opentelemetry", ] testing = [ "dep:containerd-shim-wasm-test-modules", "dep:env_logger", "dep:tempfile", "dep:oci-tar-builder", ] tracing = [ "dep:tracing", "dep:tracing-subscriber", ] [target."cfg(unix)".dependencies.caps] version = "0.5" [target."cfg(unix)".dependencies.containerd-client] version = "0.5.0" [target."cfg(unix)".dependencies.dbus] version = "0" features = ["vendored"] [target."cfg(unix)".dependencies.libcontainer] version = "0.4.1" features = [ "libseccomp", "systemd", "v1", "v2", ] default-features = false [target."cfg(unix)".dependencies.nix] version = "0.28" features = [ "sched", "mount", ] [target."cfg(windows)".dependencies.windows-sys] version = "0.52" features = [ "Win32_Foundation", "Win32_Storage_FileSystem", ]