refactor(paroxysm): Explicitly macro imports, no more 'extern crate'

Removes all but one occurence of `extern crate`, to conform with Rust
2018.

The last one is necessary because Diesel is a giant jungle of
complicated macros re-exported from private crates, and the current
version makes it hard to import those directly instead.

Change-Id: Id14165a456d5c3ce6f7a4e0222c611640113eb11
Reviewed-on: https://cl.tvl.fyi/c/depot/+/1549
Tested-by: BuildkiteCI
Reviewed-by: kanepyork <rikingcoding@gmail.com>
This commit is contained in:
Vincent Ambo 2020-08-02 00:26:01 +01:00 committed by tazjin
parent 660a02947f
commit 194c498d53
5 changed files with 16 additions and 19 deletions

View file

@ -7,5 +7,10 @@ pkgs.naersk.buildPackage {
name = "paroxysm";
version = "0.0.1";
src = ./.;
buildInputs = [pkgs.openssl pkgs.pkgconfig pkgs.postgresql.lib];
buildInputs = with pkgs; [
openssl
pkgconfig
postgresql.lib
];
}