Skip to content

Commit 3fe7c27

Browse files
authored
Remove proposed feature from Rust package (#435)
Removing `proposed` feature from Rust package as it seems to be more trouble than it's worth.
1 parent 6ee7ce6 commit 3fe7c27

File tree

6 files changed

+4
-57
lines changed

6 files changed

+4
-57
lines changed

RELEASE.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,6 @@
3232
| 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 |
3333
| 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 |
3434
1. `cd packages/rust/lsprotocol`
35-
1. Optionally use `cargo publish --all-features --dry-run` to do all of the building and testing work without actually publishing to crates.io.
35+
1. Optionally use `cargo publish --dry-run` to do all of the building and testing work without actually publishing to crates.io.
3636
1. `cargo login`
37-
1. `cargo publish --all-features`
37+
1. `cargo publish`

generator/plugins/rust/rust_commons.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -683,6 +683,4 @@ def generate_extras(
683683
extras = []
684684
if type_def.deprecated:
685685
extras += [f'#[deprecated(note = r#"{type_def.deprecated}"#)]']
686-
if type_def.proposed:
687-
extras += ['#[cfg(feature = "proposed")]']
688686
return extras

packages/rust/lsprotocol/Cargo.toml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,6 @@ documentation = "https://microsoft.github.io/language-server-protocol"
1010
readme = "README.md"
1111
keywords = ["lsp"]
1212

13-
[features]
14-
proposed=[]
15-
1613
[dependencies]
1714
serde = {version ="1.0.152", features = ["derive"]}
1815
serde_json = "1.0.93"

packages/rust/lsprotocol/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,6 @@ This package contains Language Server Protocol types for Rust generated from the
66

77
```toml
88
[dependencies]
9-
lsprotocol = { features = ["proposed"]}
9+
lsprotocol = {}
1010

1111
```

0 commit comments

Comments
 (0)