Skip to content

Commit 7d097f0

Browse files
committed
0.24.0
1 parent eca4d70 commit 7d097f0

File tree

4 files changed

+16
-3
lines changed

4 files changed

+16
-3
lines changed

CHANGELOG.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,15 @@
1+
<a name="v0.24.0"></a>
2+
# [v0.24.0](https://github.com/aDotInTheVoid/rustdoc-types/releases/tag/v0.24.0) - 2023-12-23
3+
4+
**Breaking Change**: `Trait` now includes the `is_object_safe` field. ([rust#119246](https://github.com/rust-lang/rust/pull/119246))
5+
6+
**Internal Improvement**: The scripts to generate the changelog have been revamped to allow
7+
hand-written information in the changelog, and to make the release process easier.
8+
9+
- Format Version: 28
10+
- Upstream Commit: [`c29f763153ac89e7930c6d50f5ab4656318b30d4`](https://github.com/rust-lang/rust/commit/c29f763153ac89e7930c6d50f5ab4656318b30d4)
11+
- Diff: [v0.23.0...v0.24.0](https://github.com/aDotInTheVoid/rustdoc-types/compare/v0.23.0...v0.24.0)
12+
113
<a name="v0.23.0"></a>
214
# [v0.23.0](https://github.com/aDotInTheVoid/rustdoc-types/releases/tag/v0.23.0) - 2023-08-23
315
- Format Version: 27

COMMIT.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
c90a5b2019e5a862c8fb5ae39dcf6ad5f4c65b09
1+
c29f763153ac89e7930c6d50f5ab4656318b30d4

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "rustdoc-types"
3-
version = "0.23.0"
3+
version = "0.24.0"
44
edition = "2018"
55
license = "MIT OR Apache-2.0"
66
description = "Types for rustdoc's json output"

src/lib.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ use serde::{Deserialize, Serialize};
88
use std::path::PathBuf;
99

1010
/// rustdoc format-version.
11-
pub const FORMAT_VERSION: u32 = 27;
11+
pub const FORMAT_VERSION: u32 = 28;
1212

1313
/// A `Crate` is the root of the emitted JSON blob. It contains all type/documentation information
1414
/// about the language items in the local crate, as well as info about external items to allow
@@ -634,6 +634,7 @@ pub struct FnDecl {
634634
pub struct Trait {
635635
pub is_auto: bool,
636636
pub is_unsafe: bool,
637+
pub is_object_safe: bool,
637638
pub items: Vec<Id>,
638639
pub generics: Generics,
639640
pub bounds: Vec<GenericBound>,

0 commit comments

Comments
 (0)