Skip to content

Commit

Permalink
update pyo3
Browse files Browse the repository at this point in the history
  • Loading branch information
WT-MM committed Dec 16, 2024
1 parent f0ab3e2 commit c24314d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
4 changes: 1 addition & 3 deletions actuator/bindings/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,9 @@ name = "bindings"
crate-type = ["cdylib", "rlib"]

[dependencies]

pyo3 = { version = ">= 0.21.0", features = ["extension-module"] }
pyo3-stub-gen = ">= 0.6.0"

robstride = { path = "../robstride" }
tokio = { version = "1.0", features = ["rt", "sync", "time"] }
tokio = { version = "1.0", features = ["full"] }
eyre = "0.6"
tracing = "0.1"
3 changes: 2 additions & 1 deletion actuator/bindings/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
use pyo3::prelude::*;
use robstride::{CH341Transport, ControlConfig, SocketCanTransport, Supervisor, TransportType};
use pyo3_stub_gen::define_stub_info_gatherer;
use pyo3_stub_gen::derive::{gen_stub_pyclass, gen_stub_pyfunction, gen_stub_pymethods};use robstride::{CH341Transport, ControlConfig, SocketCanTransport, Supervisor, TransportType};
use std::sync::Arc;
use tokio::sync::Mutex;
use std::time::Duration;
Expand Down

0 comments on commit c24314d

Please sign in to comment.