# 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 = "restate-sdk" version = "0.3.0" build = "build.rs" autobins = false autoexamples = false autotests = false autobenches = false description = "Restate SDK for Rust" readme = "README.md" license = "MIT" repository = "https://github.com/restatedev/sdk-rust" [lib] name = "restate_sdk" path = "src/lib.rs" [[example]] name = "counter" path = "examples/counter.rs" [[example]] name = "failures" path = "examples/failures.rs" [[example]] name = "greeter" path = "examples/greeter.rs" [[example]] name = "run" path = "examples/run.rs" [[test]] name = "compiletest" path = "tests/compiletest.rs" [[test]] name = "service" path = "tests/service.rs" [dependencies.bytes] version = "1.6.1" [dependencies.futures] version = "0.3" [dependencies.http] version = "1.1.0" [dependencies.http-body-util] version = "0.1" optional = true [dependencies.hyper] version = "1.4.1" optional = true [dependencies.hyper-util] version = "0.1" features = [ "tokio", "server", "server-graceful", "http2", ] optional = true [dependencies.pin-project-lite] version = "0.2" [dependencies.rand] version = "0.8.5" optional = true [dependencies.regress] version = "0.10" [dependencies.restate-sdk-macros] version = "0.3.0" [dependencies.restate-sdk-shared-core] version = "0.1.0" [dependencies.serde] version = "1.0" [dependencies.serde_json] version = "1.0" [dependencies.thiserror] version = "1.0.63" [dependencies.tokio] version = "1" features = ["sync"] default-features = false [dependencies.tower-service] version = "0.3" [dependencies.tracing] version = "0.1" [dependencies.uuid] version = "1.10.0" optional = true [dev-dependencies.rand] version = "0.8.5" [dev-dependencies.reqwest] version = "0.12" features = ["json"] [dev-dependencies.tokio] version = "1" features = ["full"] [dev-dependencies.tracing-subscriber] version = "0.3" [dev-dependencies.trybuild] version = "1.0" [build-dependencies.jsonptr] version = "0.5.1" [build-dependencies.prettyplease] version = "0.2" [build-dependencies.serde_json] version = "1.0" [build-dependencies.syn] version = "2.0" [build-dependencies.typify] version = "0.1.0" [features] default = [ "http_server", "rand", "uuid", ] http_server = [ "hyper", "hyper/server", "hyper/http2", "hyper-util", "tokio/net", "tokio/signal", "tokio/macros", ] hyper = [ "dep:hyper", "http-body-util", "restate-sdk-shared-core/http", ]