Skip to content

Commit

Permalink
fix #4: autd3-driver@19.0.1 doesn't follow semver
Browse files Browse the repository at this point in the history
  • Loading branch information
s5suzuki committed Dec 14, 2023
1 parent b879042 commit 1294739
Show file tree
Hide file tree
Showing 15 changed files with 57 additions and 31 deletions.
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# 19.0.2
# 19.1.0

- Fix [#3](https://github.com/shinolab/autd3-rs/issues/3): Cannot build with sync feature
- Fix [#4](https://github.com/shinolab/autd3-rs/issues/4): autd3-driver@19.0.1 doesn't follow semver

# 19.0.1

Expand Down
2 changes: 1 addition & 1 deletion autd3-derive/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "autd3-derive"
version = "19.0.1"
version = "19.1.0"
authors = ["shun suzuki <suzuki@hapis.k.u-tokyo.ac.jp>"]
edition = "2021"

Expand Down
2 changes: 1 addition & 1 deletion autd3-driver/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "autd3-driver"
version = "19.0.1"
version = "19.1.0"
authors = ["shun suzuki <suzuki@hapis.k.u-tokyo.ac.jp>"]
edition = "2021"

Expand Down
6 changes: 3 additions & 3 deletions autd3-firmware-emulator/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "autd3-firmware-emulator"
version = "19.0.1"
version = "19.1.0"
authors = ["shun suzuki <suzuki@hapis.k.u-tokyo.ac.jp>"]
edition = "2021"

Expand All @@ -11,10 +11,10 @@ readme = "README.md"
keywords = ["autd"]

[dependencies]
autd3-driver = { path = "../autd3-driver", version = "19.0.1" }
autd3-driver = { path = "../autd3-driver", version = "19.1.0" }
num-integer = "0.1.45"
thiserror = "1.0.40"

[dev-dependencies]
autd3-derive = { path = "../autd3-derive", version = "19.0.1" }
autd3-derive = { path = "../autd3-derive", version = "19.1.0" }
rand = "0.8.5"
21 changes: 21 additions & 0 deletions autd3-firmware-emulator/src/error.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
/*
* File: error.rs
* Project: src
* Created Date: 14/12/2023
* Author: Shun Suzuki
* -----
* Last Modified: 14/12/2023
* Modified By: Shun Suzuki (suzuki@hapis.k.u-tokyo.ac.jp)
* -----
* Copyright (c) 2023 Shun Suzuki. All rights reserved.
*
*/

use thiserror::Error;

#[derive(Error, Debug)]
#[deprecated(since = "19.1.0", note = "This error is no longer used.")]
pub enum AUTDExtraError {
#[error("The size of local_trans_pos is wrong.")]
FPGALocalTransPos,
}
2 changes: 2 additions & 0 deletions autd3-firmware-emulator/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@
*/

pub mod cpu;
#[allow(deprecated)]
pub mod error;
pub mod fpga;

pub use cpu::emulator::CPUEmulator;
Expand Down
6 changes: 3 additions & 3 deletions autd3-gain-holo/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "autd3-gain-holo"
version = "19.0.1"
version = "19.1.0"
authors = ["shun suzuki <suzuki@hapis.k.u-tokyo.ac.jp>"]
edition = "2021"

Expand All @@ -12,8 +12,8 @@ keywords = ["autd"]

[dependencies]
assert_approx_eq = { version = "1.1.0", optional = true }
autd3-driver = { path = "../autd3-driver", version = "19.0.1" }
autd3-derive = { path = "../autd3-derive", version = "19.0.1" }
autd3-driver = { path = "../autd3-driver", version = "19.1.0" }
autd3-derive = { path = "../autd3-derive", version = "19.1.0" }
nalgebra = { version = "0.32.3", default-features = false, features = ["std"] }
rand = "0.8.5"
thiserror = "1.0.31"
Expand Down
8 changes: 4 additions & 4 deletions autd3-link-simulator/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "autd3-link-simulator"
version = "19.0.1"
version = "19.1.0"
authors = ["shun suzuki <suzuki@hapis.k.u-tokyo.ac.jp>"]
edition = "2021"

Expand All @@ -11,9 +11,9 @@ readme = "README.md"
keywords = ["autd"]

[dependencies]
autd3-protobuf = { path = "../autd3-protobuf", version = "19.0.1" }
autd3-driver = { path = "../autd3-driver", version = "19.0.1" }
autd3-derive = { path = "../autd3-derive", version = "19.0.1" }
autd3-protobuf = { path = "../autd3-protobuf", version = "19.1.0" }
autd3-driver = { path = "../autd3-driver", version = "19.1.0" }
autd3-derive = { path = "../autd3-derive", version = "19.1.0" }
thiserror = "1.0.30"
tonic = "0.10.0"
async-trait = "0.1.74"
Expand Down
8 changes: 4 additions & 4 deletions autd3-link-soem/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "autd3-link-soem"
version = "19.0.1"
version = "19.1.0"
authors = ["shun suzuki <suzuki@hapis.k.u-tokyo.ac.jp>"]
edition = "2021"

Expand All @@ -16,9 +16,9 @@ glob = { version = "0.3.0", optional = true }

[dependencies]
async-trait = "0.1.74"
autd3-driver = { path = "../autd3-driver", version = "19.0.1" }
autd3-derive = { path = "../autd3-derive", version = "19.0.1" }
autd3-protobuf = { path = "../autd3-protobuf", version = "19.0.1", optional = true }
autd3-driver = { path = "../autd3-driver", version = "19.1.0" }
autd3-derive = { path = "../autd3-derive", version = "19.1.0" }
autd3-protobuf = { path = "../autd3-protobuf", version = "19.1.0", optional = true }
crossbeam-channel = { version = "0.5.4", optional = true }
thiserror = { version = "1.0.30", optional = true }
time = { version = "0.3.23", default-features = false, features = ["std"], optional = true }
Expand Down
6 changes: 3 additions & 3 deletions autd3-link-twincat/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "autd3-link-twincat"
version = "19.0.1"
version = "19.1.0"
authors = ["shun suzuki <suzuki@hapis.k.u-tokyo.ac.jp>"]
edition = "2021"

Expand All @@ -12,8 +12,8 @@ keywords = ["autd"]

[dependencies]
async-trait = "0.1.74"
autd3-driver = { path = "../autd3-driver", version = "19.0.1" }
autd3-derive = { path = "../autd3-derive", version = "19.0.1" }
autd3-driver = { path = "../autd3-driver", version = "19.1.0", features = ["sync"] }
autd3-derive = { path = "../autd3-derive", version = "19.1.0" }
itertools = { version = "0.12.0", optional = true }
libloading = { version = "0.8.0", optional = true }
thiserror = "1.0.31"
Expand Down
6 changes: 3 additions & 3 deletions autd3-modulation-audio-file/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "autd3-modulation-audio-file"
version = "19.0.1"
version = "19.1.0"
authors = ["shun suzuki <suzuki@hapis.k.u-tokyo.ac.jp>"]
edition = "2021"

Expand All @@ -12,8 +12,8 @@ keywords = ["autd"]

[dependencies]
hound = "3.5.0"
autd3-driver = { path = "../autd3-driver", version = "19.0.1" }
autd3-derive = { path = "../autd3-derive", version = "19.0.1" }
autd3-driver = { path = "../autd3-driver", version = "19.1.0" }
autd3-derive = { path = "../autd3-derive", version = "19.1.0" }
wav_io = "0.1.8"
thiserror = "1.0.40"

Expand Down
4 changes: 2 additions & 2 deletions autd3-protobuf/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "autd3-protobuf"
version = "19.0.1"
version = "19.1.0"
authors = ["shun suzuki <suzuki@hapis.k.u-tokyo.ac.jp>"]
edition = "2021"

Expand All @@ -14,7 +14,7 @@ keywords = ["autd"]
h2 = "0.4.0"
prost = { version = "0.12.0" }
tonic = { version = "0.10.0", default-features = false, features = ["prost", "codegen", "transport"] }
autd3-driver = { path = "../autd3-driver", version = "19.0.1" }
autd3-driver = { path = "../autd3-driver", version = "19.1.0" }
thiserror = "1.0.40"

[build-dependencies]
Expand Down
8 changes: 4 additions & 4 deletions autd3/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "autd3"
version = "19.0.1"
version = "19.1.0"
authors = ["shun suzuki <suzuki@hapis.k.u-tokyo.ac.jp>"]
edition = "2021"

Expand All @@ -11,9 +11,9 @@ readme = "README.md"
keywords = ["autd"]

[dependencies]
autd3-driver = { path = "../autd3-driver", version = "19.0.1", features = ["sync"] }
autd3-derive = { path = "../autd3-derive", version = "19.0.1" }
autd3-firmware-emulator = { path = "../autd3-firmware-emulator", version = "19.0.1" }
autd3-driver = { path = "../autd3-driver", version = "19.1.0", features = ["sync"] }
autd3-derive = { path = "../autd3-derive", version = "19.1.0" }
autd3-firmware-emulator = { path = "../autd3-firmware-emulator", version = "19.1.0" }
num = "0.4.0"
thiserror = "1.0.31"
bitvec = "1.0.1"
Expand Down
4 changes: 3 additions & 1 deletion autd3/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* Created Date: 27/04/2022
* Author: Shun Suzuki
* -----
* Last Modified: 13/12/2023
* Last Modified: 14/12/2023
* Modified By: Shun Suzuki (suzuki@hapis.k.u-tokyo.ac.jp)
* -----
* Copyright (c) 2022-2023 Shun Suzuki. All rights reserved.
Expand All @@ -21,6 +21,8 @@ pub mod prelude;
pub use autd3_derive as derive;
pub use autd3_driver as driver;

pub use controller::Controller;

#[cfg(test)]
mod tests {
use autd3_driver::{defined::float, geometry::Vector3};
Expand Down
2 changes: 1 addition & 1 deletion examples/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "examples"
version = "19.0.1"
version = "19.1.0"
authors = ["shun suzuki <suzuki@hapis.k.u-tokyo.ac.jp>"]
edition = "2021"
license = "MIT"
Expand Down

0 comments on commit 1294739

Please sign in to comment.