From 0e49b952b3b95b1d5f1d4812c5420e22026abc01 Mon Sep 17 00:00:00 2001 From: Chris Sellers Date: Thu, 9 Jan 2025 08:03:32 +1100 Subject: [PATCH] Update dependencies --- RELEASES.md | 2 ++ nautilus_core/Cargo.lock | 52 ++++++++++++++++++++-------------------- nautilus_core/Cargo.toml | 4 ++-- poetry.lock | 18 +++++++------- 4 files changed, 39 insertions(+), 37 deletions(-) diff --git a/RELEASES.md b/RELEASES.md index 16e1f674c40..94e9d177c77 100644 --- a/RELEASES.md +++ b/RELEASES.md @@ -48,7 +48,9 @@ Released on TBD (UTC). - Ported `OrderManager` to Rust (#2161), thanks @Pushkarm029 - Ported trailing stop logic to Rust (#2174), thanks @DeevsDeevs - Ported `FeeModel` to Rust (#2191), thanks @filipmacek +- Implemented IDs generator for `OrderMatchingEngine` in Rust (#2193), thanks @filipmacek - Upgraded Cython to v3.1.0a1 +- Upgraded `tokio` crate to v1.43.0 - Upgraded `datafusion` crate to v44.0.0 ### Fixes diff --git a/nautilus_core/Cargo.lock b/nautilus_core/Cargo.lock index a58d5e757d0..d670634534c 100644 --- a/nautilus_core/Cargo.lock +++ b/nautilus_core/Cargo.lock @@ -1298,7 +1298,7 @@ dependencies = [ "serde", "serde_json", "sha2", - "thiserror 2.0.9", + "thiserror 2.0.10", "time", "tokio", "tokio-util", @@ -1714,7 +1714,7 @@ dependencies = [ "json-writer", "num_enum", "serde", - "thiserror 2.0.9", + "thiserror 2.0.10", "time", "tokio", "zstd", @@ -1888,9 +1888,9 @@ checksum = "02a3229bec56a977f174b32fe7b8d89e8c79ebb4493d10ad763b6676dc2dc0c9" [[package]] name = "event-listener" -version = "5.3.1" +version = "5.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6032be9bd27023a771701cc49f9f053c751055f71efb2e0ae5c15809093675ba" +checksum = "3492acde4c3fc54c845eaab3eed8bd00c7a7d881f78bfc801e43a93dec1331ae" dependencies = [ "concurrent-queue", "parking", @@ -3091,7 +3091,7 @@ dependencies = [ "pyo3", "pyo3-async-runtimes", "rstest", - "thiserror 2.0.9", + "thiserror 2.0.10", "tokio", "ustr", ] @@ -3117,7 +3117,7 @@ dependencies = [ "serde", "serde_json", "strum", - "thiserror 2.0.9", + "thiserror 2.0.10", "time", "tokio", "tracing", @@ -3144,7 +3144,7 @@ dependencies = [ "rust_decimal_macros", "serde", "strum", - "thiserror 2.0.9", + "thiserror 2.0.10", "ustr", ] @@ -3218,7 +3218,7 @@ dependencies = [ "serde_json", "strum", "tabled", - "thiserror 2.0.9", + "thiserror 2.0.10", "thousands", "ustr", ] @@ -3243,7 +3243,7 @@ dependencies = [ "rstest", "rustls", "serde_json", - "thiserror 2.0.9", + "thiserror 2.0.10", "tokio", "tokio-rustls", "tokio-tungstenite", @@ -3279,7 +3279,7 @@ dependencies = [ "serde", "serde_json", "tempfile", - "thiserror 2.0.9", + "thiserror 2.0.10", "tokio", ] @@ -3304,7 +3304,7 @@ dependencies = [ "serde", "serde_json", "strum", - "thiserror 2.0.9", + "thiserror 2.0.10", "ustr", "uuid", ] @@ -3344,7 +3344,7 @@ dependencies = [ "pyo3-async-runtimes", "rstest", "rust_decimal", - "thiserror 2.0.9", + "thiserror 2.0.10", "ustr", ] @@ -3360,7 +3360,7 @@ dependencies = [ "parquet", "pyo3", "rstest", - "thiserror 2.0.9", + "thiserror 2.0.10", ] [[package]] @@ -3390,7 +3390,7 @@ dependencies = [ "serde", "serde_json", "strum", - "thiserror 2.0.9", + "thiserror 2.0.10", "thousands", "tokio", "tokio-tungstenite", @@ -5057,7 +5057,7 @@ dependencies = [ "serde_json", "sha2", "smallvec", - "thiserror 2.0.9", + "thiserror 2.0.10", "tokio", "tokio-stream", "tracing", @@ -5140,7 +5140,7 @@ dependencies = [ "smallvec", "sqlx-core", "stringprep", - "thiserror 2.0.9", + "thiserror 2.0.10", "tracing", "whoami", ] @@ -5177,7 +5177,7 @@ dependencies = [ "smallvec", "sqlx-core", "stringprep", - "thiserror 2.0.9", + "thiserror 2.0.10", "tracing", "whoami", ] @@ -5399,11 +5399,11 @@ dependencies = [ [[package]] name = "thiserror" -version = "2.0.9" +version = "2.0.10" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f072643fd0190df67a8bab670c20ef5d8737177d6ac6b2e9a236cb096206b2cc" +checksum = "a3ac7f54ca534db81081ef1c1e7f6ea8a3ef428d2fc069097c079443d24124d3" dependencies = [ - "thiserror-impl 2.0.9", + "thiserror-impl 2.0.10", ] [[package]] @@ -5419,9 +5419,9 @@ dependencies = [ [[package]] name = "thiserror-impl" -version = "2.0.9" +version = "2.0.10" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7b50fa271071aae2e6ee85f842e2e28ba8cd2c5fb67f11fcb1fd70b276f9e7d4" +checksum = "9e9465d30713b56a37ede7185763c3492a91be2f5fa68d958c44e41ab9248beb" dependencies = [ "proc-macro2", "quote", @@ -5534,9 +5534,9 @@ checksum = "1f3ccbac311fea05f86f61904b462b55fb3df8837a366dfc601a0161d0532f20" [[package]] name = "tokio" -version = "1.42.0" +version = "1.43.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5cec9b21b0450273377fc97bd4c33a8acffc8c996c987a7c5b319a0083707551" +checksum = "3d61fa4ffa3de412bfea335c6ecff681de2b609ba3c77ef3e00e521813a9ed9e" dependencies = [ "backtrace", "bytes", @@ -5552,9 +5552,9 @@ dependencies = [ [[package]] name = "tokio-macros" -version = "2.4.0" +version = "2.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "693d596312e88961bc67d7f1f97af8a70227d9f90c31bba5806eec004978d752" +checksum = "6e06d43f1345a3bcd39f6a56dbb7dcab2ba47e68e8ac134855e7e2bdbaf8cab8" dependencies = [ "proc-macro2", "quote", diff --git a/nautilus_core/Cargo.toml b/nautilus_core/Cargo.toml index 869bfe79a4f..808a0f3f5d5 100644 --- a/nautilus_core/Cargo.toml +++ b/nautilus_core/Cargo.toml @@ -60,13 +60,13 @@ semver = "1.0.23" serde = { version = "1.0.217", features = ["derive"] } serde_json = "1.0.135" strum = { version = "0.26.3", features = ["derive"] } -thiserror = "2.0.9" +thiserror = "2.0.10" thousands = "0.2.0" toml = "0.8.19" tracing = "0.1.41" # Disable default feature "tracing-log" since it interferes with custom logging tracing-subscriber = { version = "0.3.19", default-features = false, features = ["smallvec", "fmt", "ansi", "std", "env-filter"] } -tokio = { version = "1.42.0", features = ["full"] } +tokio = { version = "1.43.0", features = ["full"] } tokio-tungstenite = { version = "0.24.0", features = ["rustls-tls-native-roots"] } ustr = { version = "1.1.0", features = ["serde"] } uuid = { version = "1.11.0", features = ["v4", "serde"] } diff --git a/poetry.lock b/poetry.lock index 4a41c750c8e..5ef0754612f 100644 --- a/poetry.lock +++ b/poetry.lock @@ -1391,21 +1391,21 @@ test = ["eth-hash[pycryptodome]", "pytest (>=7.0.0)", "pytest-xdist (>=2.4.0)"] [[package]] name = "eth-typing" -version = "5.0.1" +version = "5.1.0" description = "eth-typing: Common type annotations for ethereum python packages" optional = true python-versions = "<4,>=3.8" files = [ - {file = "eth_typing-5.0.1-py3-none-any.whl", hash = "sha256:f30d1af16aac598f216748a952eeb64fbcb6e73efa691d2de31148138afe96de"}, - {file = "eth_typing-5.0.1.tar.gz", hash = "sha256:83debf88c9df286db43bb7374974681ebcc9f048fac81be2548dbc549a3203c0"}, + {file = "eth_typing-5.1.0-py3-none-any.whl", hash = "sha256:c0d6b93f5385aa84efc4b47ae2bd478da069bc0ffda8b67e0ccb573f43defd29"}, + {file = "eth_typing-5.1.0.tar.gz", hash = "sha256:8581f212ee6252aaa285377a77620f6e5f6e16ac3f144c61f098fafd47967b1a"}, ] [package.dependencies] -typing-extensions = ">=4.5.0" +typing_extensions = ">=4.5.0" [package.extras] -dev = ["build (>=0.9.0)", "bumpversion (>=0.5.3)", "ipython", "mypy (==1.10.0)", "pre-commit (>=3.4.0)", "pytest (>=7.0.0)", "pytest-xdist (>=2.4.0)", "sphinx (>=6.0.0)", "sphinx-rtd-theme (>=1.0.0)", "towncrier (>=21,<22)", "tox (>=4.0.0)", "twine", "wheel"] -docs = ["sphinx (>=6.0.0)", "sphinx-rtd-theme (>=1.0.0)", "towncrier (>=21,<22)"] +dev = ["build (>=0.9.0)", "bump_my_version (>=0.19.0)", "ipython", "mypy (==1.10.0)", "pre-commit (>=3.4.0)", "pytest (>=7.0.0)", "pytest-xdist (>=2.4.0)", "sphinx (>=6.0.0)", "sphinx-autobuild (>=2021.3.14)", "sphinx_rtd_theme (>=1.0.0)", "towncrier (>=24,<25)", "tox (>=4.0.0)", "twine", "wheel"] +docs = ["sphinx (>=6.0.0)", "sphinx-autobuild (>=2021.3.14)", "sphinx_rtd_theme (>=1.0.0)", "towncrier (>=24,<25)"] test = ["pytest (>=7.0.0)", "pytest-xdist (>=2.4.0)"] [[package]] @@ -3580,13 +3580,13 @@ files = [ [[package]] name = "setuptools" -version = "75.7.0" +version = "75.8.0" description = "Easily download, build, install, upgrade, and uninstall Python packages" optional = false python-versions = ">=3.9" files = [ - {file = "setuptools-75.7.0-py3-none-any.whl", hash = "sha256:84fb203f278ebcf5cd08f97d3fb96d3fbed4b629d500b29ad60d11e00769b183"}, - {file = "setuptools-75.7.0.tar.gz", hash = "sha256:886ff7b16cd342f1d1defc16fc98c9ce3fde69e087a4e1983d7ab634e5f41f4f"}, + {file = "setuptools-75.8.0-py3-none-any.whl", hash = "sha256:e3982f444617239225d675215d51f6ba05f845d4eec313da4418fdbb56fb27e3"}, + {file = "setuptools-75.8.0.tar.gz", hash = "sha256:c5afc8f407c626b8313a86e10311dd3f661c6cd9c09d4bf8c15c0e11f9f2b0e6"}, ] [package.extras]