Skip to content

Commit 133571a

Browse files
committed
v0.29.0
1 parent d7a886f commit 133571a

File tree

4 files changed

+12
-11
lines changed

4 files changed

+12
-11
lines changed

CHANGELOG.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,12 @@
1+
<a name="v0.29.0"></a>
2+
# [v0.29.0](https://github.com/aDotInTheVoid/rustdoc-types/releases/tag/v0.29.0) - 2024-08-01
3+
4+
**Breaking Change**: Removed `OpaqueTy`, `ItemKind::OpaqueTy` and `ItemEnum::OpaqueTy`. These were only generated with rarely used nightly features, so almost all documents will be uneffected ([rust#127276](https://github.com/rust-lang/rust/pull/127276)).
5+
6+
- Format Version: 33
7+
- Upstream Commit: [`73ac5e0c6e8e0e35229444caf5461c6c079122b4`](https://github.com/rust-lang/rust/commit/73ac5e0c6e8e0e35229444caf5461c6c079122b4)
8+
- Diff: [v0.28.1...v0.29.0](https://github.com/aDotInTheVoid/rustdoc-types/compare/v0.28.1...v0.29.0)
9+
110
<a name="v0.28.1"></a>
211
# [v0.28.1](https://github.com/aDotInTheVoid/rustdoc-types/releases/tag/v0.28.1) - 2024-08-01
312

COMMIT.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
47b76d8d939be6085e9b1f6fc1a4b959346754a6
1+
73ac5e0c6e8e0e35229444caf5461c6c079122b4

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.28.1"
3+
version = "0.29.0"
44
edition = "2018"
55
license = "MIT OR Apache-2.0"
66
description = "Types for rustdoc's json output"

src/lib.rs

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ use serde::{Deserialize, Serialize};
1313
/// This integer is incremented with every breaking change to the API,
1414
/// and is returned along with the JSON blob as [`Crate::format_version`].
1515
/// Consuming code should assert that this value matches the format version(s) that it supports.
16-
pub const FORMAT_VERSION: u32 = 32;
16+
pub const FORMAT_VERSION: u32 = 33;
1717

1818
/// The root of the emitted JSON blob.
1919
///
@@ -326,7 +326,6 @@ pub enum ItemKind {
326326
Function,
327327
/// A type alias declaration, e.g. `type Pig = std::borrow::Cow<'static, str>;`
328328
TypeAlias,
329-
OpaqueTy,
330329
/// The declaration of a constant, e.g. `const GREETING: &str = "Hi :3";`
331330
Constant,
332331
/// A `trait` declaration.
@@ -414,7 +413,6 @@ pub enum ItemEnum {
414413

415414
/// A type alias declaration, e.g. `type Pig = std::borrow::Cow<'static, str>;`
416415
TypeAlias(TypeAlias),
417-
OpaqueTy(OpaqueTy),
418416
/// The declaration of a constant, e.g. `const GREETING: &str = "Hi :3";`
419417
Constant {
420418
/// The type of the constant.
@@ -1200,12 +1198,6 @@ pub struct TypeAlias {
12001198
pub generics: Generics,
12011199
}
12021200

1203-
#[derive(Clone, Debug, PartialEq, Eq, Hash, Serialize, Deserialize)]
1204-
pub struct OpaqueTy {
1205-
pub bounds: Vec<GenericBound>,
1206-
pub generics: Generics,
1207-
}
1208-
12091201
/// A `static` declaration.
12101202
#[derive(Clone, Debug, PartialEq, Eq, Hash, Serialize, Deserialize)]
12111203
pub struct Static {

0 commit comments

Comments
 (0)