Skip to content

Commit

Permalink
bump to v29.0.0-rc.18
Browse files Browse the repository at this point in the history
  • Loading branch information
s5suzuki committed Jan 29, 2025
1 parent 4558d7c commit 946f93e
Show file tree
Hide file tree
Showing 5 changed files with 46 additions and 46 deletions.
50 changes: 25 additions & 25 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "autd3capi-link-soem"
version = "29.0.0-rc.17"
version = "29.0.0-rc.18"
authors = ["shun suzuki <suzuki@hapis.k.u-tokyo.ac.jp>"]
edition = "2021"
license = "MIT"
Expand All @@ -14,8 +14,8 @@ unity = ["autd3capi-driver/unity"]
dynamic_freq = ["autd3capi-driver/dynamic_freq"]

[dependencies]
autd3capi-driver = { version = "29.0.0-rc.17" }
autd3-link-soem = { version = "29.0.0-rc.17.2", features = ["remote", "blocking"] }
autd3capi-driver = { version = "29.0.0-rc.18" }
autd3-link-soem = { version = "29.0.0-rc.18", features = ["remote", "blocking"] }
thread-priority = "=1.2.0"
tracing-subscriber = { version = "=0.3.19", features = ["ansi", "env-filter"], default-features = false }
tracing = { version = "=0.1.41", default-features = false }
26 changes: 13 additions & 13 deletions ThirdPartyNotice.txt
Original file line number Diff line number Diff line change
Expand Up @@ -42,39 +42,39 @@ atomic-waker 1.1.2 (Apache-2.0 OR MIT)
https://github.com/smol-rs/atomic-waker
---------------------------------------------------------

autd3 29.0.0-rc.17 (MIT)
autd3 29.0.0-rc.18 (MIT)
https://github.com/shinolab/autd3-rs
---------------------------------------------------------

autd3-core 29.0.0-rc.17 (MIT)
autd3-core 29.0.0-rc.18 (MIT)
https://github.com/shinolab/autd3-rs
---------------------------------------------------------

autd3-derive 29.0.0-rc.17 (MIT)
autd3-derive 29.0.0-rc.18 (MIT)
https://github.com/shinolab/autd3-rs
---------------------------------------------------------

autd3-driver 29.0.0-rc.17 (MIT)
autd3-driver 29.0.0-rc.18 (MIT)
https://github.com/shinolab/autd3-rs
---------------------------------------------------------

autd3-firmware-emulator 29.0.0-rc.17 (MIT)
autd3-firmware-emulator 29.0.0-rc.18 (MIT)
https://github.com/shinolab/autd3-rs
---------------------------------------------------------

autd3-link-soem 29.0.0-rc.17.2 (MIT)
autd3-link-soem 29.0.0-rc.18 (MIT)
https://github.com/shinolab/autd3-link-soem
---------------------------------------------------------

autd3-protobuf 29.0.0-rc.17 (MIT)
autd3-protobuf 29.0.0-rc.18 (MIT)
https://github.com/shinolab/autd3-rs
---------------------------------------------------------

autd3capi-driver 29.0.0-rc.17 (MIT)
autd3capi-driver 29.0.0-rc.18 (MIT)
https://github.com/shinolab/autd3-capi
---------------------------------------------------------

autd3capi-link-soem 29.0.0-rc.17 (MIT)
autd3capi-link-soem 29.0.0-rc.18 (MIT)
https://github.com/shinolab/autd3-capi-link-soem
---------------------------------------------------------

Expand All @@ -98,7 +98,7 @@ bit-vec 0.8.0 (Apache-2.0 OR MIT)
https://github.com/contain-rs/bit-vec
---------------------------------------------------------

bitfield-struct 0.10.0 (MIT)
bitfield-struct 0.10.1 (MIT)
https://github.com/wrenger/bitfield-struct-rs.git
---------------------------------------------------------

Expand Down Expand Up @@ -226,15 +226,15 @@ http-body-util 0.1.2 (MIT)
https://github.com/hyperium/http-body
---------------------------------------------------------

httparse 1.9.5 (Apache-2.0 OR MIT)
httparse 1.10.0 (Apache-2.0 OR MIT)
https://github.com/seanmonstar/httparse
---------------------------------------------------------

httpdate 1.0.3 (Apache-2.0 OR MIT)
https://github.com/pyfisch/httpdate
---------------------------------------------------------

hyper 1.5.2 (MIT)
hyper 1.6.0 (MIT)
https://github.com/hyperium/hyper
---------------------------------------------------------

Expand Down Expand Up @@ -610,7 +610,7 @@ typenum 1.17.0 (Apache-2.0 OR MIT)
https://github.com/paholg/typenum
---------------------------------------------------------

unicode-ident 1.0.15 ((MIT OR Apache-2.0) AND Unicode-3.0)
unicode-ident 1.0.16 ((MIT OR Apache-2.0) AND Unicode-3.0)
https://github.com/dtolnay/unicode-ident
---------------------------------------------------------

Expand Down
4 changes: 2 additions & 2 deletions src/local.rs
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ pub unsafe extern "C" fn AUTDLinkSOEM(
err_handler: ConstPtr,
err_context: ConstPtr,
option: SOEMOption,
) -> ResultLinkBuilder {
) -> ResultLink {
let out_func = move |slave: usize, status: autd3_link_soem::Status| {
let (out_f, context) = {
(
Expand All @@ -97,7 +97,7 @@ pub unsafe extern "C" fn AUTDLinkSOEM(
};
option
.try_into()
.map(|option| SOEM::builder(out_func, option))
.map(|option| SOEM::new(out_func, option))
.into()
}

Expand Down
6 changes: 3 additions & 3 deletions src/remote.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@ use autd3_link_soem::remote::*;

#[no_mangle]
#[must_use]
pub unsafe extern "C" fn AUTDLinkRemoteSOEM(addr: *const c_char) -> ResultLinkBuilder {
pub unsafe extern "C" fn AUTDLinkRemoteSOEM(addr: *const c_char) -> ResultLink {
let addr = if addr.is_null() {
""
} else {
validate_cstr!(addr, LinkBuilderPtr, ResultLinkBuilder)
validate_cstr!(addr, LinkPtr, ResultLink)
};
addr.parse::<SocketAddr>().map(RemoteSOEM::builder).into()
addr.parse::<SocketAddr>().map(RemoteSOEM::new).into()
}

0 comments on commit 946f93e

Please sign in to comment.