diff options
author | Daniel <kingdread@gmx.de> | 2020-05-03 12:18:01 +0200 |
---|---|---|
committer | Daniel <kingdread@gmx.de> | 2020-05-03 12:18:01 +0200 |
commit | 9fa6558e71a86e5a58445f1967025ac3511abe86 (patch) | |
tree | 8ab3e0837d433148b78adfa6280475834b20a162 /src | |
parent | db1f38ca7c1b269ee08c2d56788dafc154cffb5b (diff) | |
download | raidgrep-9fa6558e71a86e5a58445f1967025ac3511abe86.tar.gz raidgrep-9fa6558e71a86e5a58445f1967025ac3511abe86.tar.bz2 raidgrep-9fa6558e71a86e5a58445f1967025ac3511abe86.zip |
evtclib: include as a dependency, not submodule
With evtclib being on crates.io now (and generally, being available
publicly through git), there is no longer a need to have a copy of the
evtclib repository in this repository. The main reason was that evtclib
was private when I started it, so the easiest way to include it was
through a git submodule. That reason is no longer valid.
If we really *need* to use the git version, it is also better to just
point Cargo to the repository and let it deal with keeping the
repository up-to-date, rather than using git submodules.
This commit also updates Cargo.lock, so there is a bit of noise from
also adding ctrlc as a dependency.
Diffstat (limited to 'src')
-rw-r--r-- | src/main.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/main.rs b/src/main.rs index 61c332e..fd3399b 100644 --- a/src/main.rs +++ b/src/main.rs @@ -457,13 +457,13 @@ fn get_guild_mapping(log: &Log) -> HashMap<u64, String> { .filter_map(|event| { if let EventKind::Guild { source_agent_addr, - ref api_guild_id, + api_guild_id, .. - } = event.kind + } = event.kind() { api_guild_id .as_ref() - .map(|api_id| (source_agent_addr, api_id.clone())) + .map(|api_id| (*source_agent_addr, api_id.clone())) } else { None } |