diff options
| author | Gustav Sörnäs <gustav@sornas.net> | 2020-11-11 19:32:15 +0100 |
|---|---|---|
| committer | Gustav Sörnäs <gustav@sornas.net> | 2020-11-11 19:32:15 +0100 |
| commit | aca6d26d3b7d338ce95d88c58a557236024992fd (patch) | |
| tree | 4ea1bbada23f75299d69e5c094ba09d8933003c6 | |
| parent | 5dfc675f78c113465d1522624a9dd970d16d6bfe (diff) | |
| download | kodapa-aca6d26d3b7d338ce95d88c58a557236024992fd.tar.gz | |
build without voice
| -rw-r--r-- | Cargo.toml | 15 | ||||
| -rw-r--r-- | README.md | 20 | ||||
| -rw-r--r-- | TODO | 4 |
3 files changed, 23 insertions, 16 deletions
@@ -7,9 +7,18 @@ edition = "2018" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] -discord = { git = "https://github.com/SpaceManiac/discord-rs" } #TODO no voice futures = "0.3" -serde = { version = "1.0", features = ["derive"] } serde_json = "1.0" slack = "0.25" -tokio = { version = "0.2", features = ["full"] } #TODO actual features + +[dependencies.discord] +git = "https://github.com/SpaceManiac/discord-rs" +default-features = false + +[dependencies.serde] +version = "1.0" +features = [ "derive" ] + +[dependencies.tokio] +version = "0.2" +features = [ "macros", "sync" ] @@ -5,23 +5,21 @@ reminders. The binary itself depends on: -- Opus (see TODO) - OpenSSL ... as well as the usual suspects: ``` $ ldd target/debug/agenda-bot - linux-vdso.so.1 (0x00007ffcc14e5000) - libopus.so.0 => /usr/lib/libopus.so.0 (0x00007fe327d4b000) - libssl.so.1.1 => /usr/lib/libssl.so.1.1 (0x00007fe327cbb000) - libcrypto.so.1.1 => /usr/lib/libcrypto.so.1.1 (0x00007fe3279dd000) - libdl.so.2 => /usr/lib/libdl.so.2 (0x00007fe3279d7000) - libpthread.so.0 => /usr/lib/libpthread.so.0 (0x00007fe3279b5000) - libgcc_s.so.1 => /usr/lib/libgcc_s.so.1 (0x00007fe32799b000) - libc.so.6 => /usr/lib/libc.so.6 (0x00007fe3277d0000) - /lib64/ld-linux-x86-64.so.2 => /usr/lib64/ld-linux-x86-64.so.2 (0x00007fe3290dd000) - libm.so.6 => /usr/lib/libm.so.6 (0x00007fe32768a000) + linux-vdso.so.1 (0x00007ffc353fd000) + libssl.so.1.1 => /usr/lib/libssl.so.1.1 (0x00007f58987d2000) + libcrypto.so.1.1 => /usr/lib/libcrypto.so.1.1 (0x00007f58984f4000) + libdl.so.2 => /usr/lib/libdl.so.2 (0x00007f58984ee000) + libpthread.so.0 => /usr/lib/libpthread.so.0 (0x00007f58984cc000) + libgcc_s.so.1 => /usr/lib/libgcc_s.so.1 (0x00007f58984b2000) + libc.so.6 => /usr/lib/libc.so.6 (0x00007f58982e9000) + /lib64/ld-linux-x86-64.so.2 => /usr/lib64/ld-linux-x86-64.so.2 (0x00007f5899b1b000) + libm.so.6 => /usr/lib/libm.so.6 (0x00007f58981a1000) ``` It has only been tested on Linux. @@ -15,14 +15,14 @@ FEATURES: * mention the bot to do stuff? ISSUES: -* build without voice support -* build only needed tokio features * sending to slack is very slow DONE: * login * send messages both ways * readme +* build without voice support +* build only needed tokio features LATER: (rough ordering and scope) * send reminders |
