diff --git a/Cargo.lock b/Cargo.lock index dc10a7ee..d5038bf3 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -129,7 +129,7 @@ dependencies = [ "actix-utils", "futures-core", "futures-util", - "mio", + "mio 0.8.11", "socket2", "tokio", "tracing", @@ -158,9 +158,9 @@ dependencies = [ [[package]] name = "actix-web" -version = "4.8.0" +version = "4.9.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1988c02af8d2b718c05bc4aeb6a66395b7cdf32858c2c71131e5637a8c05a9ff" +checksum = "9180d76e5cc7ccbc4d60a506f2c727730b154010262df5b910eb17dbe4b8cb38" dependencies = [ "actix-codec", "actix-http", @@ -180,6 +180,7 @@ dependencies = [ "encoding_rs", "futures-core", "futures-util", + "impl-more", "itoa", "language-tags", "log", @@ -510,9 +511,9 @@ dependencies = [ [[package]] name = "anstyle" -version = "1.0.7" +version = "1.0.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "038dfcf04a5feb68e9c60b21c9625a54c2c0616e79b72b0fd87075a056ae1d1b" +checksum = "1bec1de6f59aedf83baf9ff929c98f2ad654b97c9510f4e70cf6f661d49fd5b1" [[package]] name = "anstyle-parse" @@ -1075,9 +1076,9 @@ dependencies = [ [[package]] name = "bytemuck" -version = "1.16.1" +version = "1.17.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b236fc92302c97ed75b38da1f4917b5cdda4984745740f153a5d3059e48d725e" +checksum = "773d90827bc3feecfb67fab12e24de0749aad83c74b9504ecde46237b5cd24e2" dependencies = [ "bytemuck_derive", ] @@ -1257,9 +1258,9 @@ dependencies = [ [[package]] name = "clap" -version = "4.5.8" +version = "4.5.16" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "84b3edb18336f4df585bc9aa31dd99c036dfa5dc5e9a2939a722a188f3a8970d" +checksum = "ed6719fffa43d0d87e5fd8caeab59be1554fb028cd30edc88fc4369b17971019" dependencies = [ "clap_builder", "clap_derive", @@ -1267,9 +1268,9 @@ dependencies = [ [[package]] name = "clap_builder" -version = "4.5.8" +version = "4.5.15" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c1c09dd5ada6c6c78075d6fd0da3f90d8080651e2d6cc8eb2f1aaa4034ced708" +checksum = "216aec2b177652e3846684cbfe25c9964d18ec45234f0f5da5157b207ed1aab6" dependencies = [ "anstream", "anstyle", @@ -1279,9 +1280,9 @@ dependencies = [ [[package]] name = "clap_derive" -version = "4.5.8" +version = "4.5.13" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2bac35c6dafb060fd4d275d9a4ffae97917c13a6327903a8be2153cd964f7085" +checksum = "501d359d5f3dcaf6ecdeee48833ae73ec6e42723a1e52419c79abf9507eec0a0" dependencies = [ "heck 0.5.0", "proc-macro2", @@ -2342,6 +2343,12 @@ dependencies = [ "version_check", ] +[[package]] +name = "impl-more" +version = "0.1.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "206ca75c9c03ba3d4ace2460e57b189f39f43de612c2f85836e65c929701bb2d" + [[package]] name = "indexmap" version = "1.9.3" @@ -2658,6 +2665,18 @@ dependencies = [ "windows-sys 0.48.0", ] +[[package]] +name = "mio" +version = "1.0.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "80e04d1dcff3aae0704555fe5fee3bcfaf3d1fdf8a7e521d5b9d2b42acb52cec" +dependencies = [ + "hermit-abi 0.3.9", + "libc", + "wasi 0.11.0+wasi-snapshot-preview1", + "windows-sys 0.52.0", +] + [[package]] name = "native-tls" version = "0.2.12" @@ -3421,9 +3440,9 @@ dependencies = [ [[package]] name = "regex" -version = "1.10.5" +version = "1.10.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b91213439dad192326a0d7c6ee3955910425f441d7038e0d6933b0aec5c4517f" +checksum = "4219d74c6b67a3654a9fbebc4b419e22126d13d2f3c4a07ee0cb61ff79a79619" dependencies = [ "aho-corasick", "memchr", @@ -3565,9 +3584,9 @@ checksum = "08d43f7aa6b08d49f382cde6a7982047c3426db949b1424bc4b7ec9ae12c6ce2" [[package]] name = "rustc_version" -version = "0.4.0" +version = "0.4.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bfa0f585226d2e68097d4f95d113b15b83a82e819ab25717ec0590d9584ef366" +checksum = "cfcb3a22ef46e85b45de6ee7e79d063319ebb6594faafcf1c225ea92ab6e9b92" dependencies = [ "semver", ] @@ -3660,7 +3679,7 @@ dependencies = [ "bzip2", "cargo_metadata", "chrono", - "clap 4.5.8", + "clap 4.5.16", "dirs-next", "indicatif", "reqwest", @@ -5455,28 +5474,27 @@ checksum = "1f3ccbac311fea05f86f61904b462b55fb3df8837a366dfc601a0161d0532f20" [[package]] name = "tokio" -version = "1.38.0" +version = "1.40.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ba4f4a02a7a80d6f274636f0aa95c7e383b912d41fe721a31f29e29698585a4a" +checksum = "e2b070231665d27ad9ec9b8df639893f46727666c6767db40317fbe920a5d998" dependencies = [ "backtrace", "bytes", "libc", - "mio", - "num_cpus", + "mio 1.0.2", "parking_lot", "pin-project-lite", "signal-hook-registry", "socket2", "tokio-macros", - "windows-sys 0.48.0", + "windows-sys 0.52.0", ] [[package]] name = "tokio-macros" -version = "2.3.0" +version = "2.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5f5ae998a069d4b5aba8ee9dad856af7d520c3699e6159b185c2acd48155d39a" +checksum = "693d596312e88961bc67d7f1f97af8a70227d9f90c31bba5806eec004978d752" dependencies = [ "proc-macro2", "quote", diff --git a/Cargo.toml b/Cargo.toml index 53a9e8c5..29ec6f48 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -22,54 +22,54 @@ documentation = "https://docs.sablier.dev" keywords = ["solana"] [workspace.dependencies] +actix-cors = "0.6.5" +actix-web = "4.9.0" anchor-lang = "=0.29.0" anchor-spl = "=0.29.0" +anyhow = "1.0" base64 = "~0.21" -serde = "1.0" -static-pubkey = "1.0.3" -chrono = { version = "0.4.19", default-features = false } -sablier-thread-program = { path = "./programs/thread", version = "=1.0.0-alpha.3" } +bincode = "1.3" +bytemuck = "1.17.1" +bzip2 = "0.4" +cargo_metadata = "=0.18.1" +chrono = { version = "0.4", default-features = false } +clap = { version = "4.5" } +dirs-next = "2.0.0" +futures = "0.3" +indicatif = "0.17" +log = "0.4" +nom = "~7" +proc-macro2 = "1.0" +pyth-solana-receiver-sdk = "0.3.1" +quote = "1.0" +rayon = "1.10.0" +regex = "1.10.6" +reqwest = "0.11" +rustc_version = "0.4" sablier-cron = { path = "./cron", version = "=1.0.0-alpha.3" } sablier-network-program = { path = "./programs/network", version = "=1.0.0-alpha.3" } -sablier-relayer-api = { path = "./relayer/api", version = "=1.0.0-alpha.3" } sablier-plugin-utils = { path = "./plugin/utils", version = "=1.0.0-alpha.3" } +sablier-relayer-api = { path = "./relayer/api", version = "=1.0.0-alpha.3" } +sablier-thread-program = { path = "./programs/thread", version = "=1.0.0-alpha.3" } sablier-utils = { path = "./utils", version = "=1.0.0-alpha.3" } sablier-webhook-program = { path = "./programs/webhook", version = "=1.0.0-alpha.3" } -anyhow = "1.0.61" -bincode = "1.3.3" -bzip2 = "0.4" -clap = { version = "4.4.18" } -dirs-next = "2.0.0" -indicatif = "0.17" -reqwest = "0.11.14" -serde_json = "1.0.79" -solana-client = "=1.18.22" -solana-cli-config = "=1.18.22" -solana-sdk = "=1.18.22" +serde = "1.0" +serde_json = "1.0" solana-account-decoder = "=1.18.22" -solana-quic-client = "=1.18.22" +solana-cli-config = "=1.18.22" +solana-client = "=1.18.22" +solana-geyser-plugin-interface = "=1.18.22" solana-logger = "=1.18.22" solana-program = "=1.18.22" -solana-geyser-plugin-interface = "=1.18.22" +solana-quic-client = "=1.18.22" +solana-sdk = "=1.18.22" solana-zk-token-sdk = "=1.18.22" -spl-associated-token-account = "1.1.1" +spl-associated-token-account = "1.1.3" spl-token = "~3.5.0" -tar = "0.4" -thiserror = "1.0.30" -termcolor = "1.2.0" -cargo_metadata = "=0.18.1" -nom = "~7" -log = "0.4" -pyth-solana-receiver-sdk = "0.3.1" -tokio = "1.18.4" -futures = "0.3.26" -version = "3.0.0" -actix-cors = "0.6.4" -actix-web = "4.3.1" -rayon = "1.7.0" -regex = "1.7.1" -rustc_version = "0.4.0" -bytemuck = "1.4.0" +static-pubkey = "1.0.3" syn = "2.0" -quote = "1.0" -proc-macro2 = "1.0" +tar = "0.4" +termcolor = "1.4" +thiserror = "1.0" +tokio = "1.40" +version = "3.0"