# 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 = "witchcraft-server" version = "4.5.0" description = "A highly opinionated embedded application server for RESTy APIs, compatible with the Witchcraft ecosystem" readme = "README.md" license = "Apache-2.0" repository = "https://github.com/palantir/witchcraft-rust-server" [[package.metadata.sls.diagnostics]] docs = "All supported diagnostic types returnable from the server." type = "diagnostic.types.v1" [[package.metadata.sls.diagnostics]] docs = "All currently emitted metrics and their tags." type = "metric.names.v1" [[package.metadata.sls.diagnostics]] docs = "Statistics about the memory allocator, in jemalloc's default text format." type = "rust.heap.stats.v1" [[package.metadata.sls.diagnostics]] docs = "A recording of running threads and their respective stacktraces." type = "rust.thread.dump.v1" [dependencies.addr2line] version = "0.24" [dependencies.arc-swap] version = "1" [dependencies.async-compression] version = "0.4" features = [ "tokio", "gzip", ] [dependencies.async-trait] version = "0.1" [dependencies.base64] version = "0.22" [dependencies.bytes] version = "1" [dependencies.cachemap2] version = "0.3" [dependencies.conjure-error] version = "4" [dependencies.conjure-http] version = "4" [dependencies.conjure-object] version = "4" [dependencies.conjure-runtime] version = "5" [dependencies.conjure-serde] version = "4" [dependencies.crash-handler] version = "0.6" [dependencies.flate2] version = "1" [dependencies.foreign-types] version = "0.5" [dependencies.futures] version = "0.3.30" features = ["executor"] [dependencies.futures-channel] version = "0.3" [dependencies.futures-sink] version = "0.3" [dependencies.futures-util] version = "0.3" [dependencies.http] version = "1" [dependencies.http-body] version = "1" [dependencies.http-body-util] version = "0.1" [dependencies.http-zipkin] version = "0.4" [dependencies.hyper] version = "1" features = [ "http1", "http2", "server", ] [dependencies.hyper-util] version = "0.1" features = ["tokio"] [dependencies.itertools] version = "0.13" [dependencies.lazycell] version = "1.3" [dependencies.libc] version = "0.2" [dependencies.log] version = "0.4" [dependencies.minidump] version = "0.22" [dependencies.minidump-processor] version = "0.22" [dependencies.minidump-unwind] version = "0.22" [dependencies.minidump-writer] version = "0.10" [dependencies.minidumper] version = "0.8" [dependencies.num_cpus] version = "1" [dependencies.object] version = "0.36" [dependencies.once_cell] version = "1" [dependencies.parking_lot] version = "0.12" [dependencies.pin-project] version = "1" [dependencies.rand] version = "0.8" [dependencies.refreshable] version = "2" [dependencies.regex] version = "1" [dependencies.rustls-pemfile] version = "2" [dependencies.rustls-webpki] version = "0.102" [dependencies.sequence_trie] version = "0.3" [dependencies.serde] version = "1" [dependencies.serde-encrypted-value] version = "0.4" [dependencies.serde-file-value] version = "0.1" [dependencies.serde_json] version = "1" [dependencies.serde_yaml] version = "0.9" [dependencies.sha2] version = "0.10.8" [dependencies.socket2] version = "0.5" [dependencies.staged-builder] version = "0.2.0" [dependencies.subtle] version = "2.5" [dependencies.symbolic] version = "12" features = [ "cfi", "debuginfo", ] [dependencies.sync_wrapper] version = "1.0" [dependencies.tempfile] version = "3.10.1" [dependencies.tikv-jemalloc-ctl] version = "0.6" features = [ "stats", "use_std", ] optional = true [dependencies.tikv-jemallocator] version = "0.6" features = [ "unprefixed_malloc_on_supported_platforms", "background_threads", "profiling", ] optional = true [dependencies.tokio] version = "1.37" features = [ "fs", "macros", "rt-multi-thread", "signal", "time", ] [dependencies.tokio-rustls] version = "0.26" [dependencies.tokio-util] version = "0.7" [dependencies.tracing] version = "0.1" features = ["log"] [dependencies.witchcraft-log] version = "4" [dependencies.witchcraft-metrics] version = "1" [dependencies.witchcraft-server-config] version = "4.5.0" [dependencies.witchcraft-server-macros] version = "4.5.0" [dependencies.zipkin] version = "0.4" [dev-dependencies.tempfile] version = "3" [dev-dependencies.tokio] version = "1" features = ["test-util"] [features] default = ["jemalloc"] jemalloc = [ "dep:tikv-jemalloc-ctl", "dep:tikv-jemallocator", ]