nautechsystems / nautilus_trader

A high-performance algorithmic trading platform and event-driven backtester
https://nautilustrader.io
GNU Lesser General Public License v3.0
1.7k stars 400 forks source link

Add PYO3_PATH configuration to reduce spurious compiles #1697

Closed twitu closed 4 weeks ago

twitu commented 4 weeks ago

Pull Request

cargo performs frequent recompiles because of a difference in Python path between CLI and rust analyzer environments. ^1

Type of change

How has this change been tested?

Ran cli cargo build and made then cargo check using rust analyzer in vs code, only relevant changes were compiled.

cjdsellers commented 4 weeks ago

Great idea, thanks @twitu