# 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" version = "0.7.4" authors = [ "Maksym Pavlenko ", "The containerd Authors", ] description = "containerd shim extension" homepage = "https://containerd.io" readme = "README.md" keywords = [ "containerd", "shim", "containers", ] categories = [ "api-bindings", "asynchronous", ] license = "Apache-2.0" repository = "https://github.com/containerd/rust-extensions" [package.metadata.docs.rs] features = ["docs"] [[example]] name = "skeleton_async" required-features = ["async"] [[example]] name = "windows-log-reader" path = "examples/windows_log_reader.rs" [dependencies.async-trait] version = "0.1.52" optional = true [dependencies.containerd-shim-protos] version = "0.7.2" [dependencies.futures] version = "0.3.19" optional = true [dependencies.go-flag] version = "0.1.0" [dependencies.lazy_static] version = "1.4.0" [dependencies.libc] version = "0.2.112" [dependencies.log] version = "0.4.2" features = [ "kv_unstable", "std", "kv_unstable", ] [dependencies.nix] version = "0.29" features = [ "ioctl", "fs", "socket", "signal", "mount", "sched", ] [dependencies.oci-spec] version = "0.6" [dependencies.page_size] version = "0.6.0" [dependencies.prctl] version = "1.0.0" [dependencies.serde] version = "1.0" features = ["derive"] [dependencies.serde_json] version = "1.0" [dependencies.signal-hook] version = "0.3.13" [dependencies.signal-hook-tokio] version = "0.3.1" features = ["futures-v0_3"] optional = true [dependencies.thiserror] version = "1.0" [dependencies.time] version = "0.3.29" features = [ "serde", "std", "formatting", ] [dependencies.tokio] version = "1.26" features = ["full"] optional = true [dependencies.tracing] version = "0.1" optional = true [dev-dependencies.tempfile] version = "3.6" [features] async = [ "async-trait", "containerd-shim-protos/async", "futures", "signal-hook-tokio", "tokio", ] docs = [] tracing = ["dep:tracing"] [target."cfg(target_os = \"linux\")".dependencies.cgroups-rs] version = "0.3.4" [target."cfg(unix)".dependencies.command-fds] version = "0.3.0" [target."cfg(windows)".dependencies.mio] version = "1.0" features = [ "os-ext", "os-poll", ] [target."cfg(windows)".dependencies.os_pipe] version = "1.1" [target."cfg(windows)".dependencies.windows-sys] version = "0.52.0" features = [ "Win32_Foundation", "Win32_System_WindowsProgramming", "Win32_System_Console", "Win32_System_Pipes", "Win32_Security", "Win32_Storage_FileSystem", "Win32_System_Threading", ]