Skip to content

Commit

Permalink
Fix example by upgrading tide + attempt to newer rust on CI
Browse files Browse the repository at this point in the history
  • Loading branch information
zhming0 committed Jun 4, 2021
1 parent d0527c6 commit 9cdee5e
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@ version: 2.1
jobs:
build:
docker:
- image: circleci/rust:1.44-stretch
- image: circleci/rust:1.51-stretch
steps:
- checkout
- run: cargo build
- run: cargo test

deploy:
docker:
- image: circleci/rust:1.44-stretch
- image: circleci/rust:1.51-stretch
steps:
- checkout
- run:
Expand Down
2 changes: 1 addition & 1 deletion examples/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ bb8 = "0.4.0"
bb8-postgres = "0.4.0"
tokio-postgres = "0.5.1"
postgres = "0.17.3"
tide = "0.11.0"
tide = "0.16.0"
mockall = "0.7.1"

[[example]]
Expand Down
1 change: 1 addition & 0 deletions examples/tide_server.rs
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ impl sai::ComponentLifecycle for TideServer {
self.stop_command_sender = Some(sender);
self.stop_ack_receiver = Some(ack_receiver);

#[derive(Clone)]
struct State {
foo_controller: Injected<FooController>
};
Expand Down

0 comments on commit 9cdee5e

Please sign in to comment.