# 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 = "smelter-worker" version = "0.1.1" description = "Shared worker code for the Smelter job orchestration framework" homepage = "https://github.com/dimfeld/smelter" documentation = "https://docs.rs/smelter-worker" license = "Apache-2.0 OR MIT" repository = "https://github.com/dimfeld/smelter" [dependencies.error-stack] version = "0.4.1" [dependencies.opentelemetry] version = "0.20.0" optional = true [dependencies.serde] version = "1.0.197" features = ["derive"] [dependencies.serde_json] version = "1.0.114" [dependencies.sysinfo] version = "0.30.6" optional = true [dependencies.thiserror] version = "1.0.57" [dependencies.tokio] version = "1.36.0" features = [ "macros", "rt", "signal", "sync", "time", ] [dependencies.tracing] version = "0.1.40" optional = true [dependencies.tracing-opentelemetry] version = "0.20.0" optional = true [dependencies.uuid] version = "1.7.0" features = [ "v7", "serde", ] [features] default = [ "tracing", "opentelemetry", "stats", "spawner-side", "worker-side", ] opentelemetry = [ "dep:opentelemetry", "tracing", "dep:tracing-opentelemetry", ] spawner-side = [] stats = ["dep:sysinfo"] tracing = ["dep:tracing"] worker-side = []