Skip to content

Commit 9cdee5e

Browse files
committed
Fix example by upgrading tide + attempt to newer rust on CI
1 parent d0527c6 commit 9cdee5e

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

.circleci/config.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,15 @@ version: 2.1
22
jobs:
33
build:
44
docker:
5-
- image: circleci/rust:1.44-stretch
5+
- image: circleci/rust:1.51-stretch
66
steps:
77
- checkout
88
- run: cargo build
99
- run: cargo test
1010

1111
deploy:
1212
docker:
13-
- image: circleci/rust:1.44-stretch
13+
- image: circleci/rust:1.51-stretch
1414
steps:
1515
- checkout
1616
- run:

examples/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ bb8 = "0.4.0"
1313
bb8-postgres = "0.4.0"
1414
tokio-postgres = "0.5.1"
1515
postgres = "0.17.3"
16-
tide = "0.11.0"
16+
tide = "0.16.0"
1717
mockall = "0.7.1"
1818

1919
[[example]]

examples/tide_server.rs

+1
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ impl sai::ComponentLifecycle for TideServer {
3030
self.stop_command_sender = Some(sender);
3131
self.stop_ack_receiver = Some(ack_receiver);
3232

33+
#[derive(Clone)]
3334
struct State {
3435
foo_controller: Injected<FooController>
3536
};

0 commit comments

Comments
 (0)