com.shinolab.autd3-sdk.core 0.9.0 → 0.13.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/SamplingConfig.cs CHANGED
@@ -2,130 +2,78 @@ using System;
2
2
 
3
3
  namespace AUTD3
4
4
  {
5
- public readonly struct SamplingConfig
5
+ public readonly struct SamplingConfig : IEquatable<SamplingConfig>
6
6
  {
7
- private enum Kind : byte
8
- {
9
- Default,
10
- Divide,
11
- Freq,
12
- FreqNearest,
13
- Period,
14
- PeriodNearest,
15
- }
16
-
17
- private readonly Kind _kind;
18
7
  private readonly ushort _divide;
19
- private readonly float _freq;
20
- private readonly ulong _periodNs;
21
8
 
22
- private SamplingConfig(Kind kind, ushort divide, float freq, ulong periodNs)
23
- {
24
- _kind = kind;
25
- _divide = divide;
26
- _freq = freq;
27
- _periodNs = periodNs;
28
- }
9
+ private const string UnsetMessage = "the sampling config is not set (default(SamplingConfig) has no value)";
29
10
 
30
11
  public SamplingConfig(ushort divide)
31
12
  {
32
13
  if (divide == 0)
33
14
  {
34
- throw new Autd3Exception("sampling divide must be >= 1");
15
+ throw new Autd3Exception("sampling divide must be >= 1", Autd3ErrorCode.InvalidArgument);
35
16
  }
36
- _kind = Kind.Divide;
37
17
  _divide = divide;
38
- _freq = 0f;
39
- _periodNs = 0;
40
18
  }
41
19
 
42
- public SamplingConfig(Freq freq) : this(Kind.Freq, 0, freq.Hz, 0)
20
+ public SamplingConfig(Freq freq)
43
21
  {
22
+ var err = new byte[NativeAbi.ErrorBufferLength];
23
+ _divide = Checked(NativeCore.autd3_core_sampling_config_from_freq(freq.Hz, out var divide, err, (UIntPtr)err.Length), divide, err);
44
24
  }
45
25
 
46
- public SamplingConfig(TimeSpan period) : this(Kind.Period, 0, 0f, (ulong)(period.Ticks * 100))
26
+ public SamplingConfig(TimeSpan period)
47
27
  {
28
+ var err = new byte[NativeAbi.ErrorBufferLength];
29
+ _divide = Checked(NativeCore.autd3_core_sampling_config_from_period(PeriodNanos(period), out var divide, err, (UIntPtr)err.Length), divide, err);
48
30
  }
49
31
 
50
- public SamplingConfig(Nearest<Freq> freq) : this(Kind.FreqNearest, 0, freq.Value.Hz, 0)
32
+ private static ushort Checked(int code, ushort divide, byte[] err)
51
33
  {
34
+ if (code != 0)
35
+ {
36
+ throw new Autd3Exception(NativeUtil.Utf8(err), Autd3ErrorCode.InvalidArgument);
37
+ }
38
+ return divide;
52
39
  }
53
40
 
54
- public SamplingConfig(Nearest<TimeSpan> period) : this(Kind.PeriodNearest, 0, 0f, (ulong)(period.Value.Ticks * 100))
41
+ private static ulong PeriodNanos(TimeSpan period)
55
42
  {
43
+ if (period < TimeSpan.Zero)
44
+ {
45
+ throw new Autd3Exception("a sampling period must not be negative", Autd3ErrorCode.InvalidArgument);
46
+ }
47
+ return OptionNative.ToNanos(period);
56
48
  }
57
49
 
58
- public static SamplingConfig Freq4k => new SamplingConfig(4000 * Units.Hz);
50
+ public static SamplingConfig Freq4k => new SamplingConfig(NativeCore.autd3_core_sampling_config_freq_4k());
59
51
 
60
- public static SamplingConfig Freq40k => new SamplingConfig(40000 * Units.Hz);
52
+ public static SamplingConfig Freq40k => new SamplingConfig(NativeCore.autd3_core_sampling_config_freq_40k());
61
53
 
62
54
  public ushort Divide()
63
55
  {
64
- var handle = CreateHandle();
65
- try
66
- {
67
- if (NativeCore.autd3_core_sampling_config_divide_value(handle, out var value) != 0)
68
- {
69
- throw new Autd3Exception("sampling config cannot be resolved to a divider");
70
- }
71
- return value;
72
- }
73
- finally
56
+ if (_divide == 0)
74
57
  {
75
- NativeCore.autd3_core_sampling_config_free(handle);
58
+ throw new Autd3Exception(UnsetMessage, Autd3ErrorCode.InvalidArgument);
76
59
  }
60
+ return _divide;
77
61
  }
78
62
 
79
- public Freq Freq()
80
- {
81
- var handle = CreateHandle();
82
- try
83
- {
84
- if (NativeCore.autd3_core_sampling_config_freq_value(handle, out var value) != 0)
85
- {
86
- throw new Autd3Exception("sampling config cannot be resolved to a frequency");
87
- }
88
- return value * Units.Hz;
89
- }
90
- finally
91
- {
92
- NativeCore.autd3_core_sampling_config_free(handle);
93
- }
94
- }
63
+ internal ushort DivideForNative() => Divide();
95
64
 
96
- public TimeSpan Period()
97
- {
98
- var handle = CreateHandle();
99
- try
100
- {
101
- if (NativeCore.autd3_core_sampling_config_period_value(handle, out var value) != 0)
102
- {
103
- throw new Autd3Exception("sampling config cannot be resolved to a period");
104
- }
105
- return TimeSpan.FromTicks((long)(value / 100));
106
- }
107
- finally
108
- {
109
- NativeCore.autd3_core_sampling_config_free(handle);
110
- }
111
- }
65
+ public Freq Freq() => (float)Params.UltrasoundFreqHz / Divide() * Units.Hz;
112
66
 
113
- internal IntPtr CreateHandle()
114
- {
115
- var handle = _kind switch
116
- {
117
- Kind.Default => NativeCore.autd3_core_sampling_config_freq(4000f),
118
- Kind.Divide => NativeCore.autd3_core_sampling_config_divide(_divide),
119
- Kind.Freq => NativeCore.autd3_core_sampling_config_freq(_freq),
120
- Kind.FreqNearest => NativeCore.autd3_core_sampling_config_freq_nearest(_freq),
121
- Kind.Period => NativeCore.autd3_core_sampling_config_period(_periodNs),
122
- _ => NativeCore.autd3_core_sampling_config_period_nearest(_periodNs),
123
- };
124
- if (handle == IntPtr.Zero)
125
- {
126
- throw new Autd3Exception("failed to create sampling config");
127
- }
128
- return handle;
129
- }
67
+ public TimeSpan Period() => TimeSpan.FromTicks(Params.UltrasoundPeriod.Ticks * Divide());
68
+
69
+ public bool Equals(SamplingConfig other) => _divide == other._divide;
70
+
71
+ public override bool Equals(object? obj) => obj is SamplingConfig other && Equals(other);
72
+
73
+ public override int GetHashCode() => _divide;
74
+
75
+ public static bool operator ==(SamplingConfig left, SamplingConfig right) => left.Equals(right);
76
+
77
+ public static bool operator !=(SamplingConfig left, SamplingConfig right) => !left.Equals(right);
130
78
  }
131
79
  }
@@ -5,7 +5,7 @@ The following is a list of those components and the full text of their licenses.
5
5
 
6
6
  ## Overview
7
7
 
8
- - MIT License (57)
8
+ - MIT License (33)
9
9
  - Apache License 2.0 (3)
10
10
  - Unicode License v3 (1)
11
11
 
@@ -226,7 +226,7 @@ Used by:
226
226
  Used by:
227
227
 
228
228
  - nalgebra 0.35.0 — https://github.com/dimforge/nalgebra
229
- - simba 0.10.0 — https://github.com/dimforge/simba
229
+ - simba 0.10.2 — https://github.com/dimforge/simba
230
230
 
231
231
  ```
232
232
  Apache License
@@ -437,10 +437,14 @@ Used by:
437
437
 
438
438
  Used by:
439
439
 
440
- - cfg-if 1.0.4 — https://github.com/rust-lang/cfg-if
440
+ - bitflags 2.13.2 — https://github.com/bitflags/bitflags
441
+ - num-complex 0.4.6 — https://github.com/rust-num/num-complex
442
+ - num-integer 0.1.47 — https://github.com/rust-num/num-integer
443
+ - num-rational 0.4.2 — https://github.com/rust-num/num-rational
444
+ - num-traits 0.2.19 — https://github.com/rust-num/num-traits
441
445
 
442
446
  ```
443
- Copyright (c) 2014 Alex Crichton
447
+ Copyright (c) 2014 The Rust Project Developers
444
448
 
445
449
  Permission is hereby granted, free of charge, to any
446
450
  person obtaining a copy of this software and associated
@@ -472,10 +476,10 @@ DEALINGS IN THE SOFTWARE.
472
476
 
473
477
  Used by:
474
478
 
475
- - core_affinity 0.8.3 — https://github.com/Elzair/core_affinity_rs
479
+ - rawpointer 0.2.1 — https://github.com/bluss/rawpointer/
476
480
 
477
481
  ```
478
- Copyright (c) 2014 The Rust Project Developers
482
+ Copyright (c) 2015
479
483
 
480
484
  Permission is hereby granted, free of charge, to any
481
485
  person obtaining a copy of this software and associated
@@ -500,21 +504,19 @@ CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
500
504
  OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR
501
505
  IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
502
506
  DEALINGS IN THE SOFTWARE.
507
+
503
508
  ```
504
509
 
505
510
  ## MIT License
506
511
 
507
512
  Used by:
508
513
 
509
- - bitflags 2.13.0 — https://github.com/bitflags/bitflags
510
- - log 0.4.33 — https://github.com/rust-lang/log
511
- - num-complex 0.4.6 — https://github.com/rust-num/num-complex
512
- - num-integer 0.1.46 — https://github.com/rust-num/num-integer
513
- - num-rational 0.4.2 — https://github.com/rust-num/num-rational
514
- - num-traits 0.2.19 — https://github.com/rust-num/num-traits
514
+ - matrixmultiply 0.3.11 — https://github.com/bluss/matrixmultiply/
515
515
 
516
516
  ```
517
- Copyright (c) 2014 The Rust Project Developers
517
+ Copyright (c) 2016 - 2023 Ulrik Sverdrup "bluss"
518
+ Copyirhgt (c) 2018 R. Janis Goldschmidt
519
+ Copyright (c) 2021 DutchGhost [constparse.rs]
518
520
 
519
521
  Permission is hereby granted, free of charge, to any
520
522
  person obtaining a copy of this software and associated
@@ -546,10 +548,11 @@ DEALINGS IN THE SOFTWARE.
546
548
 
547
549
  Used by:
548
550
 
549
- - rawpointer 0.2.1 — https://github.com/bluss/rawpointer/
551
+ - zerocopy-derive 0.8.63 — https://github.com/google/zerocopy
552
+ - zerocopy 0.8.63 — https://github.com/google/zerocopy
550
553
 
551
554
  ```
552
- Copyright (c) 2015
555
+ Copyright 2023 The Fuchsia Authors
553
556
 
554
557
  Permission is hereby granted, free of charge, to any
555
558
  person obtaining a copy of this software and associated
@@ -575,16 +578,19 @@ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR
575
578
  IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
576
579
  DEALINGS IN THE SOFTWARE.
577
580
 
581
+
578
582
  ```
579
583
 
580
584
  ## MIT License
581
585
 
582
586
  Used by:
583
587
 
584
- - winapi 0.3.9 — https://github.com/retep998/winapi-rs
588
+ - crc 3.4.0 — https://github.com/mrhooray/crc-rs.git
585
589
 
586
590
  ```
587
- Copyright (c) 2015-2018 The winapi-rs Developers
591
+ MIT License
592
+
593
+ Copyright (c) 2017 crc-rs Developers
588
594
 
589
595
  Permission is hereby granted, free of charge, to any person obtaining a copy
590
596
  of this software and associated documentation files (the "Software"), to deal
@@ -610,10 +616,12 @@ SOFTWARE.
610
616
 
611
617
  Used by:
612
618
 
613
- - num_cpus 1.17.0 — https://github.com/seanmonstar/num_cpus
619
+ - crc-catalog 2.5.0 — https://github.com/akhilles/crc-catalog.git
614
620
 
615
621
  ```
616
- Copyright (c) 2015-2025 Sean McArthur
622
+ MIT License
623
+
624
+ Copyright (c) 2019 Akhil Velagapudi
617
625
 
618
626
  Permission is hereby granted, free of charge, to any person obtaining a copy
619
627
  of this software and associated documentation files (the "Software"), to deal
@@ -622,125 +630,16 @@ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
622
630
  copies of the Software, and to permit persons to whom the Software is
623
631
  furnished to do so, subject to the following conditions:
624
632
 
625
- The above copyright notice and this permission notice shall be included in
626
- all copies or substantial portions of the Software.
633
+ The above copyright notice and this permission notice shall be included in all
634
+ copies or substantial portions of the Software.
627
635
 
628
636
  THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
629
637
  IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
630
638
  FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
631
639
  AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
632
640
  LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
633
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
634
- THE SOFTWARE.
635
-
636
-
637
- ```
638
-
639
- ## MIT License
640
-
641
- Used by:
642
-
643
- - matrixmultiply 0.3.10 — https://github.com/bluss/matrixmultiply/
644
-
645
- ```
646
- Copyright (c) 2016 - 2023 Ulrik Sverdrup "bluss"
647
- Copyirhgt (c) 2018 R. Janis Goldschmidt
648
- Copyright (c) 2021 DutchGhost [constparse.rs]
649
-
650
- Permission is hereby granted, free of charge, to any
651
- person obtaining a copy of this software and associated
652
- documentation files (the "Software"), to deal in the
653
- Software without restriction, including without
654
- limitation the rights to use, copy, modify, merge,
655
- publish, distribute, sublicense, and/or sell copies of
656
- the Software, and to permit persons to whom the Software
657
- is furnished to do so, subject to the following
658
- conditions:
659
-
660
- The above copyright notice and this permission notice
661
- shall be included in all copies or substantial portions
662
- of the Software.
663
-
664
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF
665
- ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED
666
- TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A
667
- PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT
668
- SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
669
- CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
670
- OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR
671
- IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
672
- DEALINGS IN THE SOFTWARE.
673
-
674
- ```
675
-
676
- ## MIT License
677
-
678
- Used by:
679
-
680
- - tracing-core 0.1.36 — https://github.com/tokio-rs/tracing
681
- - tracing 0.1.44 — https://github.com/tokio-rs/tracing
682
-
683
- ```
684
- Copyright (c) 2019 Tokio Contributors
685
-
686
- Permission is hereby granted, free of charge, to any
687
- person obtaining a copy of this software and associated
688
- documentation files (the "Software"), to deal in the
689
- Software without restriction, including without
690
- limitation the rights to use, copy, modify, merge,
691
- publish, distribute, sublicense, and/or sell copies of
692
- the Software, and to permit persons to whom the Software
693
- is furnished to do so, subject to the following
694
- conditions:
695
-
696
- The above copyright notice and this permission notice
697
- shall be included in all copies or substantial portions
698
- of the Software.
699
-
700
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF
701
- ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED
702
- TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A
703
- PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT
704
- SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
705
- CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
706
- OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR
707
- IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
708
- DEALINGS IN THE SOFTWARE.
709
-
710
- ```
711
-
712
- ## MIT License
713
-
714
- Used by:
715
-
716
- - libc 0.2.186 — https://github.com/rust-lang/libc
717
-
718
- ```
719
- Copyright (c) The Rust Project Developers
720
-
721
- Permission is hereby granted, free of charge, to any
722
- person obtaining a copy of this software and associated
723
- documentation files (the "Software"), to deal in the
724
- Software without restriction, including without
725
- limitation the rights to use, copy, modify, merge,
726
- publish, distribute, sublicense, and/or sell copies of
727
- the Software, and to permit persons to whom the Software
728
- is furnished to do so, subject to the following
729
- conditions:
730
-
731
- The above copyright notice and this permission notice
732
- shall be included in all copies or substantial portions
733
- of the Software.
734
-
735
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF
736
- ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED
737
- TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A
738
- PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT
739
- SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
740
- CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
741
- OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR
742
- IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
743
- DEALINGS IN THE SOFTWARE.
641
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
642
+ SOFTWARE.
744
643
 
745
644
  ```
746
645
 
@@ -748,36 +647,18 @@ DEALINGS IN THE SOFTWARE.
748
647
 
749
648
  Used by:
750
649
 
751
- - zerocopy-derive 0.8.52 — https://github.com/google/zerocopy
752
- - zerocopy 0.8.52 — https://github.com/google/zerocopy
650
+ - bytemuck 1.25.2 — https://github.com/Lokathor/bytemuck
753
651
 
754
652
  ```
755
- Copyright 2023 The Fuchsia Authors
653
+ MIT License
756
654
 
757
- Permission is hereby granted, free of charge, to any
758
- person obtaining a copy of this software and associated
759
- documentation files (the "Software"), to deal in the
760
- Software without restriction, including without
761
- limitation the rights to use, copy, modify, merge,
762
- publish, distribute, sublicense, and/or sell copies of
763
- the Software, and to permit persons to whom the Software
764
- is furnished to do so, subject to the following
765
- conditions:
655
+ Copyright (c) 2019 Daniel "Lokathor" Gee.
766
656
 
767
- The above copyright notice and this permission notice
768
- shall be included in all copies or substantial portions
769
- of the Software.
657
+ Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
770
658
 
771
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF
772
- ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED
773
- TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A
774
- PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT
775
- SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
776
- CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
777
- OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR
778
- IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
779
- DEALINGS IN THE SOFTWARE.
659
+ The above copyright notice and this permission notice (including the next paragraph) shall be included in all copies or substantial portions of the Software.
780
660
 
661
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
781
662
 
782
663
  ```
783
664
 
@@ -785,12 +666,12 @@ DEALINGS IN THE SOFTWARE.
785
666
 
786
667
  Used by:
787
668
 
788
- - thread-priority 3.1.1 — https://github.com/iddm/thread-priority
669
+ - wide 1.7.1 — https://github.com/Lokathor/wide
789
670
 
790
671
  ```
791
672
  MIT License
792
673
 
793
- Copyright (c) 2017 Victor Polevoy
674
+ Copyright (c) 2020 Daniel "Lokathor" Gee
794
675
 
795
676
  Permission is hereby granted, free of charge, to any person obtaining a copy
796
677
  of this software and associated documentation files (the "Software"), to deal
@@ -816,26 +697,7 @@ SOFTWARE.
816
697
 
817
698
  Used by:
818
699
 
819
- - bytemuck 1.25.0 — https://github.com/Lokathor/bytemuck
820
-
821
- ```
822
- MIT License
823
-
824
- Copyright (c) 2019 Daniel "Lokathor" Gee.
825
-
826
- Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
827
-
828
- The above copyright notice and this permission notice (including the next paragraph) shall be included in all copies or substantial portions of the Software.
829
-
830
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
831
-
832
- ```
833
-
834
- ## MIT License
835
-
836
- Used by:
837
-
838
- - safe_arch 1.0.0 — https://github.com/Lokathor/safe_arch
700
+ - safe_arch 1.2.0 — https://github.com/Lokathor/safe_arch
839
701
 
840
702
  ```
841
703
  MIT License
@@ -854,8 +716,8 @@ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLI
854
716
 
855
717
  Used by:
856
718
 
857
- - autd3-rs-core 0.9.0 — https://github.com/shinolab/autd3-sdk
858
- - autd3-cpu-wire 0.9.0 — https://github.com/shinolab/autd3-sdk
719
+ - autd3-rs-core 0.13.0 — https://github.com/shinolab/autd3-sdk
720
+ - autd3-cpu-wire 0.13.0 — https://github.com/shinolab/autd3-sdk
859
721
 
860
722
  ```
861
723
  MIT License
@@ -886,23 +748,8 @@ SOFTWARE.
886
748
 
887
749
  Used by:
888
750
 
889
- - autd3-ffi-abi 0.9.0 — https://github.com/shinolab/autd3-sdk
890
- - autd3-ffi-core 0.9.0 — https://github.com/shinolab/autd3-sdk
891
- - chrono 0.4.45 — https://github.com/chronotope/chrono
892
- - wide 1.5.0 — https://github.com/Lokathor/wide
893
- - winapi-i686-pc-windows-gnu 0.4.0 — https://github.com/retep998/winapi-rs
894
- - winapi-x86_64-pc-windows-gnu 0.4.0 — https://github.com/retep998/winapi-rs
895
- - windows-collections 0.3.2 — https://github.com/microsoft/windows-rs
896
- - windows-core 0.62.2 — https://github.com/microsoft/windows-rs
897
- - windows-future 0.3.2 — https://github.com/microsoft/windows-rs
898
- - windows-implement 0.60.2 — https://github.com/microsoft/windows-rs
899
- - windows-interface 0.59.3 — https://github.com/microsoft/windows-rs
900
- - windows-link 0.2.1 — https://github.com/microsoft/windows-rs
901
- - windows-numerics 0.3.1 — https://github.com/microsoft/windows-rs
902
- - windows-result 0.4.1 — https://github.com/microsoft/windows-rs
903
- - windows-strings 0.5.1 — https://github.com/microsoft/windows-rs
904
- - windows-threading 0.2.1 — https://github.com/microsoft/windows-rs
905
- - windows 0.62.2 — https://github.com/microsoft/windows-rs
751
+ - autd3-ffi-abi 0.13.0 — https://github.com/shinolab/autd3-sdk
752
+ - autd3-ffi-core 0.13.0 — https://github.com/shinolab/autd3-sdk
906
753
 
907
754
  ```
908
755
  MIT License
@@ -930,21 +777,19 @@ USE OR OTHER DEALINGS IN THE SOFTWARE.
930
777
 
931
778
  Used by:
932
779
 
933
- - hermit-abi 0.5.2 — https://github.com/hermit-os/hermit-rs
934
780
  - itoa 1.0.18 — https://github.com/dtolnay/itoa
935
- - pin-project-lite 0.2.17 — https://github.com/taiki-e/pin-project-lite
936
- - proc-macro2 1.0.106 — https://github.com/dtolnay/proc-macro2
937
- - quote 1.0.46 — https://github.com/dtolnay/quote
938
- - rustversion 1.0.22 — https://github.com/dtolnay/rustversion
939
- - serde 1.0.228 — https://github.com/serde-rs/serde
940
- - serde_core 1.0.228 — https://github.com/serde-rs/serde
941
- - serde_derive 1.0.228 — https://github.com/serde-rs/serde
942
- - serde_json 1.0.150 — https://github.com/serde-rs/json
943
- - syn 2.0.118 — https://github.com/dtolnay/syn
944
- - thiserror-impl 2.0.18 — https://github.com/dtolnay/thiserror
945
- - thiserror 2.0.18 — https://github.com/dtolnay/thiserror
946
- - unicode-ident 1.0.24 — https://github.com/dtolnay/unicode-ident
947
- - zmij 1.0.21 — https://github.com/dtolnay/zmij
781
+ - proc-macro2 1.0.107 — https://github.com/dtolnay/proc-macro2
782
+ - quote 1.0.47 — https://github.com/dtolnay/quote
783
+ - serde 1.0.229 — https://github.com/serde-rs/serde
784
+ - serde_core 1.0.229 — https://github.com/serde-rs/serde
785
+ - serde_derive 1.0.229 — https://github.com/serde-rs/serde
786
+ - serde_json 1.0.154 — https://github.com/serde-rs/json
787
+ - syn 2.0.119 — https://github.com/dtolnay/syn
788
+ - syn 3.0.9 — https://github.com/dtolnay/syn
789
+ - thiserror-impl 2.0.21 — https://github.com/dtolnay/thiserror
790
+ - thiserror 2.0.21 — https://github.com/dtolnay/thiserror
791
+ - unicode-ident 1.0.27 — https://github.com/dtolnay/unicode-ident
792
+ - zmij 1.0.23 — https://github.com/dtolnay/zmij
948
793
 
949
794
  ```
950
795
  Permission is hereby granted, free of charge, to any
@@ -977,37 +822,6 @@ DEALINGS IN THE SOFTWARE.
977
822
 
978
823
  Used by:
979
824
 
980
- - tracing-core 0.1.36 — https://github.com/tokio-rs/tracing
981
-
982
- ```
983
- The MIT License (MIT)
984
-
985
- Copyright (c) 2014 Mathijs van de Nes
986
-
987
- Permission is hereby granted, free of charge, to any person obtaining a copy
988
- of this software and associated documentation files (the "Software"), to deal
989
- in the Software without restriction, including without limitation the rights
990
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
991
- copies of the Software, and to permit persons to whom the Software is
992
- furnished to do so, subject to the following conditions:
993
-
994
- The above copyright notice and this permission notice shall be included in all
995
- copies or substantial portions of the Software.
996
-
997
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
998
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
999
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
1000
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
1001
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
1002
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
1003
- SOFTWARE.
1004
-
1005
- ```
1006
-
1007
- ## MIT License
1008
-
1009
- Used by:
1010
-
1011
825
  - typenum 1.20.1 — https://github.com/paholg/typenum
1012
826
 
1013
827
  ```
@@ -1039,7 +853,7 @@ SOFTWARE.
1039
853
 
1040
854
  Used by:
1041
855
 
1042
- - memchr 2.8.2 — https://github.com/BurntSushi/memchr
856
+ - memchr 2.8.3 — https://github.com/BurntSushi/memchr
1043
857
 
1044
858
  ```
1045
859
  The MIT License (MIT)
@@ -1070,7 +884,7 @@ THE SOFTWARE.
1070
884
 
1071
885
  Used by:
1072
886
 
1073
- - unicode-ident 1.0.24 — https://github.com/dtolnay/unicode-ident
887
+ - unicode-ident 1.0.27 — https://github.com/dtolnay/unicode-ident
1074
888
 
1075
889
  ```
1076
890
  UNICODE LICENSE V3