diff --git a/Cargo.lock b/Cargo.lock index 6a5916e..dae5f7b 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -54,9 +54,9 @@ dependencies = [ [[package]] name = "anyhow" -version = "1.0.97" +version = "1.0.98" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dcfed56ad506cb2c684a14971b8861fdc3baaaae314b9e5f9bb532cbe3ba7a4f" +checksum = "e16d2d3311acee920a9eb8d33b8cbc1787ce4a264e85f964c2404b969bdcd487" [[package]] name = "approx" @@ -223,9 +223,9 @@ dependencies = [ [[package]] name = "cc" -version = "1.2.18" +version = "1.2.19" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "525046617d8376e3db1deffb079e91cef90a89fc3ca5c185bbf8c9ecdd15cd5c" +checksum = "8e3a13707ac958681c13b39b458c073d0d9bc8a22cb1b2f4c8e55eb72c13f362" dependencies = [ "jobserver", "libc", @@ -240,9 +240,9 @@ checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd" [[package]] name = "chrono" -version = "0.4.40" +version = "0.4.39" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1a7964611d71df112cb1730f2ee67324fcf4d0fc6606acbbe9bfe06df124637c" +checksum = "7e36cc9d416881d2e24f9a963be5fb1cd90966419ac844274161d10488b3e825" dependencies = [ "android-tzdata", "iana-time-zone", @@ -250,7 +250,7 @@ dependencies = [ "num-traits", "serde", "wasm-bindgen", - "windows-link", + "windows-targets 0.52.6", ] [[package]] @@ -266,7 +266,7 @@ dependencies = [ [[package]] name = "common" version = "0.1.0" -source = "git+ssh://git@github.com/fathom-io/platform-backend.git#a080c29b7b52e3feac753dbd3c2a9a16974bf57b" +source = "git+ssh://git@github.com/fathom-io/platform-backend.git#af57f516be76d4bdbbfcc2e89d2e4dd8213dfcff" dependencies = [ "anyhow", "chrono", @@ -399,6 +399,41 @@ dependencies = [ "memchr", ] +[[package]] +name = "darling" +version = "0.20.11" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fc7f46116c46ff9ab3eb1597a45688b6715c6e628b5c133e288e709a29bcb4ee" +dependencies = [ + "darling_core", + "darling_macro", +] + +[[package]] +name = "darling_core" +version = "0.20.11" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0d00b9596d185e565c2207a0b01f8bd1a135483d02d9b7b0a54b11da8d53412e" +dependencies = [ + "fnv", + "ident_case", + "proc-macro2", + "quote", + "strsim", + "syn 2.0.100", +] + +[[package]] +name = "darling_macro" +version = "0.20.11" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fc34b93ccb385b40dc71c6fceac4b2ad23662c7eeb248cf10d529b7e055b6ead" +dependencies = [ + "darling_core", + "quote", + "syn 2.0.100", +] + [[package]] name = "deflate64" version = "0.1.9" @@ -412,6 +447,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9c9e6a11ca8224451684bc0d7d5a7adbf8f2fd6887261a1cfc3c0432f9d4068e" dependencies = [ "powerfmt", + "serde", ] [[package]] @@ -493,7 +529,7 @@ checksum = "37909eebbb50d72f9059c3b6d82c0463f2ff062c9e95845c43a6c9c0355411be" [[package]] name = "fathom-function" version = "0.1.0" -source = "git+ssh://git@github.com/fathom-io/pipeline-calculations.git?branch=johnabell%2Fpipeline-route#49f853870bc95ce0050d2e2f4ec57eee9e7b7904" +source = "git+ssh://git@github.com/fathom-io/pipeline-calculations.git?branch=johnabell%2Fili-comparison#c70ef7c0011c9fce8c1e3d329e83594b62677d2a" dependencies = [ "axum", "fathom-function-macros", @@ -510,7 +546,7 @@ dependencies = [ [[package]] name = "fathom-function-macros" version = "0.1.0" -source = "git+ssh://git@github.com/fathom-io/pipeline-calculations.git?branch=johnabell%2Fpipeline-route#49f853870bc95ce0050d2e2f4ec57eee9e7b7904" +source = "git+ssh://git@github.com/fathom-io/pipeline-calculations.git?branch=johnabell%2Fili-comparison#c70ef7c0011c9fce8c1e3d329e83594b62677d2a" dependencies = [ "proc-macro2", "quote", @@ -697,9 +733,9 @@ checksum = "36d244a08113319b5ebcabad2b8b7925732d15eec46d7e7ac3c11734f3b7a6ad" [[package]] name = "getrandom" -version = "0.2.15" +version = "0.2.16" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c4567c8db10ae91089c99af84c68c38da3ec2f087c3f82960bcdbf3656b6f4d7" +checksum = "335ff9f135e4384c8150d6f27c6daed433577f86b4750418338c01a1a2528592" dependencies = [ "cfg-if", "libc", @@ -747,9 +783,9 @@ dependencies = [ [[package]] name = "h2" -version = "0.4.8" +version = "0.4.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5017294ff4bb30944501348f6f8e42e6ad28f42c8bbef7a74029aff064a4e3c2" +checksum = "75249d144030531f8dee69fe9cea04d3edf809a017ae445e2abdff6629e86633" dependencies = [ "atomic-waker", "bytes", @@ -757,13 +793,19 @@ dependencies = [ "futures-core", "futures-sink", "http", - "indexmap", + "indexmap 2.9.0", "slab", "tokio", "tokio-util", "tracing", ] +[[package]] +name = "hashbrown" +version = "0.12.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8a9ee70c43aaf417c914396645a0fa852624801b24ebb7ae78fe8272889ac888" + [[package]] name = "hashbrown" version = "0.15.2" @@ -776,6 +818,12 @@ version = "0.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "2304e00983f87ffb38b55b444b5e3b60a884b5d30c0fca7d82fe33449bbe55ea" +[[package]] +name = "hex" +version = "0.4.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7f24254aa9a54b5c858eaee2f5bccdb46aaf0e486a595ed5fd8f86ba55232a70" + [[package]] name = "hmac" version = "0.12.1" @@ -1047,6 +1095,12 @@ dependencies = [ "syn 2.0.100", ] +[[package]] +name = "ident_case" +version = "1.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b9e0384b61958566e926dc50660321d12159025e767c18e043daf26b70104c39" + [[package]] name = "idna" version = "1.0.3" @@ -1068,6 +1122,17 @@ dependencies = [ "icu_properties", ] +[[package]] +name = "indexmap" +version = "1.9.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bd070e393353796e801d209ad339e89596eb4c8d430d18ede6a1cced8fafbd99" +dependencies = [ + "autocfg", + "hashbrown 0.12.3", + "serde", +] + [[package]] name = "indexmap" version = "2.9.0" @@ -1075,13 +1140,14 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "cea70ddb795996207ad57735b50c5982d8844f38ba9ee5f1aedcfb708a2aa11e" dependencies = [ "equivalent", - "hashbrown", + "hashbrown 0.15.2", + "serde", ] [[package]] name = "infrastructure" version = "0.1.0" -source = "git+ssh://git@github.com/fathom-io/pipeline-calculations.git?branch=johnabell%2Fpipeline-route#49f853870bc95ce0050d2e2f4ec57eee9e7b7904" +source = "git+ssh://git@github.com/fathom-io/pipeline-calculations.git?branch=johnabell%2Fili-comparison#c70ef7c0011c9fce8c1e3d329e83594b62677d2a" dependencies = [ "futures", "itertools", @@ -1144,23 +1210,25 @@ dependencies = [ [[package]] name = "jsonql" -version = "0.3.0" -source = "git+ssh://git@github.com/fathom-io/platform-backend.git#a080c29b7b52e3feac753dbd3c2a9a16974bf57b" +version = "0.4.0" +source = "git+ssh://git@github.com/fathom-io/platform-backend.git#af57f516be76d4bdbbfcc2e89d2e4dd8213dfcff" dependencies = [ "anyhow", "chrono", "convert_case", "jsonql_macros", + "pg_escape", "serde", "serde_json", "strum", + "tokio", "uuid", ] [[package]] name = "jsonql_macros" version = "0.1.0" -source = "git+ssh://git@github.com/fathom-io/platform-backend.git#a080c29b7b52e3feac753dbd3c2a9a16974bf57b" +source = "git+ssh://git@github.com/fathom-io/platform-backend.git#af57f516be76d4bdbbfcc2e89d2e4dd8213dfcff" dependencies = [ "proc-macro2", "quote", @@ -1188,15 +1256,15 @@ checksum = "bbd2bcb4c963f2ddae06a2efc7e9f3591312473c50c6685e1f298068316e66fe" [[package]] name = "libc" -version = "0.2.171" +version = "0.2.172" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c19937216e9d3aa9956d9bb8dfc0b0c8beb6058fc4f7a4dc4d850edf86a237d6" +checksum = "d750af042f7ef4f724306de029d18836c26c1765a54a6a3f094cbd23a7267ffa" [[package]] name = "libm" -version = "0.2.11" +version = "0.2.13" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8355be11b20d696c8f18f6cc018c4e372165b1fa8126cef092399c9951984ffa" +checksum = "c9627da5196e5d8ed0b0495e61e518847578da83483c37288316d9b2e03a7f72" [[package]] name = "linux-raw-sys" @@ -1210,12 +1278,6 @@ version = "0.7.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "23fb14cb19457329c82206317a5663005a4d404783dc74f4252769b0d5f42856" -[[package]] -name = "lockfree-object-pool" -version = "0.1.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9374ef4228402d4b7e403e5838cb880d9ee663314b0a900d5a6aabf0c213552e" - [[package]] name = "log" version = "0.4.27" @@ -1246,7 +1308,7 @@ dependencies = [ [[package]] name = "macros" version = "0.1.0" -source = "git+ssh://git@github.com/fathom-io/platform-backend.git#a080c29b7b52e3feac753dbd3c2a9a16974bf57b" +source = "git+ssh://git@github.com/fathom-io/platform-backend.git#af57f516be76d4bdbbfcc2e89d2e4dd8213dfcff" dependencies = [ "proc-macro2", "quote", @@ -1510,6 +1572,57 @@ version = "2.3.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e3148f5046208a5d56bcfc03053e3ca6334e51da8dfb19b6cdc8b306fae3283e" +[[package]] +name = "pg_escape" +version = "0.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "44c7bc82ccbe2c7ef7ceed38dcac90d7ff46681e061e9d7310cbcd409113e303" +dependencies = [ + "phf", +] + +[[package]] +name = "phf" +version = "0.11.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1fd6780a80ae0c52cc120a26a1a42c1ae51b247a253e4e06113d23d2c2edd078" +dependencies = [ + "phf_macros", + "phf_shared", +] + +[[package]] +name = "phf_generator" +version = "0.11.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3c80231409c20246a13fddb31776fb942c38553c51e871f8cbd687a4cfb5843d" +dependencies = [ + "phf_shared", + "rand", +] + +[[package]] +name = "phf_macros" +version = "0.11.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f84ac04429c13a7ff43785d75ad27569f2951ce0ffd30a3321230db2fc727216" +dependencies = [ + "phf_generator", + "phf_shared", + "proc-macro2", + "quote", + "syn 2.0.100", +] + +[[package]] +name = "phf_shared" +version = "0.11.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "67eabc2ef2a60eb7faa00097bd1ffdb5bd28e62bf39990626a582201b7a754e5" +dependencies = [ + "siphasher", +] + [[package]] name = "pin-project-lite" version = "0.2.16" @@ -1525,7 +1638,7 @@ checksum = "8b870d8c151b6f2fb93e84a13146138f05d02ed11c7e7c54f8826aaaf7c9f184" [[package]] name = "pipeline-application" version = "0.1.0" -source = "git+ssh://git@github.com/fathom-io/pipeline-calculations.git?branch=johnabell%2Fpipeline-route#49f853870bc95ce0050d2e2f4ec57eee9e7b7904" +source = "git+ssh://git@github.com/fathom-io/pipeline-calculations.git?branch=johnabell%2Fili-comparison#c70ef7c0011c9fce8c1e3d329e83594b62677d2a" dependencies = [ "anyhow", "common", @@ -1549,7 +1662,7 @@ dependencies = [ [[package]] name = "pipeline-configuration" version = "0.1.0" -source = "git+ssh://git@github.com/fathom-io/pipeline-calculations.git?branch=johnabell%2Fpipeline-route#49f853870bc95ce0050d2e2f4ec57eee9e7b7904" +source = "git+ssh://git@github.com/fathom-io/pipeline-calculations.git?branch=johnabell%2Fili-comparison#c70ef7c0011c9fce8c1e3d329e83594b62677d2a" dependencies = [ "chrono", "csv", @@ -1571,7 +1684,7 @@ dependencies = [ [[package]] name = "pipeline-ili" version = "0.1.0" -source = "git+ssh://git@github.com/fathom-io/pipeline-calculations.git?branch=johnabell%2Fpipeline-route#49f853870bc95ce0050d2e2f4ec57eee9e7b7904" +source = "git+ssh://git@github.com/fathom-io/pipeline-calculations.git?branch=johnabell%2Fili-comparison#c70ef7c0011c9fce8c1e3d329e83594b62677d2a" dependencies = [ "approx", "chrono", @@ -1580,6 +1693,7 @@ dependencies = [ "schemars", "sequence", "serde", + "serde_with", "thiserror 2.0.12", "uom", ] @@ -1592,8 +1706,8 @@ checksum = "7edddbd0b52d732b21ad9a5fab5c704c14cd949e5e9a1ec5929a24fded1b904c" [[package]] name = "platform-data-sdk" -version = "0.17.2" -source = "git+ssh://git@github.com/fathom-io/platform-backend.git#a080c29b7b52e3feac753dbd3c2a9a16974bf57b" +version = "0.18.2" +source = "git+ssh://git@github.com/fathom-io/platform-backend.git#af57f516be76d4bdbbfcc2e89d2e4dd8213dfcff" dependencies = [ "anyhow", "bytes", @@ -1631,9 +1745,9 @@ checksum = "439ee305def115ba05938db6eb1644ff94165c5ab5e9420d1c1bcedbba909391" [[package]] name = "proc-macro2" -version = "1.0.94" +version = "1.0.95" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a31971752e70b8b2686d7e46ec17fb38dad4051d94024c88df49b667caea9c84" +checksum = "02b3e5e68a3a1a02aad3ec490a98007cbc13c37cbe84a3cd7b8e406d76e7f778" dependencies = [ "unicode-ident", ] @@ -1662,6 +1776,21 @@ version = "5.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "74765f6d916ee2faa39bc8e68e4f3ed8949b48cccdac59983d287a7cb71ce9c5" +[[package]] +name = "rand" +version = "0.8.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "34af8d1a0e25924bc5b7c43c079c942339d8f0a8b57c39049bef581b46327404" +dependencies = [ + "rand_core", +] + +[[package]] +name = "rand_core" +version = "0.6.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ec0be4795e2f6a28069bec0b5ff3e2ac9bafc99e6a9a7dc3547996c5c816922c" + [[package]] name = "rawpointer" version = "0.2.1" @@ -1758,7 +1887,7 @@ checksum = "a4689e6c2294d81e88dc6261c768b63bc4fcdb852be6d1352498b114f61383b7" dependencies = [ "cc", "cfg-if", - "getrandom 0.2.15", + "getrandom 0.2.16", "libc", "untrusted", "windows-sys 0.52.0", @@ -1881,7 +2010,7 @@ dependencies = [ [[package]] name = "sdk_common" version = "0.1.0" -source = "git+ssh://git@github.com/fathom-io/platform-backend.git#a080c29b7b52e3feac753dbd3c2a9a16974bf57b" +source = "git+ssh://git@github.com/fathom-io/platform-backend.git#af57f516be76d4bdbbfcc2e89d2e4dd8213dfcff" dependencies = [ "anyhow", "base64", @@ -1932,7 +2061,7 @@ dependencies = [ [[package]] name = "sequence" version = "0.1.0" -source = "git+ssh://git@github.com/fathom-io/pipeline-calculations.git?branch=johnabell%2Fpipeline-route#49f853870bc95ce0050d2e2f4ec57eee9e7b7904" +source = "git+ssh://git@github.com/fathom-io/pipeline-calculations.git?branch=johnabell%2Fili-comparison#c70ef7c0011c9fce8c1e3d329e83594b62677d2a" dependencies = [ "itertools", "platform-data-sdk", @@ -1946,7 +2075,7 @@ dependencies = [ [[package]] name = "sequence_derive" version = "0.1.0" -source = "git+ssh://git@github.com/fathom-io/pipeline-calculations.git?branch=johnabell%2Fpipeline-route#49f853870bc95ce0050d2e2f4ec57eee9e7b7904" +source = "git+ssh://git@github.com/fathom-io/pipeline-calculations.git?branch=johnabell%2Fili-comparison#c70ef7c0011c9fce8c1e3d329e83594b62677d2a" dependencies = [ "proc-macro2", "quote", @@ -2069,6 +2198,36 @@ dependencies = [ "serde", ] +[[package]] +name = "serde_with" +version = "3.12.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d6b6f7f2fcb69f747921f79f3926bd1e203fce4fef62c268dd3abfb6d86029aa" +dependencies = [ + "base64", + "chrono", + "hex", + "indexmap 1.9.3", + "indexmap 2.9.0", + "serde", + "serde_derive", + "serde_json", + "serde_with_macros", + "time", +] + +[[package]] +name = "serde_with_macros" +version = "3.12.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8d00caa5193a3c8362ac2b73be6b9e768aa5a4b2f721d8f4b339600c3cb51f8e" +dependencies = [ + "darling", + "proc-macro2", + "quote", + "syn 2.0.100", +] + [[package]] name = "sha1" version = "0.10.6" @@ -2114,6 +2273,12 @@ version = "0.3.7" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d66dc143e6b11c1eddc06d5c423cfc97062865baf299914ab64caa38182078fe" +[[package]] +name = "siphasher" +version = "1.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "56199f7ddabf13fe5074ce809e7d3f42b42ae711800501b5b16ea82ad029c39d" + [[package]] name = "slab" version = "0.4.9" @@ -2145,6 +2310,12 @@ version = "1.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a8f112729512f8e442d81f95a8a7ddf2b7c6b8a1a6f509a95864142b30cab2d3" +[[package]] +name = "strsim" +version = "0.11.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7da8b5736845d9f2fcb837ea5d9e2628564b3b043a70948a3f0b778838c5fb4f" + [[package]] name = "strum" version = "0.26.3" @@ -2321,10 +2492,12 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8a7619e19bc266e0f9c5e6686659d394bc57973859340060a69221e57dbc0c40" dependencies = [ "deranged", + "itoa", "num-conv", "powerfmt", "serde", "time-core", + "time-macros", ] [[package]] @@ -2333,6 +2506,16 @@ version = "0.1.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c9e9a38711f559d9e3ce1cdb06dd7c5b8ea546bc90052da6d06bb76da74bb07c" +[[package]] +name = "time-macros" +version = "0.2.22" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3526739392ec93fd8b359c8e98514cb3e8e021beb4e5f597b00a0221f8ed8a49" +dependencies = [ + "num-conv", + "time-core", +] + [[package]] name = "tinystr" version = "0.7.6" @@ -2441,7 +2624,7 @@ version = "0.22.24" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "17b4795ff5edd201c7cd6dca065ae59972ce77d1b80fa0a84d94950ece7d1474" dependencies = [ - "indexmap", + "indexmap 2.9.0", "serde", "serde_spanned", "toml_datetime", @@ -2568,9 +2751,9 @@ dependencies = [ [[package]] name = "tsify-next" -version = "0.5.5" +version = "0.5.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9a8bf7232b89b86f63b5f0ef22c64960f9cf4fb52c6698f1e7f60de93bc3292f" +checksum = "7d0f2208feeb5f7a6edb15a2389c14cd42480ef6417318316bb866da5806a61d" dependencies = [ "gloo-utils", "serde", @@ -2582,9 +2765,9 @@ dependencies = [ [[package]] name = "tsify-next-macros" -version = "0.5.5" +version = "0.5.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ab2d85ebe93eedca20d3fe6d65814c856467a649674aa7763ebd42e3bb815fec" +checksum = "f81253930d0d388a3ab8fa4ae56da9973ab171ef833d1be2e9080fc3ce502bd6" dependencies = [ "proc-macro2", "quote", @@ -2601,7 +2784,7 @@ checksum = "1dccffe3ce07af9386bfd29e80c0ab1a8205a2fc34e4bcd40364df902cfa8f3f" [[package]] name = "types" version = "0.1.0" -source = "git+ssh://git@github.com/fathom-io/platform-backend.git#a080c29b7b52e3feac753dbd3c2a9a16974bf57b" +source = "git+ssh://git@github.com/fathom-io/platform-backend.git#af57f516be76d4bdbbfcc2e89d2e4dd8213dfcff" dependencies = [ "anyhow", "chrono", @@ -2810,7 +2993,6 @@ version = "0.1.0" dependencies = [ "fathom-function", "pipeline-application", - "pipeline-configuration", "serde", "tokio", "uuid", @@ -3300,7 +3482,7 @@ dependencies = [ "flate2", "getrandom 0.3.2", "hmac", - "indexmap", + "indexmap 2.9.0", "lzma-rs", "memchr", "pbkdf2", @@ -3314,15 +3496,13 @@ dependencies = [ [[package]] name = "zopfli" -version = "0.8.1" +version = "0.8.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e5019f391bac5cf252e93bbcc53d039ffd62c7bfb7c150414d61369afe57e946" +checksum = "edfc5ee405f504cd4984ecc6f14d02d55cfda60fa4b689434ef4102aae150cd7" dependencies = [ "bumpalo", "crc32fast", - "lockfree-object-pool", "log", - "once_cell", "simd-adler32", ] diff --git a/Cargo.toml b/Cargo.toml index c65ab95..5d4f308 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -4,9 +4,8 @@ version = "0.1.0" [dependencies] - fathom-function = { git = "ssh://git@github.com/fathom-io/pipeline-calculations.git", branch = "johnabell/pipeline-route" } - pipeline-application = { git = "ssh://git@github.com/fathom-io/pipeline-calculations.git", branch = "johnabell/pipeline-route" } - pipeline-configuration = { git = "ssh://git@github.com/fathom-io/pipeline-calculations.git", branch = "johnabell/pipeline-route" } + fathom-function = { git = "ssh://git@github.com/fathom-io/pipeline-calculations.git", branch = "johnabell/ili-comparison" } + pipeline-application = { git = "ssh://git@github.com/fathom-io/pipeline-calculations.git", branch = "johnabell/ili-comparison" } serde = { version = "1.0.219", features = ["derive"] } tokio = { version = "1.43.0", features = ["macros", "rt-multi-thread"] } uuid = { version = "1" } diff --git a/src/main.rs b/src/main.rs index 68079c1..2f3ef6c 100644 --- a/src/main.rs +++ b/src/main.rs @@ -8,13 +8,13 @@ use uuid::Uuid; #[fathom_function::function(default( org_id = "2cbfe270-d195-48ad-aed1-24145924635c", - project_id = "67c6f36910e4c56ed42bf841" + project_id = "6807aed617c4295ab4a6aa78" ))] async fn pipeline_route(context: Context, input: Input) -> Result { let elevation_provider = input.elevation_provider; - let mut app = Application::new(context.env, context.org_id, &context.project_id).unwrap(); + let app = Application::new(context.env, context.org_id, &context.project_id).unwrap(); // TODO: We need a solution for getting API keys into functions - app.with_key().map_box("pk.eyJ1IjoiaG11YmFpcmVlayIsImEiOiJjam03ZXh1cXcxdXV2M3FtdWl4dGphNmxhIn0.1V1fEZMzOt0YumJtwU9AvA".to_owned()); + // app.with_key().map_box("".to_owned()); for (pipeline_id, file_details) in input.into_iter() { app.process_pipeline_route_file( pipeline_id, @@ -30,7 +30,6 @@ async fn pipeline_route(context: Context, input: Input) -> Result, route_file: Vec, }