aturi indexer with listRecords and countRecords endpoints

use axum 0.8

ptr.pet 2e3c08e1 fd819714

verified
+10 -24
+9 -23
Cargo.lock
··· 24 checksum = "a23eb6b1614318a8071c9b2521f36b424b2c83db5eb3a0fead4a6c0809af6e61" 25 26 [[package]] 27 - name = "async-trait" 28 - version = "0.1.89" 29 - source = "registry+https://github.com/rust-lang/crates.io-index" 30 - checksum = "9035ad2d096bed7955a320ee7e2230574d28fd3c3a0f186cbea1ff3c7eed5dbb" 31 - dependencies = [ 32 - "proc-macro2", 33 - "quote", 34 - "syn", 35 - ] 36 - 37 - [[package]] 38 name = "atomic-waker" 39 version = "1.1.2" 40 source = "registry+https://github.com/rust-lang/crates.io-index" ··· 89 90 [[package]] 91 name = "axum" 92 - version = "0.7.9" 93 source = "registry+https://github.com/rust-lang/crates.io-index" 94 - checksum = "edca88bc138befd0323b20752846e6587272d3b03b0343c8ea28a6f819e6e71f" 95 dependencies = [ 96 - "async-trait", 97 "axum-core", 98 "bytes", 99 "futures-util", 100 "http", 101 "http-body", ··· 108 "mime", 109 "percent-encoding", 110 "pin-project-lite", 111 - "rustversion", 112 - "serde", 113 "serde_json", 114 "serde_path_to_error", 115 "serde_urlencoded", ··· 123 124 [[package]] 125 name = "axum-core" 126 - version = "0.4.5" 127 source = "registry+https://github.com/rust-lang/crates.io-index" 128 - checksum = "09f2bd6146b97ae3359fa0cc6d6b376d9539582c7b4220f041a33ec24c226199" 129 dependencies = [ 130 - "async-trait", 131 "bytes", 132 - "futures-util", 133 "http", 134 "http-body", 135 "http-body-util", 136 "mime", 137 "pin-project-lite", 138 - "rustversion", 139 "sync_wrapper", 140 "tower-layer", 141 "tower-service", ··· 968 969 [[package]] 970 name = "matchit" 971 - version = "0.7.3" 972 source = "registry+https://github.com/rust-lang/crates.io-index" 973 - checksum = "0e7465ac9959cc2b1404e8e2367b43684a6d13790fe23056cc8c6c5a6b7bcb94" 974 975 [[package]] 976 name = "memchr"
··· 24 checksum = "a23eb6b1614318a8071c9b2521f36b424b2c83db5eb3a0fead4a6c0809af6e61" 25 26 [[package]] 27 name = "atomic-waker" 28 version = "1.1.2" 29 source = "registry+https://github.com/rust-lang/crates.io-index" ··· 78 79 [[package]] 80 name = "axum" 81 + version = "0.8.8" 82 source = "registry+https://github.com/rust-lang/crates.io-index" 83 + checksum = "8b52af3cb4058c895d37317bb27508dccc8e5f2d39454016b297bf4a400597b8" 84 dependencies = [ 85 "axum-core", 86 "bytes", 87 + "form_urlencoded", 88 "futures-util", 89 "http", 90 "http-body", ··· 97 "mime", 98 "percent-encoding", 99 "pin-project-lite", 100 + "serde_core", 101 "serde_json", 102 "serde_path_to_error", 103 "serde_urlencoded", ··· 111 112 [[package]] 113 name = "axum-core" 114 + version = "0.5.6" 115 source = "registry+https://github.com/rust-lang/crates.io-index" 116 + checksum = "08c78f31d7b1291f7ee735c1c6780ccde7785daae9a9206026862dab7d8792d1" 117 dependencies = [ 118 "bytes", 119 + "futures-core", 120 "http", 121 "http-body", 122 "http-body-util", 123 "mime", 124 "pin-project-lite", 125 "sync_wrapper", 126 "tower-layer", 127 "tower-service", ··· 954 955 [[package]] 956 name = "matchit" 957 + version = "0.8.4" 958 source = "registry+https://github.com/rust-lang/crates.io-index" 959 + checksum = "47e1ffaa40ddd1f3ed91f717a33c8c0ee23fff369e3aa8772b9605cc1d22f4c3" 960 961 [[package]] 962 name = "memchr"
+1 -1
Cargo.toml
··· 7 tapped = { git = "https://tangled.sh/ptr.pet/tapped" } 8 tokio = { version = "1", features = ["rt-multi-thread", "signal"] } 9 tokio-util = { version = "0.7" } 10 - axum = "0.7" 11 serde = { version = "1", features = ["derive"] } 12 serde_json = "1" 13 anyhow = "1"
··· 7 tapped = { git = "https://tangled.sh/ptr.pet/tapped" } 8 tokio = { version = "1", features = ["rt-multi-thread", "signal"] } 9 tokio-util = { version = "0.7" } 10 + axum = "0.8" 11 serde = { version = "1", features = ["derive"] } 12 serde_json = "1" 13 anyhow = "1"