aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--rs/Cargo.lock162
-rw-r--r--rs/server/Cargo.toml1
-rw-r--r--rs/server/src/main.rs2
3 files changed, 165 insertions, 0 deletions
diff --git a/rs/Cargo.lock b/rs/Cargo.lock
index 96774ca..f3beb9e 100644
--- a/rs/Cargo.lock
+++ b/rs/Cargo.lock
@@ -18,6 +18,15 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
18checksum = "f26201604c87b1e01bd3d98f8d5d9a8fcbb815e8cedb41ffccbeb4bf593a35fe" 18checksum = "f26201604c87b1e01bd3d98f8d5d9a8fcbb815e8cedb41ffccbeb4bf593a35fe"
19 19
20[[package]] 20[[package]]
21name = "aho-corasick"
22version = "1.1.2"
23source = "registry+https://github.com/rust-lang/crates.io-index"
24checksum = "b2969dcb958b36655471fc61f7e416fa76033bdd4bfed0678d8fee1e2d07a1f0"
25dependencies = [
26 "memchr",
27]
28
29[[package]]
21name = "android-tzdata" 30name = "android-tzdata"
22version = "0.1.1" 31version = "0.1.1"
23source = "registry+https://github.com/rust-lang/crates.io-index" 32source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -1150,6 +1159,12 @@ dependencies = [
1150] 1159]
1151 1160
1152[[package]] 1161[[package]]
1162name = "lazy_static"
1163version = "1.4.0"
1164source = "registry+https://github.com/rust-lang/crates.io-index"
1165checksum = "e2abad23fbc42b3700f2f279844dc832adb2b2eb069b2df918f455c4e18cc646"
1166
1167[[package]]
1153name = "libc" 1168name = "libc"
1154version = "0.2.152" 1169version = "0.2.152"
1155source = "registry+https://github.com/rust-lang/crates.io-index" 1170source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -1172,6 +1187,15 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
1172checksum = "b5e6163cb8c49088c2c36f57875e58ccd8c87c7427f7fbd50ea6710b2f3f2e8f" 1187checksum = "b5e6163cb8c49088c2c36f57875e58ccd8c87c7427f7fbd50ea6710b2f3f2e8f"
1173 1188
1174[[package]] 1189[[package]]
1190name = "matchers"
1191version = "0.1.0"
1192source = "registry+https://github.com/rust-lang/crates.io-index"
1193checksum = "8263075bb86c5a1b1427b5ae862e8889656f126e9f77c484496e8b47cf5c5558"
1194dependencies = [
1195 "regex-automata 0.1.10",
1196]
1197
1198[[package]]
1175name = "matchit" 1199name = "matchit"
1176version = "0.7.3" 1200version = "0.7.3"
1177source = "registry+https://github.com/rust-lang/crates.io-index" 1201source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -1220,6 +1244,16 @@ dependencies = [
1220] 1244]
1221 1245
1222[[package]] 1246[[package]]
1247name = "nu-ansi-term"
1248version = "0.46.0"
1249source = "registry+https://github.com/rust-lang/crates.io-index"
1250checksum = "77a8165726e8236064dbb45459242600304b42a5ea24ee2948e18e023bf7ba84"
1251dependencies = [
1252 "overload",
1253 "winapi",
1254]
1255
1256[[package]]
1223name = "num-integer" 1257name = "num-integer"
1224version = "0.1.45" 1258version = "0.1.45"
1225source = "registry+https://github.com/rust-lang/crates.io-index" 1259source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -1276,6 +1310,12 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
1276checksum = "4030760ffd992bef45b0ae3f10ce1aba99e33464c90d14dd7c039884963ddc7a" 1310checksum = "4030760ffd992bef45b0ae3f10ce1aba99e33464c90d14dd7c039884963ddc7a"
1277 1311
1278[[package]] 1312[[package]]
1313name = "overload"
1314version = "0.1.1"
1315source = "registry+https://github.com/rust-lang/crates.io-index"
1316checksum = "b15813163c1d831bf4a13c3610c05c0d03b39feb07f7e09fa234dac9b15aaf39"
1317
1318[[package]]
1279name = "p256" 1319name = "p256"
1280version = "0.11.1" 1320version = "0.11.1"
1281source = "registry+https://github.com/rust-lang/crates.io-index" 1321source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -1400,12 +1440,56 @@ dependencies = [
1400] 1440]
1401 1441
1402[[package]] 1442[[package]]
1443name = "regex"
1444version = "1.10.3"
1445source = "registry+https://github.com/rust-lang/crates.io-index"
1446checksum = "b62dbe01f0b06f9d8dc7d49e05a0785f153b00b2c227856282f671e0318c9b15"
1447dependencies = [
1448 "aho-corasick",
1449 "memchr",
1450 "regex-automata 0.4.4",
1451 "regex-syntax 0.8.2",
1452]
1453
1454[[package]]
1455name = "regex-automata"
1456version = "0.1.10"
1457source = "registry+https://github.com/rust-lang/crates.io-index"
1458checksum = "6c230d73fb8d8c1b9c0b3135c5142a8acee3a0558fb8db5cf1cb65f8d7862132"
1459dependencies = [
1460 "regex-syntax 0.6.29",
1461]
1462
1463[[package]]
1464name = "regex-automata"
1465version = "0.4.4"
1466source = "registry+https://github.com/rust-lang/crates.io-index"
1467checksum = "3b7fa1134405e2ec9353fd416b17f8dacd46c473d7d3fd1cf202706a14eb792a"
1468dependencies = [
1469 "aho-corasick",
1470 "memchr",
1471 "regex-syntax 0.8.2",
1472]
1473
1474[[package]]
1403name = "regex-lite" 1475name = "regex-lite"
1404version = "0.1.5" 1476version = "0.1.5"
1405source = "registry+https://github.com/rust-lang/crates.io-index" 1477source = "registry+https://github.com/rust-lang/crates.io-index"
1406checksum = "30b661b2f27137bdbc16f00eda72866a92bb28af1753ffbd56744fb6e2e9cd8e" 1478checksum = "30b661b2f27137bdbc16f00eda72866a92bb28af1753ffbd56744fb6e2e9cd8e"
1407 1479
1408[[package]] 1480[[package]]
1481name = "regex-syntax"
1482version = "0.6.29"
1483source = "registry+https://github.com/rust-lang/crates.io-index"
1484checksum = "f162c6dd7b008981e4d40210aca20b4bd0f9b60ca9271061b07f78537722f2e1"
1485
1486[[package]]
1487name = "regex-syntax"
1488version = "0.8.2"
1489source = "registry+https://github.com/rust-lang/crates.io-index"
1490checksum = "c08c74e62047bb2de4ff487b251e4a92e24f48745648451635cec7d591162d9f"
1491
1492[[package]]
1409name = "rfc6979" 1493name = "rfc6979"
1410version = "0.3.1" 1494version = "0.3.1"
1411source = "registry+https://github.com/rust-lang/crates.io-index" 1495source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -1637,6 +1721,7 @@ dependencies = [
1637 "tokio", 1721 "tokio",
1638 "tokio-util", 1722 "tokio-util",
1639 "tower", 1723 "tower",
1724 "tracing-subscriber",
1640] 1725]
1641 1726
1642[[package]] 1727[[package]]
@@ -1662,6 +1747,15 @@ dependencies = [
1662] 1747]
1663 1748
1664[[package]] 1749[[package]]
1750name = "sharded-slab"
1751version = "0.1.7"
1752source = "registry+https://github.com/rust-lang/crates.io-index"
1753checksum = "f40ca3c46823713e0d4209592e8d6e826aa57e928f09752619fc696c499637f6"
1754dependencies = [
1755 "lazy_static",
1756]
1757
1758[[package]]
1665name = "shell" 1759name = "shell"
1666version = "0.1.0" 1760version = "0.1.0"
1667 1761
@@ -1749,6 +1843,16 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
1749checksum = "2047c6ded9c721764247e62cd3b03c09ffc529b2ba5b10ec482ae507a4a70160" 1843checksum = "2047c6ded9c721764247e62cd3b03c09ffc529b2ba5b10ec482ae507a4a70160"
1750 1844
1751[[package]] 1845[[package]]
1846name = "thread_local"
1847version = "1.1.7"
1848source = "registry+https://github.com/rust-lang/crates.io-index"
1849checksum = "3fdd6f064ccff2d6567adcb3873ca630700f00b5ad3f060c25b5dcfd9a4ce152"
1850dependencies = [
1851 "cfg-if",
1852 "once_cell",
1853]
1854
1855[[package]]
1752name = "time" 1856name = "time"
1753version = "0.3.31" 1857version = "0.3.31"
1754source = "registry+https://github.com/rust-lang/crates.io-index" 1858source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -1903,6 +2007,36 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
1903checksum = "c06d3da6113f116aaee68e4d601191614c9053067f9ab7f6edbcb161237daa54" 2007checksum = "c06d3da6113f116aaee68e4d601191614c9053067f9ab7f6edbcb161237daa54"
1904dependencies = [ 2008dependencies = [
1905 "once_cell", 2009 "once_cell",
2010 "valuable",
2011]
2012
2013[[package]]
2014name = "tracing-log"
2015version = "0.2.0"
2016source = "registry+https://github.com/rust-lang/crates.io-index"
2017checksum = "ee855f1f400bd0e5c02d150ae5de3840039a3f54b025156404e34c23c03f47c3"
2018dependencies = [
2019 "log",
2020 "once_cell",
2021 "tracing-core",
2022]
2023
2024[[package]]
2025name = "tracing-subscriber"
2026version = "0.3.18"
2027source = "registry+https://github.com/rust-lang/crates.io-index"
2028checksum = "ad0f048c97dbd9faa9b7df56362b8ebcaa52adb06b498c050d2f4e32f90a7a8b"
2029dependencies = [
2030 "matchers",
2031 "nu-ansi-term",
2032 "once_cell",
2033 "regex",
2034 "sharded-slab",
2035 "smallvec",
2036 "thread_local",
2037 "tracing",
2038 "tracing-core",
2039 "tracing-log",
1906] 2040]
1907 2041
1908[[package]] 2042[[package]]
@@ -1968,6 +2102,12 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
1968checksum = "5e395fcf16a7a3d8127ec99782007af141946b4795001f876d54fb0d55978560" 2102checksum = "5e395fcf16a7a3d8127ec99782007af141946b4795001f876d54fb0d55978560"
1969 2103
1970[[package]] 2104[[package]]
2105name = "valuable"
2106version = "0.1.0"
2107source = "registry+https://github.com/rust-lang/crates.io-index"
2108checksum = "830b7e5d4d90034032940e4ace0d9a9a057e7a45cd94e6c007832e39edb82f6d"
2109
2110[[package]]
1971name = "version_check" 2111name = "version_check"
1972version = "0.9.4" 2112version = "0.9.4"
1973source = "registry+https://github.com/rust-lang/crates.io-index" 2113source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -2049,6 +2189,28 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
2049checksum = "4d91413b1c31d7539ba5ef2451af3f0b833a005eb27a631cec32bc0635a8602b" 2189checksum = "4d91413b1c31d7539ba5ef2451af3f0b833a005eb27a631cec32bc0635a8602b"
2050 2190
2051[[package]] 2191[[package]]
2192name = "winapi"
2193version = "0.3.9"
2194source = "registry+https://github.com/rust-lang/crates.io-index"
2195checksum = "5c839a674fcd7a98952e593242ea400abe93992746761e38641405d28b00f419"
2196dependencies = [
2197 "winapi-i686-pc-windows-gnu",
2198 "winapi-x86_64-pc-windows-gnu",
2199]
2200
2201[[package]]
2202name = "winapi-i686-pc-windows-gnu"
2203version = "0.4.0"
2204source = "registry+https://github.com/rust-lang/crates.io-index"
2205checksum = "ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6"
2206
2207[[package]]
2208name = "winapi-x86_64-pc-windows-gnu"
2209version = "0.4.0"
2210source = "registry+https://github.com/rust-lang/crates.io-index"
2211checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f"
2212
2213[[package]]
2052name = "windows-core" 2214name = "windows-core"
2053version = "0.52.0" 2215version = "0.52.0"
2054source = "registry+https://github.com/rust-lang/crates.io-index" 2216source = "registry+https://github.com/rust-lang/crates.io-index"
diff --git a/rs/server/Cargo.toml b/rs/server/Cargo.toml
index ac2b10b..edb76d8 100644
--- a/rs/server/Cargo.toml
+++ b/rs/server/Cargo.toml
@@ -16,3 +16,4 @@ serde_json = "1"
16tokio = { version = "1.35", features = ["full"] } 16tokio = { version = "1.35", features = ["full"] }
17tokio-util = "0.7" 17tokio-util = "0.7"
18tower = "0.4" 18tower = "0.4"
19tracing-subscriber = { version = "0.3", features = ["env-filter"] }
diff --git a/rs/server/src/main.rs b/rs/server/src/main.rs
index 0a37155..b346bc6 100644
--- a/rs/server/src/main.rs
+++ b/rs/server/src/main.rs
@@ -160,6 +160,8 @@ fn get_s3_client(env: &Env) -> Result<aws_sdk_s3::Client, std::io::Error> {
160 160
161#[tokio::main] 161#[tokio::main]
162async fn main() -> ExitCode { 162async fn main() -> ExitCode {
163 tracing_subscriber::fmt::init();
164
163 let env = match Env::load() { 165 let env = match Env::load() {
164 Ok(env) => env, 166 Ok(env) => env,
165 Err(e) => { 167 Err(e) => {