A language server for lua written in rust

Overview

lua-analyzer

lua-analyzer is a lsp server for lua. This is mostly for me to learn the lsp protocol and language analysis so suggestions are helpful. This server is highly inspired by rust-analyzer and has a lot of code that is similar or copied from it. Currently only the parser is (partially) implemented. Please don't use this yet.

Installation

git clone https://github.com/oberblastmeister/lua-analyzer
cd lua-analyzer
cargo install --path ./crates/lua-analyzer

neovim lspconfig

First add it to your configurations

local configs = require("lspconfig/configs")
configs.lua_analyzer = {
  default_config = {
    cmd = { "lua-analyzer" },
      filetypes = {"lua"},
      root_dir = util.root_pattern("*.lua", vim.fn.getcwd()),
      docs = {
        description = [[]],
        default_config = {root_dir = [[root_pattern(".git", vim.fn.getcwd())]]},
    },
  }
}

Then you can just set it up as usual

lspconfig.lua_analyzer.setup { ... }

Lsp features

  • simple syntax diagnostics
  • completion
  • symbols
  • workspace symbols
  • renaming
  • goto definition
  • hover
Comments
  • Update Rust crate crossbeam-channel to 0.5.1

    Update Rust crate crossbeam-channel to 0.5.1

    WhiteSource Renovate

    This PR contains the following updates:

    | Package | Type | Update | Change | |---|---|---|---| | crossbeam-channel | dependencies | patch | 0.5.0 -> 0.5.1 |


    Configuration

    📅 Schedule: "before 3am on the first day of the month" (UTC).

    🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

    ♻️ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

    🔕 Ignore: Close this PR and you won't be reminded about this update again.


    • [ ] If you want to rebase/retry this PR, check this box.

    This PR has been generated by WhiteSource Renovate. View repository job log here.

    opened by renovate[bot] 3
  • Bump lsp-server from 0.5.0 to 0.5.1

    Bump lsp-server from 0.5.0 to 0.5.1

    Bumps lsp-server from 0.5.0 to 0.5.1.

    Commits

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    dependencies rust 
    opened by dependabot[bot] 3
  • Update Rust crate serde to 1.0.126

    Update Rust crate serde to 1.0.126

    WhiteSource Renovate

    This PR contains the following updates:

    | Package | Type | Update | Change | |---|---|---|---| | serde | dependencies | patch | 1.0.125 -> 1.0.126 |


    Configuration

    📅 Schedule: "before 3am on the first day of the month" (UTC).

    🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

    ♻️ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

    🔕 Ignore: Close this PR and you won't be reminded about this update again.


    • [ ] If you want to rebase/retry this PR, check this box.

    This PR has been generated by WhiteSource Renovate. View repository job log here.

    opened by renovate[bot] 2
  • Update Rust crate rayon to 1.5.1

    Update Rust crate rayon to 1.5.1

    WhiteSource Renovate

    This PR contains the following updates:

    | Package | Type | Update | Change | |---|---|---|---| | rayon | dev-dependencies | patch | 1.5.0 -> 1.5.1 | | rayon | dependencies | patch | 1.5.0 -> 1.5.1 |


    Configuration

    📅 Schedule: "before 3am on the first day of the month" (UTC).

    🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

    ♻️ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

    🔕 Ignore: Close this PR and you won't be reminded about these updates again.


    • [ ] If you want to rebase/retry this PR, check this box.

    This PR has been generated by WhiteSource Renovate. View repository job log here.

    opened by renovate[bot] 2
  • Update Rust crate proc-macro2 to 1.0.27

    Update Rust crate proc-macro2 to 1.0.27

    WhiteSource Renovate

    This PR contains the following updates:

    | Package | Type | Update | Change | |---|---|---|---| | proc-macro2 | dependencies | patch | 1.0.24 -> 1.0.27 |


    Configuration

    📅 Schedule: "before 3am on the first day of the month" (UTC).

    🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

    ♻️ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

    🔕 Ignore: Close this PR and you won't be reminded about this update again.


    • [ ] If you want to rebase/retry this PR, check this box.

    This PR has been generated by WhiteSource Renovate. View repository job log here.

    opened by renovate[bot] 2
  • Update Rust crate lsp-types to 0.89.1

    Update Rust crate lsp-types to 0.89.1

    WhiteSource Renovate

    This PR contains the following updates:

    | Package | Type | Update | Change | |---|---|---|---| | lsp-types | dependencies | patch | 0.89.0 -> 0.89.1 |


    Configuration

    📅 Schedule: "before 3am on the first day of the month" (UTC).

    🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

    ♻️ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

    🔕 Ignore: Close this PR and you won't be reminded about this update again.


    • [ ] If you want to rebase/retry this PR, check this box.

    This PR has been generated by WhiteSource Renovate. View repository job log here.

    opened by renovate[bot] 2
  • Update Rust crate lsp-server to 0.5.1

    Update Rust crate lsp-server to 0.5.1

    WhiteSource Renovate

    This PR contains the following updates:

    | Package | Type | Update | Change | |---|---|---|---| | lsp-server | dependencies | patch | 0.5.0 -> 0.5.1 |


    Configuration

    📅 Schedule: "before 3am on the first day of the month" (UTC).

    🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

    ♻️ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

    🔕 Ignore: Close this PR and you won't be reminded about this update again.


    • [ ] If you want to rebase/retry this PR, check this box.

    This PR has been generated by WhiteSource Renovate. View repository job log here.

    opened by renovate[bot] 2
  • Bump ordered-float from 2.1.1 to 2.2.0

    Bump ordered-float from 2.1.1 to 2.2.0

    Bumps ordered-float from 2.1.1 to 2.2.0.

    Release notes

    Sourced from ordered-float's releases.

    v2.2.0

    • Add optional schemars feature (#78).
    • Re-export the Float trait (#79).
    Commits

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    dependencies rust 
    opened by dependabot[bot] 2
  • Bump insta from 1.7.0 to 1.7.1

    Bump insta from 1.7.0 to 1.7.1

    Bumps insta from 1.7.0 to 1.7.1.

    Changelog

    Sourced from insta's changelog.

    1.7.1

    • Removed an accidental debug print. (#175)
    Commits

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    dependencies rust 
    opened by dependabot[bot] 2
  • Bump anyhow from 1.0.38 to 1.0.40

    Bump anyhow from 1.0.38 to 1.0.40

    Bumps anyhow from 1.0.38 to 1.0.40.

    Release notes

    Sourced from anyhow's releases.

    1.0.40

    • Reduce memory footprint of errors on Rust versions 1.51+ (#145)

    1.0.39

    • Add an opt-in implementation of Error::backtrace on stable compilers based on the backtrace crate (#143)

      [dependencies]
      anyhow = { version = "1.0", features = ["backtrace"] }
      
    Commits
    • 704622f Release 1.0.40
    • 64ac0c0 Merge pull request #145 from dtolnay/addrof
    • ef08267 Eliminate functionally duplicate vtable methods on rustc 1.51+
    • 1295b1f Add additional builds on 1.50 and 1.51 validating addr_of codepath
    • be89adf Detect whether ptr::addr_of is supported by current compiler
    • ac64560 Switch object_ref return from real ref to Ref ptr
    • 2987c9b Ignore redundant_else pedantic clippy lint
    • 827bb9d Catch some warnings in addr_of-related codepaths
    • ce00418 Merge pull request #144 from dtolnay/ptr
    • 3c32aa7 Relax Sized bound on Own, Ref, Mut ptrs
    • Additional commits viewable in compare view

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    dependencies rust 
    opened by dependabot[bot] 2
  • Bump lsp-types from 0.88.0 to 0.89.0

    Bump lsp-types from 0.88.0 to 0.89.0

    Bumps lsp-types from 0.88.0 to 0.89.0.

    Changelog

    Sourced from lsp-types's changelog.

    v0.89.0 (2021-04-07)

    Commits
    • 3cc4b14 (cargo-release) version 0.89.0
    • d49b6c1 Update changelog
    • c5aa7c0 Merge pull request #206 from kjeremy/updates-3.17
    • 1f516c1 Completion updates for 3.17
    • 2ca2f5e Merge pull request #203 from kjeremy/update-comments
    • b096dc7 Merge branch 'master' into update-comments
    • 2200ff0 Merge pull request #205 from kitsonk/fix-commit_characters
    • 8559ae6 Add missing commit_characters to CompletionItem
    • 1a1a9e1 Align comments with spec
    • aec3e9e Merge pull request #202 from wiktorkuchta/serverinfo-doc-fix
    • Additional commits viewable in compare view

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    dependencies rust 
    opened by dependabot[bot] 2
  • Dependency Dashboard

    Dependency Dashboard

    This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.

    Awaiting Schedule

    These updates are awaiting their schedule. Click on a checkbox to get an update now.

    • [ ] Update Rust crate thiserror to 1.0.37

    Rate-Limited

    These updates are currently rate-limited. Click on a checkbox below to force their creation now.

    • [ ] Update Rust crate crossbeam-channel to 0.5.6
    • [ ] Update Rust crate dissimilar to 1.0.4
    • [ ] Update Rust crate flate2 to 1.0.24
    • [ ] Update Rust crate log to 0.4.17
    • [ ] Update Rust crate quote to 1.0.21
    • [ ] Update Rust crate serde_path_to_error to 0.1.8
    • [ ] Update Rust crate syn to 1.0.103
    • [ ] Update Rust crate toml to 0.5.9
    • [ ] Update Rust crate indexmap to 1.9.2
    • [ ] Update Rust crate insta to 1.21.1
    • [ ] Update Rust crate ordered-float to 2.10.0
    • [ ] Update Rust crate parking_lot to 0.12.1
    • [ ] Update Rust crate rayon to 1.6.0
    • [ ] Update Rust crate rowan to 0.15.10
    • [ ] Update Rust crate simplelog to 0.12.0
    • [ ] Update Rust crate smallvec to 1.10.0
    • [ ] Update Rust crate ungrammar to 1.16.1
    • [ ] Update Rust crate xflags to 0.3.1
    • [ ] Update Rust crate xshell to 0.2.2
    • [ ] Update Rust crate ordered-float to v3
    • [ ] Update actions/cache action to v3
    • [ ] Update actions/checkout action to v3
    • [ ] Update actions/download-artifact action to v3
    • [ ] Update actions/upload-artifact action to v3
    • [ ] 🔐 Create all rate-limited PRs at once 🔐

    Open

    These updates have all been created already. Click a checkbox below to force a retry/rebase of any.

    Detected dependencies

    cargo
    crates/base_db/Cargo.toml
    • salsa 0.16.1
    crates/hir/Cargo.toml
    • la-arena 0.2.0
    • ordered-float 2.2.0
    • rustc-hash 1.1.0
    • smallvec 1.6.1
    • smol_str 0.1.17
    crates/ide/Cargo.toml
    crates/ide_db/Cargo.toml
    • rustc-hash 1.1.0
    crates/lua-analyzer/Cargo.toml
    • anyhow 1.0.40
    • crossbeam-channel 0.5.1
    • directories-next 2.0.0
    • log 0.4.14
    • lsp-server 0.5.1
    • lsp-types 0.89.1
    • parking_lot 0.11.1
    • rayon 1.5.1
    • rustc-hash 1.1.0
    • serde 1.0.126
    • serde_json 1.0.64
    • serde_path_to_error 0.1.4
    • simplelog 0.10.0
    • itertools 0.10.0
    crates/parser/Cargo.toml
    • drop_bomb 0.1.5
    • itertools 0.10.0
    • rowan 0.12.6
    • thiserror 1.0.24
    • insta 1.7.1
    crates/syntax/Cargo.toml
    • itertools 0.10.0
    • rowan 0.12.6
    • thiserror 1.0.24
    • glob 0.3.0
    • insta 1.7.1
    • rayon 1.5.1
    crates/syntax/fuzz/Cargo.toml
    • libfuzzer-sys 0.4
    crates/test_utils/Cargo.toml
    • dissimilar 1.0.2
    • text-size 1.1.0
    crates/text_edit/Cargo.toml
    • text-size 1.1.0
    crates/vfs/Cargo.toml
    • crossbeam-channel 0.5.1
    • indexmap 1.6.2
    • jod-thread 0.1.2
    • log 0.4.14
    • rustc-hash 1.1.0
    • walkdir 2.3.2
    lib/binding_powers/Cargo.toml
    xtask/Cargo.toml
    • anyhow 1.0.40
    • flate2 1.0.20
    • heck 0.3.2
    • proc-macro2 1.0.27
    • quote 1.0.9
    • serde 1.0.126
    • syn 1.0.72
    • toml 0.5.8
    • ungrammar 1.13.0
    • xflags 0.2.1
    • xshell 0.1.11
    github-actions
    .github/workflows/ci.yaml
    • actions/checkout v2
    • actions-rs/toolchain v1
    • actions/cache v2
    • actions-rs/cargo v1
    • actions-rs/cargo v1
    • actions/checkout v2
    • actions-rs/toolchain v1
    • actions-rs/cargo v1
    .github/workflows/publish.yaml
    • actions/checkout v2
    • actions-rs/toolchain v1
    • actions-rs/install v0.1
    .github/workflows/release.yaml
    • actions/checkout v2
    • actions-rs/toolchain v1
    • actions/upload-artifact v2
    • actions/download-artifact v2
    • meeDamian/github-release 2.0
    .github/workflows/rustdoc.yaml
    • actions/checkout v2
    • actions-rs/toolchain v1
    • actions-rs/cargo v1

    • [ ] Check this box to trigger a request for Renovate to run again on this repository
    opened by renovate[bot] 0
  • Update Rust crate smol_str to 0.1.23

    Update Rust crate smol_str to 0.1.23

    Mend Renovate

    This PR contains the following updates:

    | Package | Type | Update | Change | |---|---|---|---| | smol_str | dependencies | patch | 0.1.17 -> 0.1.23 |


    Release Notes

    rust-analyzer/smol_str

    v0.1.23

    Compare Source

    v0.1.22

    Compare Source

    v0.1.21

    Compare Source

    v0.1.20

    Compare Source

    v0.1.19

    Compare Source

    v0.1.18

    Compare Source


    Configuration

    📅 Schedule: Branch creation - "before 3am on the first day of the month" (UTC), Automerge - At any time (no schedule defined).

    🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

    Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

    🔕 Ignore: Close this PR and you won't be reminded about this update again.


    • [ ] If you want to rebase/retry this PR, check this box

    This PR has been generated by Mend Renovate. View repository job log here.

    opened by renovate[bot] 0
  • Update Rust crate serde_json to 1.0.88

    Update Rust crate serde_json to 1.0.88

    Mend Renovate

    This PR contains the following updates:

    | Package | Type | Update | Change | |---|---|---|---| | serde_json | dependencies | patch | 1.0.64 -> 1.0.88 |


    Release Notes

    serde-rs/json

    v1.0.88

    Compare Source

    • Optimize serde_json::Map's implementation of append and clone_from (#​952, thanks @​Lucretiel)

    v1.0.87

    Compare Source

    • Add write_i128 and write_u128 methods to serde_json::Formatter to control the formatting of 128-bit integers (#​940, thanks @​Lucretiel)

    v1.0.86

    Compare Source

    v1.0.85

    Compare Source

    • Make Display for Number produce the same representation as serializing (#​919)

    v1.0.84

    Compare Source

    • Make Debug impl of serde_json::Value more compact (#​918)

    v1.0.83

    Compare Source

    • Add categories to crates.io metadata

    v1.0.82

    Compare Source

    v1.0.81

    Compare Source

    • Work around indexmap/autocfg not always properly detecting whether a std sysroot crate is available (#​885, thanks @​cuviper)

    v1.0.80

    Compare Source

    • Documentation improvements

    v1.0.79

    Compare Source

    • Allow RawValue deserialization to propagate \u escapes for unmatched surrogates, which can later by deserialized to Vec<u8> (#​830, thanks @​lucacasonato)

    v1.0.78

    Compare Source

    • Support deserializing as &RawValue in map key position, which would previously fail with "invalid type: newtype struct" (#​851)

    v1.0.77

    Compare Source

    • Include discord invite links in the published readme
    • Improve compile error on compiling with neither std nor alloc feature enabled
    • Include integration tests in published package (#​578)

    v1.0.76

    Compare Source

    • Fix a build error when features raw_value and alloc are enabled while std is disabled (#​850)

    v1.0.75

    Compare Source

    • Fix deserialization of small integers in arbitrary_precision mode (#​845)

    v1.0.74

    Compare Source

    • Allow creating RawValues from references to unsized values (#​841, thanks @​EFanZh)

    v1.0.73

    Compare Source

    • Update itoa dependency to 1.0

    v1.0.72

    Compare Source

    v1.0.71

    Compare Source

    v1.0.70

    Compare Source

    v1.0.69

    Compare Source

    v1.0.68

    Compare Source

    • Preserve negative sign of -0 when deserializing to f32 or f64 (#​799, #​801)

    v1.0.67

    Compare Source

    • Fix inconsistency of deserialization of unknown fields in a struct variant from bytes vs from Value (#​795)

    v1.0.66

    Compare Source

    • Preserve exponent signifier and unary plus in exponent of arbitrary_precision numbers (#​786, thanks @​ruifengx)

    v1.0.65

    Compare Source

    • Documentation improvements

    Configuration

    📅 Schedule: Branch creation - "before 3am on the first day of the month" (UTC), Automerge - At any time (no schedule defined).

    🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

    Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

    🔕 Ignore: Close this PR and you won't be reminded about this update again.


    • [ ] If you want to rebase/retry this PR, check this box

    This PR has been generated by Mend Renovate. View repository job log here.

    opened by renovate[bot] 0
  • Update Rust crate serde to 1.0.147

    Update Rust crate serde to 1.0.147

    Mend Renovate

    This PR contains the following updates:

    | Package | Type | Update | Change | |---|---|---|---| | serde (source) | dependencies | patch | 1.0.126 -> 1.0.147 |


    Release Notes

    serde-rs/serde

    v1.0.147

    Compare Source

    • Add serde::de::value::EnumAccessDeserializer which transforms an EnumAccess into a Deserializer (#​2305)

    v1.0.146

    Compare Source

    v1.0.145

    Compare Source

    v1.0.144

    Compare Source

    • Change atomic ordering used by Serialize impl of atomic types to match ordering used by Debug impl of those same types (#​2263, thanks @​taiki-e)

    v1.0.143

    Compare Source

    • Invert build.rs cfgs in serde_test to produce the most modern configuration in the default case (#​2253, thanks @​taiki-e)

    v1.0.142

    Compare Source

    • Add keywords to crates.io metadata

    v1.0.141

    Compare Source

    • Add no-std category to crates.io metadata

    v1.0.140

    Compare Source

    • Invert serde_derive cfgs to convenience non-Cargo builds on a modern toolchain (#​2251, thanks @​taiki-e)

    v1.0.139

    Compare Source

    • Add new constructor function for all IntoDeserializer impls (#​2246)

    v1.0.138

    Compare Source

    • Documentation improvements

    v1.0.137

    Compare Source

    • Update documentation links to some data formats whose repos have moved (#​2201, thanks @​atouchet)
    • Fix declared rust-version of serde and serde_test (#​2168)

    v1.0.136

    Compare Source

    • Improve default error message when Visitor fails to deserialize a u128 or i128 (#​2167)

    v1.0.135

    Compare Source

    • Update discord channels listed in readme

    v1.0.134

    Compare Source

    • Improve error messages on deserializing NonZero integers from a 0 value (#​2158)

    v1.0.133

    Compare Source

    • Optimize deserialization of data structures that contain recursive use of flatten fields or tag or untagged enums (#​2148)

    v1.0.132

    Compare Source

    • Enable Serialize and Deserialize impls for std::sync::atomic::{AtomicI64, AtomicU64} on riscv64 arch (#​2141, thanks @​Avimitin)

    v1.0.131

    Compare Source

    • Avoid unused_results being triggered in generated code for adjacently tagged enum (#​2116, thanks @​tyranron)

    v1.0.130

    Compare Source

    • Provide MapAccess and SeqAccess impl for reference to a dynamically sized existing impl (#​2081)

    v1.0.129

    Compare Source

    v1.0.128

    Compare Source

    v1.0.127

    Compare Source

    • Resolve warning in rustc nightly-2021-07-31+ compiling serde_test

    Configuration

    📅 Schedule: Branch creation - "before 3am on the first day of the month" (UTC), Automerge - At any time (no schedule defined).

    🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

    Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

    🔕 Ignore: Close this PR and you won't be reminded about this update again.


    • [ ] If you want to rebase/retry this PR, check this box

    This PR has been generated by Mend Renovate. View repository job log here.

    opened by renovate[bot] 0
  • Update Rust crate proc-macro2 to 1.0.47

    Update Rust crate proc-macro2 to 1.0.47

    Mend Renovate

    This PR contains the following updates:

    | Package | Type | Update | Change | |---|---|---|---| | proc-macro2 | dependencies | patch | 1.0.27 -> 1.0.47 |


    Release Notes

    dtolnay/proc-macro2

    v1.0.47

    Compare Source

    • Fix integer overflow when nesting depth of nested comments exceeds 4 billion (#​357)

    v1.0.46

    Compare Source

    • Make proc_macro2::TokenStream's FromStr impl consistent with proc_macro::TokenStream's on strings that begin with a byte order mark \u{feff} (#​353)

    v1.0.45

    Compare Source

    • Fix panic on parsing disallowed raw identifiers such as r#self (#​351)

    v1.0.44

    Compare Source

    v1.0.43

    Compare Source

    • Add keywords to crates.io metadata

    v1.0.42

    Compare Source

    • Improve parsing performance in non-macro mode (#​335)
    • Expose a size_hint() for TokenStream's iterator (#​334)

    v1.0.41

    Compare Source

    • Produce an accurate .size_hint() from TokenStream's iterator (#​334)

    v1.0.40

    Compare Source

    v1.0.39

    Compare Source

    • Replace unicode-xid with unicode-ident crate: https://github.com/dtolnay/unicode-ident

    v1.0.38

    Compare Source

    • Reduce allocations done by Literal::byte_string constructor (#​328)

    v1.0.37

    Compare Source

    • Rely on unicode-xid to optimize ASCII properly (#​325)

    v1.0.36

    Compare Source

    • Improve performance of creating literal tokens through quote! macro

    v1.0.35

    Compare Source

    • Try to diagnose "cannot find type SourceFile" errors better (#​311)

    v1.0.34

    Compare Source

    • Work around doc build failure due to docs.rs flags change (#​310)

    v1.0.33

    Compare Source

    v1.0.32

    Compare Source

    v1.0.31

    Compare Source

    • Update Cargo metadata to new repository location

    v1.0.30

    Compare Source

    • Use proc_macro::is_available on Rust 1.57+ to support projects built with panic=abort or cg_clif (#​300, thanks @​bjorn3)

    v1.0.29

    Compare Source

    • Pick up stable implementation of proc_macro's impl FromStr for Literal (#​287)

    v1.0.28

    Compare Source


    Configuration

    📅 Schedule: Branch creation - "before 3am on the first day of the month" (UTC), Automerge - At any time (no schedule defined).

    🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

    Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

    🔕 Ignore: Close this PR and you won't be reminded about this update again.


    • [ ] If you want to rebase/retry this PR, check this box

    This PR has been generated by Mend Renovate. View repository job log here.

    opened by renovate[bot] 0
  • Update Rust crate lsp-types to 0.93.2

    Update Rust crate lsp-types to 0.93.2

    Mend Renovate

    This PR contains the following updates:

    | Package | Type | Update | Change | |---|---|---|---| | lsp-types | dependencies | minor | 0.89.1 -> 0.93.2 |


    Release Notes

    gluon-lang/lsp-types

    v0.93.2

    Compare Source

    v0.93.2 (2022-10-21)

    v0.93.1

    Compare Source

    v0.93.1 (2022-08-23)

    v0.93.0

    Compare Source

    Features
    • helperTypes: implement new JSON types (bd9bb2e7)
    v0.92.1 (2022-03-21)
    Bug Fixes
    • inlayHint: typo in prop name (7f7ada31)
    Features

    v0.92.1

    Compare Source

    Bug Fixes
    • inlayHint: typo in prop name (7f7ada31)
    Features

    v0.92.0

    Compare Source

    v0.91.2 (2022-02-07)
    Features
    • Add a TryFrom<&str> implementation for enumerations (19b85cf4, closes #​223)
    Bug Fixes
    • Ensure that the pascal_case_name is evaluated at compile time (7337535b)
    v0.91.1 (2021-11-01)
    Features
    • Print the name of know enumerations (2877b6a1)

    v0.91.2

    Compare Source

    Features
    • Add a TryFrom<&str> implementation for enumerations (19b85cf4, closes #​223)
    Bug Fixes
    • Ensure that the pascal_case_name is evaluated at compile time (7337535b)

    v0.91.1

    Compare Source

    Features
    • Print the name of know enumerations (2877b6a1)

    v0.91.0

    Compare Source

    v0.90.1 (2021-10-11)
    Bug Fixes
    • add missing rename_all serde attribute (b403cba5)
    v0.90.1 (2021-10-11)
    Bug Fixes
    • add missing rename_all serde attribute (b403cba5)
    v0.90.1 (2021-10-11)
    Bug Fixes
    • add missing rename_all serde attribute (b403cba5)
    v0.90.1 (2021-10-11)
    Bug Fixes
    • add missing rename_all serde attribute (b403cba5)

    v0.90.1

    Compare Source

    Bug Fixes
    • add missing rename_all serde attribute (b403cba5)

    v0.90.0

    Compare Source

    v0.61.1 (2021-06-10)
    Features
    • Add DeserializeOwned + Serialize bounds on request/notifications (fb945a93, closes #​140)
    v0.89.1 (2021-05-22)

    v0.89.2

    Compare Source


    Configuration

    📅 Schedule: Branch creation - "before 3am on the first day of the month" (UTC), Automerge - At any time (no schedule defined).

    🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

    Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

    🔕 Ignore: Close this PR and you won't be reminded about this update again.


    • [ ] If you want to rebase/retry this PR, check this box

    This PR has been generated by Mend Renovate. View repository job log here.

    opened by renovate[bot] 0
Owner
null
Primitive Roblox Lua executor

rulx Primitive Roblox Lua executor Build cargo build --target i686-pc-windows-msvc --release License rulx is free and open source software licensed un

ORC Free and Open Source Software 5 Aug 16, 2022
A language server implementation for the WGSL shading language

wgsl-analyzer wgsl-analyzer is a language server plugin for the WGSL Shading language. It comes with a VS Code plugin located in ./editors/code, but d

null 155 Jan 2, 2023
The SATySFi Language Server

[WIP] SATySFi Language Server This repository is work-in-progress yet. Features Kind Function Done codeAction Add the definition of an undefined comma

monaqa 50 Dec 24, 2022
Erlang Language Platform. LSP server and CLI.

Erlang Language Platform (ELP) Description ELP integrates Erlang into modern IDEs via the language server protocol. ELP was inspired by rust-analyzer.

WhatsApp 31 Aug 7, 2023
Unofficial Bitwarden compatible server written in Rust, formerly known as bitwarden_rs

Alternative implementation of the Bitwarden server API written in Rust and compatible with upstream Bitwarden clients*, perfect for self-hosted deploy

Daniel García 21.5k Jan 8, 2023
A Github webhook server to help with CI/CD written in Rust.

This application will automatically updates local GitHub repositories and triggers a command once the update is complete. This can be extremely useful

Luca 9 Apr 4, 2023
tr-lang is a language that aims to bring programming language syntax closer to Turkish.

tr-lang Made with ❤️ in ???? tr-lang is a language that aims to bring programming language syntax closer to Turkish. tr-lang is a stack based language

Kerem Göksu 10 Apr 2, 2022
The brainfuck language interpreter written in Rust

The brainfuck language interpreter written in Rust

Jan Štaffa 1 Feb 21, 2022
Luno API Client written in Rust Language for Rustaceans :)

The Luno API provides developers with a wealth of financial information provided through the Luno platform

borngraced 4 Dec 22, 2022
A simple interpreter written in Rust programming language.

Interpreter in Rust A simple interpreter written in Rust programming language. Getting Started These instructions will get you a copy of the project u

Ismail Mosleh 5 Feb 17, 2023
A Discord bot, written in Rust, that generates responses using the LLaMA language model.

llamacord A Discord bot, written in Rust, that generates responses using the LLaMA language model. Built on top of llama-rs. Setup Model Obtain the LL

Philpax 6 Mar 20, 2023
A Discord bot, written in Rust, that generates responses using the LLaMA language model.

llamacord A Discord bot, written in Rust, that generates responses using the LLaMA language model. Built on top of llama-rs. Setup Model Obtain the LL

Rustformers 18 Apr 9, 2023
Rust 版本的 UnblockNeteaseMusic/server ,以效能、穩定性及可維護性為目標。

【開發中】unm-server-rust Rust 版本的 UnblockNeteaseMusic/server ,以效能、穩定性及可維護性為目標。 安裝 最新版本 下載二進位檔案 前往 Actions 分頁找到 “Build binaries for UNM“,點開後可從 Artifacts 中

Unblock Netease Music 维护小组 123 Dec 26, 2022
Rust implementation for Wlroots (Sway, Wayfire, Hikari, River, etc.) of Gnome Screenshot and Idle DBUS Server, which Upwork uses to capture the screen as proof of work.

?? upwork-wlroots-bridge ?? Rust Implementation for Wlroots (Sway, Wayfire, Hikari, River, etc.) of Gnome Screenshot and Idle DBUS Server (with extra

Daniel Moretti V. 4 Jan 2, 2023
Basic ActivityPub Server (in Rust)

Basic ActivityPub Server (in Rust) This is a deep-dive on this blog post: https://blog.joinmastodon.org/2018/06/how-to-implement-a-basic-activitypub-s

Mat 10 Nov 24, 2022
A rust(serenity) based discord bot for the hacksquad discord server

A Discord Bot for Hacksquad How to Deploy? Requirements Docker Docker Compose Steps To Run Copy the docker-compose.yml and .env.example files to your

HackSquad 5 Jan 4, 2023
Locast to Emby/Plex/Channels server

This application provides an interface between locast.org and Media Servers like Plex Media Server (PMS) and Emby by acting like an HDHomerun or an m3u tuner and an XMLTV provider.

Wouter de Bie 51 Sep 10, 2022
Björn - The AS207960 ACME server

Björn - The AS207960 ACME server Björn is not a full CA upon to itself, but contains many of the building blocks of a complete ACME CA. Components Bjö

AS207960 / Glauca 5 Feb 17, 2022
Automatically download minecraft server jars in one line

MCDL Automatically download minecraft server jars in one line (or one click) Installation Download (Windows, Linux) Install via cargo: cargo install m

Isaac Hirschfeld 1 Oct 26, 2021