Skip to content

Commit

Permalink
Bump rustdoc-types to v24 (#140)
Browse files Browse the repository at this point in the history
  • Loading branch information
jayvdb authored Feb 15, 2024
1 parent 1eea28c commit 65a24af
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 8 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ env:
RUSTFLAGS: -Dwarnings
RUSTDOCFLAGS: -Dwarnings
RUST_BACKTRACE: 1
rust_version: nightly-2023-10-10
rust_version: nightly-2024-02-07

jobs:
fmt:
Expand Down Expand Up @@ -132,6 +132,7 @@ jobs:
cargo check-external-types --all-features --config aws-types/external-types.toml --manifest-path aws-types/Cargo.toml
env:
# Intentionally don't set flags
RUSTFLAGS:
RUSTDOCFLAGS:

smoketest-tokio:
Expand Down
4 changes: 2 additions & 2 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "cargo-check-external-types"
version = "0.1.10"
version = "0.1.11"
authors = ["AWS Rust SDK Team <aws-sdk-rust@amazon.com>", "John DiSanti <jdisanti@amazon.com>"]
description = "Static analysis tool to detect external types exposed in a library's public API."
edition = "2021"
Expand All @@ -13,7 +13,7 @@ cargo_metadata = "0.18"
clap = { version = "4.4.18", features = ["derive"] }
owo-colors = { version = "4", features = ["supports-colors"] }
pest = "2" # For pretty error formatting
rustdoc-types = "0.23.0"
rustdoc-types = "0.24.0"
serde = { version = "1", features = ["derive"] }
serde_json = "1"
toml = "0.8"
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ How to Use

_Important:_ This tool requires a nightly build of Rust to be installed since it relies on
the [rustdoc JSON output](https://github.com/rust-lang/rust/issues/76578), which hasn't been
stabilized yet. It was last tested against `nightly-2023-10-10`.
stabilized yet. It was last tested against `nightly-2024-02-07`.

To install, run the following from this README path:

Expand Down
2 changes: 1 addition & 1 deletion rust-toolchain.toml
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
[toolchain]
channel = "nightly-2023-10-10"
channel = "nightly-2024-02-07"
2 changes: 1 addition & 1 deletion src/visitor.rs
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ enum VisibilityCheck {
/// Check to make sure the item is public before visiting it
Default,
/// Assume the item is public and examine it.
/// This is useful for visiting private items that are publically re-exported
/// This is useful for visiting private items that are publicly re-exported
AssumePublic,
}

Expand Down

0 comments on commit 65a24af

Please sign in to comment.