@@ -7,16 +7,18 @@ license = "MIT"
77repository = " https://github.com/restatedev/sdk-rust"
88
99[features ]
10- default = [" http " ]
11- http = [" hyper" , " http-body-util" , " hyper-util" , " tokio/net" , " tokio/signal" , " restate-sdk-shared-core/http" ]
10+ default = [" http_server " , " rand " , " uuid " ]
11+ http_server = [" hyper" , " http-body-util" , " hyper-util" , " tokio/net" , " tokio/signal" , " restate-sdk-shared-core/http" ]
1212
1313[dependencies ]
1414bytes = " 1.6.1"
1515futures = " 0.3"
16+ http = " 1.1.0"
1617http-body-util = { version = " 0.1" , optional = true }
1718hyper = { version = " 1.4.1" , optional = true , features = [" server" , " http2" ] }
1819hyper-util = { version = " 0.1" , features = [" tokio" , " server" , " server-graceful" , " http2" ], optional = true }
1920pin-project-lite = " 0.2"
21+ rand = { version = " 0.8.5" , optional = true }
2022regress = " 0.10"
2123restate-sdk-macros = { version = " 0.1.0" , path = " macros" }
2224restate-sdk-shared-core = { version = " 0.0.5" }
@@ -26,6 +28,7 @@ thiserror = "1.0.63"
2628tokio = { version = " 1" , default-features = false , features = [" sync" , " macros" ] }
2729tower-service = " 0.3"
2830tracing = " 0.1"
31+ uuid = { version = " 1.10.0" , optional = true }
2932
3033[dev-dependencies ]
3134tokio = { version = " 1" , features = [" full" ] }
0 commit comments