Skip to content

Commit

Permalink
Use a rust version that actually supports RPIT
Browse files Browse the repository at this point in the history
  • Loading branch information
mzeitlin11 committed Apr 14, 2024
1 parent e21adec commit 47cbf25
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/bug_report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ body:
id: language-version
attributes:
label: Rust version
placeholder: Our MSRV is 1.73.0
placeholder: Our MSRV is 1.75.0
validations:
required: true
- type: input
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/async-stripe.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ on:

env:
RUSTFLAGS: -Dwarnings
rust_min: 1.73
rust_min: 1.75

jobs:
format:
Expand Down
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ exclude = ["openapi"]
[workspace.package]
version = "0.22.2"
description = "API bindings for the Stripe HTTP API"
rust-version = "1.73.0"
rust-version = "1.75.0"
authors = [
"Anna Baldwin <abaldwin@developers.wyyerd.com>",
"Kevin Stenerson <kestred@users.noreply.github.com>",
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ If you don't see the specific version you are on, prefer the next available vers

## MSRV

We currently have `1.73.0` pinned in CI, so any version of rustc newer than that should
We currently have `1.75.0` pinned in CI, so any version of rustc newer than that should
work.
If this is not the case, please open an issue. As a policy, we permit MSRV increases in
non-breaking releases.
Expand Down
2 changes: 1 addition & 1 deletion openapi/src/object_writing.rs
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ impl Components {
RustObject::Struct(struct_) => {
writer.write_struct_definition(out, struct_);
if usage.used_as_request_param {
writer.write_struct_constructor(out, &struct_);
writer.write_struct_constructor(out, struct_);
}

for field in &struct_.fields {
Expand Down
4 changes: 2 additions & 2 deletions openapi/src/templates/cargo_toml.rs
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@ pub fn gen_crate_toml(krate: Crate, crate_deps: Vec<Crate>, crate_features: Vec<

// Dependencies only needed for libraries which implement Stripe requests
let request_deps = if krate == Crate::SHARED {
"".into()
""
} else {
format!(r#"stripe_client_core = {{path = "../../stripe_client_core"}}"#)
r#"stripe_client_core = {path = "../../stripe_client_core"}"#
};

let ser_features = get_serialization_feature(&crate_deps, "serialize");
Expand Down

0 comments on commit 47cbf25

Please sign in to comment.