@@ -7,16 +7,18 @@ license = "MIT"
7
7
repository = " https://github.com/restatedev/sdk-rust"
8
8
9
9
[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" ]
12
12
13
13
[dependencies ]
14
14
bytes = " 1.6.1"
15
15
futures = " 0.3"
16
+ http = " 1.1.0"
16
17
http-body-util = { version = " 0.1" , optional = true }
17
18
hyper = { version = " 1.4.1" , optional = true , features = [" server" , " http2" ] }
18
19
hyper-util = { version = " 0.1" , features = [" tokio" , " server" , " server-graceful" , " http2" ], optional = true }
19
20
pin-project-lite = " 0.2"
21
+ rand = { version = " 0.8.5" , optional = true }
20
22
regress = " 0.10"
21
23
restate-sdk-macros = { version = " 0.1.0" , path = " macros" }
22
24
restate-sdk-shared-core = { version = " 0.0.5" }
@@ -26,6 +28,7 @@ thiserror = "1.0.63"
26
28
tokio = { version = " 1" , default-features = false , features = [" sync" , " macros" ] }
27
29
tower-service = " 0.3"
28
30
tracing = " 0.1"
31
+ uuid = { version = " 1.10.0" , optional = true }
29
32
30
33
[dev-dependencies ]
31
34
tokio = { version = " 1" , features = [" full" ] }
0 commit comments