diff options
| author | MatthieuCoder <matthieu@matthieu-dev.xyz> | 2023-01-05 18:33:53 +0400 | 
|---|---|---|
| committer | MatthieuCoder <matthieu@matthieu-dev.xyz> | 2023-01-05 18:33:53 +0400 | 
| commit | 038add4d5e8465f8bb36f1a1fa5817a02cab833b (patch) | |
| tree | 2bcab259fc3b7a57ff9de4b043fa0c5571c85622 /Cargo.lock | |
| parent | 63565094f480154556be69a6b3625e47c3b28f04 (diff) | |
base for tracing
Diffstat (limited to 'Cargo.lock')
| -rw-r--r-- | Cargo.lock | 632 | 
1 files changed, 279 insertions, 353 deletions
@@ -39,26 +39,21 @@ dependencies = [   "gateway",   "leash",   "libc", - "pretty_env_logger", + "opentelemetry", + "opentelemetry-otlp",   "ratelimit",   "rest",   "serde",   "serde_json",   "shared",   "tokio", + "tracing", + "tracing-opentelemetry", + "tracing-subscriber",   "webhook",  ]  [[package]] -name = "android_system_properties" -version = "0.1.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "819e7219dbd41043ac279b19830f2efc897156490d7fd6ea916720117ee66311" -dependencies = [ - "libc", -] - -[[package]]  name = "anyhow"  version = "1.0.68"  source = "registry+https://github.com/rust-lang/crates.io-index" @@ -96,7 +91,7 @@ dependencies = [   "serde_nanos",   "serde_repr",   "subslice", - "time 0.3.17", + "time",   "tokio",   "tokio-retry",   "tokio-rustls", @@ -245,17 +240,6 @@ dependencies = [  ]  [[package]] -name = "bollard-stubs" -version = "1.41.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ed2f2e73fffe9455141e170fb9c1feb0ac521ec7e7dcd47a7cab72a658490fb8" -dependencies = [ - "chrono", - "serde", - "serde_with", -] - -[[package]]  name = "bumpalo"  version = "3.11.1"  source = "registry+https://github.com/rust-lang/crates.io-index" @@ -279,14 +263,13 @@ version = "0.1.0"  dependencies = [   "anyhow",   "async-nats", - "futures-util", - "log",   "proto", - "redis",   "serde",   "serde_json",   "shared",   "tokio", + "tokio-stream", + "tracing",   "twilight-model",  ] @@ -322,22 +305,6 @@ source = "registry+https://github.com/rust-lang/crates.io-index"  checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd"  [[package]] -name = "chrono" -version = "0.4.23" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "16b0a3d9ed01224b22057780a37bb8c5dbfe1be8ba48678e7bf57ec4b385411f" -dependencies = [ - "iana-time-zone", - "js-sys", - "num-integer", - "num-traits", - "serde", - "time 0.1.45", - "wasm-bindgen", - "winapi", -] - -[[package]]  name = "clap"  version = "3.2.23"  source = "registry+https://github.com/rust-lang/crates.io-index" @@ -362,16 +329,6 @@ dependencies = [  ]  [[package]] -name = "codespan-reporting" -version = "0.11.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3538270d33cc669650c4b093848450d380def10c331d38c768e34cac80576e6e" -dependencies = [ - "termcolor", - "unicode-width", -] - -[[package]]  name = "combine"  version = "4.6.6"  source = "registry+https://github.com/rust-lang/crates.io-index" @@ -451,6 +408,25 @@ dependencies = [  ]  [[package]] +name = "crossbeam-channel" +version = "0.5.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c2dd04ddaf88237dc3b8d8f9a3c1004b506b54b3313403944054d23c0870c521" +dependencies = [ + "cfg-if", + "crossbeam-utils", +] + +[[package]] +name = "crossbeam-utils" +version = "0.8.14" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4fb766fa798726286dbbb842f174001dab8abc7b627a1dd86e0b7222a95d929f" +dependencies = [ + "cfg-if", +] + +[[package]]  name = "crypto-common"  version = "0.1.6"  source = "registry+https://github.com/rust-lang/crates.io-index" @@ -474,82 +450,16 @@ dependencies = [  ]  [[package]] -name = "cxx" -version = "1.0.85" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5add3fc1717409d029b20c5b6903fc0c0b02fa6741d820054f4a2efa5e5816fd" -dependencies = [ - "cc", - "cxxbridge-flags", - "cxxbridge-macro", - "link-cplusplus", -] - -[[package]] -name = "cxx-build" -version = "1.0.85" +name = "dashmap" +version = "5.4.0"  source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b4c87959ba14bc6fbc61df77c3fcfe180fc32b93538c4f1031dd802ccb5f2ff0" +checksum = "907076dfda823b0b36d2a1bb5f90c96660a5bbcd7729e10727f07858f22c4edc"  dependencies = [ - "cc", - "codespan-reporting", + "cfg-if", + "hashbrown", + "lock_api",   "once_cell", - "proc-macro2", - "quote", - "scratch", - "syn", -] - -[[package]] -name = "cxxbridge-flags" -version = "1.0.85" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "69a3e162fde4e594ed2b07d0f83c6c67b745e7f28ce58c6df5e6b6bef99dfb59" - -[[package]] -name = "cxxbridge-macro" -version = "1.0.85" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3e7e2adeb6a0d4a282e581096b06e1791532b7d576dcde5ccd9382acf55db8e6" -dependencies = [ - "proc-macro2", - "quote", - "syn", -] - -[[package]] -name = "darling" -version = "0.13.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a01d95850c592940db9b8194bc39f4bc0e89dee5c4265e4b1807c34a9aba453c" -dependencies = [ - "darling_core", - "darling_macro", -] - -[[package]] -name = "darling_core" -version = "0.13.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "859d65a907b6852c9361e3185c862aae7fafd2887876799fa55f5f99dc40d610" -dependencies = [ - "fnv", - "ident_case", - "proc-macro2", - "quote", - "strsim", - "syn", -] - -[[package]] -name = "darling_macro" -version = "0.13.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9c972679f83bdf9c42bd905396b6c3588a843a17f0f16dfcfa3e2c5d57441835" -dependencies = [ - "darling_core", - "quote", - "syn", + "parking_lot_core",  ]  [[package]] @@ -584,7 +494,6 @@ checksum = "8168378f4e5023e7218c89c891c0fd8ecdb5e5e4f18cb78f38cf245dd021e76f"  dependencies = [   "block-buffer 0.10.3",   "crypto-common", - "subtle",  ]  [[package]] @@ -624,7 +533,7 @@ dependencies = [   "ed25519",   "rand 0.7.3",   "serde", - "sha2 0.9.9", + "sha2",   "zeroize",  ] @@ -635,34 +544,26 @@ source = "registry+https://github.com/rust-lang/crates.io-index"  checksum = "90e5c1c8368803113bf0c9584fc495a58b86dc8a29edbf8fe877d21d9507e797"  [[package]] -name = "enumflags2" -version = "0.7.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e75d4cd21b95383444831539909fbb14b9dc3fdceb2a6f5d36577329a1f55ccb" -dependencies = [ - "enumflags2_derive", - "serde", -] - -[[package]] -name = "enumflags2_derive" -version = "0.7.4" +name = "env_logger" +version = "0.7.1"  source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f58dc3c5e468259f19f2d46304a6b28f1c3d034442e14b322d2b850e36f6d5ae" +checksum = "44533bbbb3bb3c1fa17d9f2e4e38bbbaf8396ba82193c4cb1b6445d711445d36"  dependencies = [ - "proc-macro2", - "quote", - "syn", + "atty", + "humantime 1.3.0", + "log", + "regex", + "termcolor",  ]  [[package]]  name = "env_logger" -version = "0.7.1" +version = "0.10.0"  source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "44533bbbb3bb3c1fa17d9f2e4e38bbbaf8396ba82193c4cb1b6445d711445d36" +checksum = "85cdab6a89accf66733ad5a1693a4dcced6aeff64602b634530dd73c1f3ee9f0"  dependencies = [ - "atty", - "humantime", + "humantime 2.1.0", + "is-terminal",   "log",   "regex",   "termcolor", @@ -839,14 +740,20 @@ name = "gateway"  version = "0.1.0"  dependencies = [   "anyhow", + "async-nats",   "bytes", - "futures",   "leash", + "opentelemetry", + "opentelemetry-http",   "proto",   "serde",   "serde_json",   "shared",   "tokio", + "tokio-stream", + "tracing", + "tracing-futures", + "tracing-opentelemetry",   "twilight-gateway",   "twilight-model",  ] @@ -957,15 +864,6 @@ source = "registry+https://github.com/rust-lang/crates.io-index"  checksum = "7f24254aa9a54b5c858eaee2f5bccdb46aaf0e486a595ed5fd8f86ba55232a70"  [[package]] -name = "hmac" -version = "0.12.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6c49c37c09c17a53d937dfbb742eb3a961d65a994e6bcdcf37e7399d0cc8ab5e" -dependencies = [ - "digest 0.10.6", -] - -[[package]]  name = "http"  version = "0.2.8"  source = "registry+https://github.com/rust-lang/crates.io-index" @@ -1015,6 +913,12 @@ dependencies = [  ]  [[package]] +name = "humantime" +version = "2.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9a3a5bfb195931eeb336b2a7b4d761daec841b97f947d34394601737a7bba5e4" + +[[package]]  name = "hyper"  version = "0.14.23"  source = "registry+https://github.com/rust-lang/crates.io-index" @@ -1078,36 +982,6 @@ dependencies = [  ]  [[package]] -name = "iana-time-zone" -version = "0.1.53" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "64c122667b287044802d6ce17ee2ddf13207ed924c712de9a66a5814d5b64765" -dependencies = [ - "android_system_properties", - "core-foundation-sys", - "iana-time-zone-haiku", - "js-sys", - "wasm-bindgen", - "winapi", -] - -[[package]] -name = "iana-time-zone-haiku" -version = "0.1.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0703ae284fc167426161c2e3f1da3ea71d94b21bedbcc9494e92b28e334e3dca" -dependencies = [ - "cxx", - "cxx-build", -] - -[[package]] -name = "ident_case" -version = "1.0.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b9e0384b61958566e926dc50660321d12159025e767c18e043daf26b70104c39" - -[[package]]  name = "idna"  version = "0.3.0"  source = "registry+https://github.com/rust-lang/crates.io-index" @@ -1128,12 +1002,6 @@ dependencies = [  ]  [[package]] -name = "inner" -version = "0.1.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d9368e93322f271c5ca078ed2ddcfad3511f1a40f564e522ade34e6e5c8e6680" - -[[package]]  name = "instant"  version = "0.1.12"  source = "registry+https://github.com/rust-lang/crates.io-index" @@ -1153,6 +1021,18 @@ dependencies = [  ]  [[package]] +name = "is-terminal" +version = "0.4.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "28dfb6c8100ccc63462345b67d1bbc3679177c75ee4bf59bf29c8b1d110b8189" +dependencies = [ + "hermit-abi 0.2.6", + "io-lifetimes", + "rustix", + "windows-sys 0.42.0", +] + +[[package]]  name = "itertools"  version = "0.10.5"  source = "registry+https://github.com/rust-lang/crates.io-index" @@ -1207,10 +1087,16 @@ name = "leash"  version = "0.1.0"  dependencies = [   "anyhow", - "pretty_env_logger", + "env_logger 0.10.0", + "opentelemetry", + "opentelemetry-otlp",   "serde",   "shared",   "tokio", + "tracing", + "tracing-log", + "tracing-opentelemetry", + "tracing-subscriber",  ]  [[package]] @@ -1231,15 +1117,6 @@ dependencies = [  ]  [[package]] -name = "link-cplusplus" -version = "1.0.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ecd207c9c713c34f95a097a5b029ac2ce6010530c7b49d7fea24d977dede04f5" -dependencies = [ - "cc", -] - -[[package]]  name = "linked-hash-map"  version = "0.5.6"  source = "registry+https://github.com/rust-lang/crates.io-index" @@ -1271,6 +1148,15 @@ dependencies = [  ]  [[package]] +name = "matchers" +version = "0.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8263075bb86c5a1b1427b5ae862e8889656f126e9f77c484496e8b47cf5c5558" +dependencies = [ + "regex-automata", +] + +[[package]]  name = "matchit"  version = "0.7.0"  source = "registry+https://github.com/rust-lang/crates.io-index" @@ -1365,23 +1251,23 @@ dependencies = [  ]  [[package]] -name = "nuid" -version = "0.3.2" +name = "nu-ansi-term" +version = "0.46.0"  source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "20c1bb65186718d348306bf1afdeb20d9ab45b2ab80fb793c0fdcf59ffbb4f38" +checksum = "77a8165726e8236064dbb45459242600304b42a5ea24ee2948e18e023bf7ba84"  dependencies = [ - "lazy_static", - "rand 0.8.5", + "overload", + "winapi",  ]  [[package]] -name = "num-integer" -version = "0.1.45" +name = "nuid" +version = "0.3.2"  source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "225d3389fb3509a24c93f5c29eb6bde2586b98d9f016636dff58d7c6f7569cd9" +checksum = "20c1bb65186718d348306bf1afdeb20d9ab45b2ab80fb793c0fdcf59ffbb4f38"  dependencies = [ - "autocfg", - "num-traits", + "lazy_static", + "rand 0.8.5",  ]  [[package]] @@ -1461,6 +1347,98 @@ dependencies = [  ]  [[package]] +name = "opentelemetry" +version = "0.18.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "69d6c3d7288a106c0a363e4b0e8d308058d56902adefb16f4936f417ffef086e" +dependencies = [ + "opentelemetry_api", + "opentelemetry_sdk", +] + +[[package]] +name = "opentelemetry-http" +version = "0.7.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1edc79add46364183ece1a4542592ca593e6421c60807232f5b8f7a31703825d" +dependencies = [ + "async-trait", + "bytes", + "http", + "opentelemetry_api", +] + +[[package]] +name = "opentelemetry-otlp" +version = "0.11.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d1c928609d087790fc936a1067bdc310ae702bdf3b090c3f281b713622c8bbde" +dependencies = [ + "async-trait", + "futures", + "futures-util", + "http", + "opentelemetry", + "opentelemetry-proto", + "prost", + "thiserror", + "tokio", + "tonic", +] + +[[package]] +name = "opentelemetry-proto" +version = "0.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d61a2f56df5574508dd86aaca016c917489e589ece4141df1b5e349af8d66c28" +dependencies = [ + "futures", + "futures-util", + "opentelemetry", + "prost", + "tonic", + "tonic-build", +] + +[[package]] +name = "opentelemetry_api" +version = "0.18.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c24f96e21e7acc813c7a8394ee94978929db2bcc46cf6b5014fc612bf7760c22" +dependencies = [ + "fnv", + "futures-channel", + "futures-util", + "indexmap", + "js-sys", + "once_cell", + "pin-project-lite", + "thiserror", +] + +[[package]] +name = "opentelemetry_sdk" +version = "0.18.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1ca41c4933371b61c2a2f214bf16931499af4ec90543604ec828f7a625c09113" +dependencies = [ + "async-trait", + "crossbeam-channel", + "dashmap", + "fnv", + "futures-channel", + "futures-executor", + "futures-util", + "once_cell", + "opentelemetry_api", + "percent-encoding", + "rand 0.8.5", + "thiserror", + "tokio", + "tokio-stream", +] + +[[package]]  name = "ordered-float"  version = "2.10.0"  source = "registry+https://github.com/rust-lang/crates.io-index" @@ -1486,6 +1464,12 @@ source = "registry+https://github.com/rust-lang/crates.io-index"  checksum = "9b7820b9daea5457c9f21c69448905d723fbd21136ccf521748f23fd49e723ee"  [[package]] +name = "overload" +version = "0.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b15813163c1d831bf4a13c3610c05c0d03b39feb07f7e09fa234dac9b15aaf39" + +[[package]]  name = "parking_lot"  version = "0.12.1"  source = "registry+https://github.com/rust-lang/crates.io-index" @@ -1640,16 +1624,6 @@ source = "registry+https://github.com/rust-lang/crates.io-index"  checksum = "5b40af805b3121feab8a3c29f04d8ad262fa8e0561883e7653e024ae4479e6de"  [[package]] -name = "pretty_env_logger" -version = "0.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "926d36b9553851b8b0005f1275891b392ee4d2d833852c417ed025477350fb9d" -dependencies = [ - "env_logger", - "log", -] - -[[package]]  name = "prettyplease"  version = "0.1.22"  source = "registry+https://github.com/rust-lang/crates.io-index" @@ -1669,36 +1643,6 @@ dependencies = [  ]  [[package]] -name = "procfs" -version = "0.14.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b1de8dacb0873f77e6aefc6d71e044761fcc68060290f5b1089fcdf84626bb69" -dependencies = [ - "bitflags", - "byteorder", - "hex", - "lazy_static", - "rustix", -] - -[[package]] -name = "prometheus" -version = "0.13.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "449811d15fbdf5ceb5c1144416066429cf82316e2ec8ce0c1f6f8a02e7bbcf8c" -dependencies = [ - "cfg-if", - "fnv", - "lazy_static", - "libc", - "memchr", - "parking_lot", - "procfs", - "protobuf", - "thiserror", -] - -[[package]]  name = "prost"  version = "0.11.5"  source = "registry+https://github.com/rust-lang/crates.io-index" @@ -1764,12 +1708,6 @@ dependencies = [  ]  [[package]] -name = "protobuf" -version = "2.28.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "106dd99e98437432fed6519dedecfade6a06a73bb7b2a1e019fdd2bee5778d94" - -[[package]]  name = "quick-error"  version = "1.2.3"  source = "registry+https://github.com/rust-lang/crates.io-index" @@ -1860,17 +1798,19 @@ name = "ratelimit"  version = "0.1.0"  dependencies = [   "anyhow", - "futures-util",   "hyper",   "leash", + "opentelemetry", + "opentelemetry-http",   "proto", + "redis",   "serde", - "serde_json",   "shared",   "tokio",   "tokio-stream",   "tonic",   "tracing", + "tracing-opentelemetry",   "twilight-http-ratelimiting 0.14.0 (git+https://github.com/MatthieuCoder/twilight.git)",  ] @@ -1919,6 +1859,15 @@ dependencies = [  ]  [[package]] +name = "regex-automata" +version = "0.1.10" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6c230d73fb8d8c1b9c0b3135c5142a8acee3a0558fb8db5cf1cb65f8d7862132" +dependencies = [ + "regex-syntax", +] + +[[package]]  name = "regex-syntax"  version = "0.6.28"  source = "registry+https://github.com/rust-lang/crates.io-index" @@ -1939,24 +1888,22 @@ version = "0.1.0"  dependencies = [   "anyhow",   "dns-lookup", - "futures-util",   "hashring",   "http",   "hyper",   "hyper-tls", - "lazy_static",   "leash", + "opentelemetry", + "opentelemetry-http",   "proto",   "serde", - "serde_json",   "shared",   "tokio", - "tokio-scoped",   "tokio-stream",   "tonic",   "tracing", + "tracing-opentelemetry",   "twilight-http-ratelimiting 0.14.0 (git+https://github.com/MatthieuCoder/twilight.git)", - "xxhash-rust",  ]  [[package]] @@ -2071,12 +2018,6 @@ source = "registry+https://github.com/rust-lang/crates.io-index"  checksum = "d29ab0c6d3fc0ee92fe66e2d99f700eab17a8d57d1c1d3b748380fb20baa78cd"  [[package]] -name = "scratch" -version = "1.0.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ddccb15bcce173023b3fedd9436f882a0739b8dfb45e4f6b6002bee5929f61b2" - -[[package]]  name = "sct"  version = "0.7.0"  source = "registry+https://github.com/rust-lang/crates.io-index" @@ -2171,25 +2112,12 @@ dependencies = [  ]  [[package]] -name = "serde_with" -version = "1.14.0" +name = "serde_test" +version = "1.0.152"  source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "678b5a069e50bf00ecd22d0cd8ddf7c236f68581b03db652061ed5eb13a312ff" +checksum = "3611210d2d67e3513204742004d6ac6f589e521861dabb0f649b070eea8bed9e"  dependencies = [   "serde", - "serde_with_macros", -] - -[[package]] -name = "serde_with_macros" -version = "1.5.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e182d6ec6f05393cc0e5ed1bf81ad6db3a8feedf8ee515ecdd369809bcce8082" -dependencies = [ - "darling", - "proc-macro2", - "quote", - "syn",  ]  [[package]] @@ -2234,14 +2162,12 @@ dependencies = [  ]  [[package]] -name = "sha2" -version = "0.10.6" +name = "sharded-slab" +version = "0.1.4"  source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "82e6b795fe2e3b1e845bafcb27aa35405c4d47cdfc92af5fc8d3002f76cebdc0" +checksum = "900fba806f70c630b0a382d0d825e17a0f19fcd059a2ade1ff237bcddf446b31"  dependencies = [ - "cfg-if", - "cpufeatures", - "digest 0.10.6", + "lazy_static",  ]  [[package]] @@ -2251,18 +2177,14 @@ dependencies = [   "anyhow",   "async-nats",   "config", - "enumflags2", - "hyper", - "inner", - "log", - "prometheus",   "redis",   "serde",   "serde_json",   "serde_repr", - "testcontainers", + "serde_test",   "thiserror",   "tokio", + "tracing",   "twilight-model",  ] @@ -2413,23 +2335,6 @@ dependencies = [  ]  [[package]] -name = "testcontainers" -version = "0.14.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0e2b1567ca8a2b819ea7b28c92be35d9f76fb9edb214321dcc86eb96023d1f87" -dependencies = [ - "bollard-stubs", - "futures", - "hex", - "hmac", - "log", - "rand 0.8.5", - "serde", - "serde_json", - "sha2 0.10.6", -] - -[[package]]  name = "textwrap"  version = "0.16.0"  source = "registry+https://github.com/rust-lang/crates.io-index" @@ -2456,14 +2361,12 @@ dependencies = [  ]  [[package]] -name = "time" -version = "0.1.45" +name = "thread_local" +version = "1.1.4"  source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1b797afad3f312d1c66a56d11d0316f916356d11bd158fbc6ca6389ff6bf805a" +checksum = "5516c27b78311c50bf42c071425c560ac799b11c30b31f87e3081965fe5e0180"  dependencies = [ - "libc", - "wasi 0.10.0+wasi-snapshot-preview1", - "winapi", + "once_cell",  ]  [[package]] @@ -2582,16 +2485,6 @@ dependencies = [  ]  [[package]] -name = "tokio-scoped" -version = "0.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e4beb8ba13bc53ac53ce1d52b42f02e5d8060f0f42138862869beb769722b256" -dependencies = [ - "tokio", - "tokio-stream", -] - -[[package]]  name = "tokio-stream"  version = "0.1.11"  source = "registry+https://github.com/rust-lang/crates.io-index" @@ -2768,6 +2661,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"  checksum = "24eb03ba0eab1fd845050058ce5e616558e8f8d8fca633e6b163fe25c797213a"  dependencies = [   "once_cell", + "valuable",  ]  [[package]] @@ -2781,6 +2675,50 @@ dependencies = [  ]  [[package]] +name = "tracing-log" +version = "0.1.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "78ddad33d2d10b1ed7eb9d1f518a5674713876e97e5bb9b7345a7984fbb4f922" +dependencies = [ + "env_logger 0.7.1", + "lazy_static", + "log", + "tracing-core", +] + +[[package]] +name = "tracing-opentelemetry" +version = "0.18.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "21ebb87a95ea13271332df069020513ab70bdb5637ca42d6e492dc3bbbad48de" +dependencies = [ + "once_cell", + "opentelemetry", + "tracing", + "tracing-core", + "tracing-log", + "tracing-subscriber", +] + +[[package]] +name = "tracing-subscriber" +version = "0.3.16" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a6176eae26dd70d0c919749377897b54a9276bd7061339665dd68777926b5a70" +dependencies = [ + "matchers", + "nu-ansi-term", + "once_cell", + "regex", + "sharded-slab", + "smallvec", + "thread_local", + "tracing", + "tracing-core", + "tracing-log", +] + +[[package]]  name = "try-lock"  version = "0.2.3"  source = "registry+https://github.com/rust-lang/crates.io-index" @@ -2892,7 +2830,7 @@ dependencies = [   "serde",   "serde-value",   "serde_repr", - "time 0.3.17", + "time",   "tracing",  ] @@ -2939,12 +2877,6 @@ dependencies = [  ]  [[package]] -name = "unicode-width" -version = "0.1.10" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c0edd1e5b14653f783770bce4a4dabb4a5108a5370a5f5d8cfe8710c361f6c8b" - -[[package]]  name = "unicode-xid"  version = "0.2.4"  source = "registry+https://github.com/rust-lang/crates.io-index" @@ -2974,6 +2906,12 @@ source = "registry+https://github.com/rust-lang/crates.io-index"  checksum = "09cc8ee72d2a9becf2f2febe0205bbed8fc6615b7cb429ad062dc7b7ddd036a9"  [[package]] +name = "valuable" +version = "0.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "830b7e5d4d90034032940e4ace0d9a9a057e7a45cd94e6c007832e39edb82f6d" + +[[package]]  name = "vcpkg"  version = "0.2.15"  source = "registry+https://github.com/rust-lang/crates.io-index" @@ -3003,12 +2941,6 @@ checksum = "cccddf32554fecc6acb585f82a32a72e28b48f8c4c1883ddfeeeaa96f7d8e519"  [[package]]  name = "wasi" -version = "0.10.0+wasi-snapshot-preview1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1a143597ca7c7793eff794def352d41792a93c481eb1042423ff7ff72ba2c31f" - -[[package]] -name = "wasi"  version = "0.11.0+wasi-snapshot-preview1"  source = "registry+https://github.com/rust-lang/crates.io-index"  checksum = "9c8d87e72b64a3b4db28d11ce29237c246188f4f51057d65a7eab63b7987e423" @@ -3082,17 +3014,17 @@ name = "webhook"  version = "0.1.0"  dependencies = [   "anyhow", + "async-nats",   "ed25519-dalek", - "futures-util",   "hex",   "hyper", - "lazy_static",   "leash",   "proto",   "serde",   "serde_json",   "shared",   "tokio", + "tracing",   "twilight-model",  ] @@ -3249,12 +3181,6 @@ source = "registry+https://github.com/rust-lang/crates.io-index"  checksum = "f40009d85759725a34da6d89a94e63d7bdc50a862acf0dbc7c8e488f1edcb6f5"  [[package]] -name = "xxhash-rust" -version = "0.8.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "735a71d46c4d68d71d4b24d03fdc2b98e38cea81730595801db779c04fe80d70" - -[[package]]  name = "yaml-rust"  version = "0.4.5"  source = "registry+https://github.com/rust-lang/crates.io-index"  | 
