spec-tacles / proxy

A Discord data proxy.
13 stars 2 forks source link

chore: move env-logger into deps #4

Closed Fyko closed 4 years ago

Fyko commented 4 years ago

This PR moves env-logger of core into the dependencies field. This happens because come compile time, the debug macro isn't found and it fails to compile.

Imported with:

proxy = { git = "https://github.com/spec-tacles/proxy", package = "spectacles-proxy" }

Error at compile time:

    Checking spectacles-proxy v0.1.0 (https://github.com/spec-tacles/proxy#fa23c364)
error: cannot find macro `debug` in this scope
  --> /Users/carterhimmel/.cargo/git/checkouts/proxy-5563f4ff4dc11da4/fa23c36/core/src/ratelimiter/local.rs:52:4
   |
52 |             debug!("Acquired lock for \"{}\"", &bucket_name);
   |             ^^^^^
Fyko commented 4 years ago

Temporary fix: include the redis-ratelimiter feature