Skip to content

Commit

Permalink
Refine Rust manifests
Browse files Browse the repository at this point in the history
  • Loading branch information
cjdsellers committed Mar 1, 2024
1 parent ae096cb commit 6d8ea3d
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
13 changes: 7 additions & 6 deletions nautilus_core/pyo3/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,32 +11,33 @@ name = "nautilus_pyo3"
crate-type = ["cdylib"]

[dependencies]
nautilus-adapters = { path = "../adapters", features = ["databento"] }
nautilus-core = { path = "../core" , features = ["python"] }
nautilus-accounting = { path = "../accounting", features = ["python"] }
nautilus-adapters = { path = "../adapters", features = ["python", "databento"] }
nautilus-common = { path = "../common" , features = ["python"] }
nautilus-core = { path = "../core" , features = ["python"] }
nautilus-indicators = { path = "../indicators" , features = ["python"] }
nautilus-infrastructure = { path = "../infrastructure", features = ["python"] }
nautilus-model = { path = "../model" , features = ["python"] }
nautilus-persistence = { path = "../persistence" , features = ["python"] }
nautilus-network = { path = "../network" , features = ["python"] }
nautilus-accounting = { path = "../accounting", features = ["python"] }
nautilus-persistence = { path = "../persistence" , features = ["python"] }
pyo3 = { workspace = true }

[features]
extension-module = [
"pyo3/extension-module",
"nautilus-accounting/extension-module",
"nautilus-adapters/extension-module",
"nautilus-core/extension-module",
"nautilus-common/extension-module",
"nautilus-core/extension-module",
"nautilus-indicators/extension-module",
"nautilus-infrastructure/extension-module",
"nautilus-model/extension-module",
"nautilus-persistence/extension-module",
]
ffi = [
"nautilus-adapters/ffi",
"nautilus-core/ffi",
"nautilus-common/ffi",
"nautilus-core/ffi",
"nautilus-model/ffi",
"nautilus-persistence/ffi",
]
Expand Down
1 change: 1 addition & 0 deletions tests/unit_tests/model/objects/test_state_pyo3.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
# -------------------------------------------------------------------------------------------------

from nautilus_trader.core.nautilus_pyo3 import AccountState
from nautilus_trader.test_kit.rust.events_pyo3 import TestEventsProviderPyo3

Expand Down

0 comments on commit 6d8ea3d

Please sign in to comment.