jwilm/racerd

JSON/HTTP Server based on racer for adding Rust support to editors and IDEs

JSON/HTTP Server based on

racerd

racer for adding Rust support to editors and IDEs

YouCompleteMe in vim powered by racerd

Documentation

  • HTTP API
  • Rust Documentation
  • racerd options

Features

  • Find definition & list completions support via racer
  • Searches rust standard library and dependency crates
  • HMAC authentication
  • Usable as both library and executable
  • Library API offers direct calls to avoid HTTP overhead
Issues

Collection of the latest Issues

siriobalmelli

siriobalmelli

Comment Icon4

Trying to build the racerd package in nix-pkgs, which depends on the latest unstable rust:

Unfortunately, this repo depends on features not in stable, attempts to build with stable fail.

Any help would be greatly appreciated.

darthdeus

darthdeus

Comment Icon4

I've just tried with a quite fresh (yesterday) install of YouCompleteMe + racer completion, and any time I trigger a completion with . or :: I get no results back (the stdout log of racerd shows 204 No Content).

If I however trigger a completion at a "global" scope (just hitting ctrl-space on an empty line), it returns 200 OK with actual completion suggestions

YetAnotherMinion

YetAnotherMinion

Comment Icon2

@jwilm Would it be possible to create a tag pointing to the master (4b8d3c746ccecf4b530851f30d262fe8ad9d75b) for version 0.3.1. I am looking to submit a PR to update Valloric's ycmd, which includes this project as a submodule. Currently he is using a commit of racerd from 3 months ago. Having a tag would be cleaner way to suggest a change to Valloric than just suggesting updating to a random commit.

Please let me know if there is any further testing that needs to be done before creating a tag. I am happy to volunteer my time to get this code into a state for release.

I will build ycmd with this current master and use it with YCM as an integration test.

jwilm

jwilm

Comment Icon0

The source cache doesn't detect changes on disk. This is ok as long as files are editted within the same vim session, but, at least for me, that's not always the case. This leads to a stale cache where changes that are on disk aren't reflected in completions or when using find_definition.

Valloric

Valloric

Comment Icon5

Racerd currently returns a 403 on HMAC failure instead of a 401. The 401 makes more sense; the request was unauthorized. 403 means the user has been authenticated but his level of access is not sufficient to access this resource.

Both ycmd and JediHTTP work use a 401.

Relevant SO answer which goes into more detail.

Put more simply, 401 is authentication failure whereas 403 is authorization failure.

Information - Updated May 19, 2022

Stars: 139
Forks: 23
Issues: 10

Repositories & Extras

Serde is a framework for serializing and deserializing Rust data structures efficiently and generically

Rust Greatest JSON weapon is Serde with over 4.4K stars on github and a massive developer community. This is considered a core Rust library for every developer to learn in BRC's opinion

Serde is a framework for serializing and deserializing Rust data structures efficiently and generically

Roctogen: a rust client library for the GitHub v3 API

This client API is generated from the Isahc HTTP client

Roctogen: a rust client library for the GitHub v3 API

Library for safe and correct Unix signal handling in Rust

Unix signals are inherently hard to handle correctly, for several reasons:

Library for safe and correct Unix signal handling in Rust

Library for traversing & reading GameCube and Wii disc images

Based on the C++ library MIT license (LICENSE-MIT or

Library for traversing & reading GameCube and Wii disc images

cargo_auto_github_lib

Library for cargo-auto automation tasks written in rust language with functions for github

cargo_auto_github_lib

Library that implements low-level protocol to the Hitachi HD44780-compatible LCD device

by default (only uses 4 data pins) plus two control pins (R/S and EN)

Library that implements low-level protocol to the Hitachi HD44780-compatible LCD device

Library that implements low-level protocol to the Hitachi HD44780-compatible LCD device

by default (only uses 4 data pins) plus two control pins (R/S and EN)

Library that implements low-level protocol to the Hitachi HD44780-compatible LCD device

Library crate for common tasks when building rust projects

Intended for use with cargo-auto

Library crate for common tasks when building rust projects

A Rust library to connect to AxonServer

See the GitHub project Command / Query Responsibility Segregation (CQRS)

A Rust library to connect to AxonServer

Unofficial command line tool and library for using catbox

Unofficial command line tool and library for using Github Pages

Unofficial command line tool and library for using catbox
Facebook Instagram Twitter GitHub Dribbble
Privacy