Skip to content

Commit 788b8d5

Browse files
Merge pull request #1953 from habitat-sh/sougata/rust_update_1_91_1
Rust Upgrade to 1.91.1
2 parents ab165af + 379de01 commit 788b8d5

4 files changed

Lines changed: 6 additions & 8 deletions

File tree

components/builder-db/src/models/origin.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -334,7 +334,7 @@ impl Origin {
334334
origin_members::table.filter(origin_members::origin.eq(origin))
335335
.filter(origin_members::account_id.eq(account_id))
336336
.execute(conn)
337-
.map(|s| (s > 0))
337+
.map(|s| s > 0)
338338
}
339339
}
340340

components/builder-protocol/src/lib.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,10 @@
1111
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1212
// See the License for the specific language governing permissions and
1313
// limitations under the License.
14+
15+
// Allow unused parentheses in generated protobuf code
16+
#![allow(unused_parens)]
17+
1418
use habitat_core as hab_core;
1519

1620
pub mod error;

components/github-api-client/src/client.rs

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -244,12 +244,6 @@ impl GitHubClient {
244244
}
245245
}
246246

247-
#[derive(Clone, Debug, Default, Serialize, Deserialize)]
248-
struct RepositoryList {
249-
pub total_count: u32,
250-
pub repositories: Vec<Repository>,
251-
}
252-
253247
fn generate_app_token<T, U>(key_path: T, app_id: &U) -> HubResult<String>
254248
where T: AsRef<Path>,
255249
U: ToString

rust-toolchain

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
[toolchain]
2-
channel = "1.89.0"
2+
channel = "1.91.1"

0 commit comments

Comments
 (0)