Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions RELEASE.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,6 @@
| Beta | Major.Minor.0-beta.X | `Major.Minor.0` matches the upcoming stable release and `X` starts at `1` and increments with each beta release |
| Alpha | Major.Minor.0-alpha.X | `Major.Minor.0` matches the upcoming stable release and `X` starts at `1` and increments with each alpha release |
1. `cd packages/rust/lsprotocol`
1. Optionally use `cargo publish --all-features --dry-run` to do all of the building and testing work without actually publishing to crates.io.
1. Optionally use `cargo publish --dry-run` to do all of the building and testing work without actually publishing to crates.io.
1. `cargo login`
1. `cargo publish --all-features`
1. `cargo publish`
2 changes: 0 additions & 2 deletions generator/plugins/rust/rust_commons.py
Original file line number Diff line number Diff line change
Expand Up @@ -683,6 +683,4 @@ def generate_extras(
extras = []
if type_def.deprecated:
extras += [f'#[deprecated(note = r#"{type_def.deprecated}"#)]']
if type_def.proposed:
extras += ['#[cfg(feature = "proposed")]']
return extras
3 changes: 0 additions & 3 deletions packages/rust/lsprotocol/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,6 @@ documentation = "https://microsoft.github.io/language-server-protocol"
readme = "README.md"
keywords = ["lsp"]

[features]
proposed=[]

[dependencies]
serde = {version ="1.0.152", features = ["derive"]}
serde_json = "1.0.93"
Expand Down
2 changes: 1 addition & 1 deletion packages/rust/lsprotocol/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@ This package contains Language Server Protocol types for Rust generated from the

```toml
[dependencies]
lsprotocol = { features = ["proposed"]}
lsprotocol = {}

```
Loading
Loading