@cori-do/cli-darwin-x64 0.4.0 → 0.5.1

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.
@@ -1936,6 +1936,41 @@ impl N0 {
1936
1936
 
1937
1937
  - ring 0.17.14 (https://github.com/briansmith/ring)
1938
1938
 
1939
+ ```
1940
+ // Copyright 2015-2024 Brian Smith.
1941
+ //
1942
+ // Permission to use, copy, modify, and/or distribute this software for any
1943
+ // purpose with or without fee is hereby granted, provided that the above
1944
+ // copyright notice and this permission notice appear in all copies.
1945
+ //
1946
+ // THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
1947
+ // WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
1948
+ // MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY
1949
+ // SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
1950
+ // WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION
1951
+ // OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
1952
+ // CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
1953
+
1954
+ #[cfg(target_pointer_width = "64")]
1955
+ type CompilerWord = u64;
1956
+
1957
+ #[cfg(target_pointer_width = "32")]
1958
+ type CompilerWord = u32;
1959
+
1960
+ /// A native word that isn't secret.
1961
+ ///
1962
+ /// `LeakyWord` supports `as` conversions to/from native types.
1963
+ ///
1964
+ /// XXX: This isn't the native word size on targets where a pointer isn't the
1965
+ /// same size as a native word. TODO: Fix this.
1966
+ pub(crate) type LeakyWord = CompilerWord;
1967
+
1968
+ ```
1969
+
1970
+ ### ISC License
1971
+
1972
+ - ring 0.17.14 (https://github.com/briansmith/ring)
1973
+
1939
1974
  ```
1940
1975
  // Copyright 2015-2025 Brian Smith.
1941
1976
  //
@@ -2052,6 +2087,46 @@ impl From<KeyRejected> for Unspecified {
2052
2087
  // OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
2053
2088
  // CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
2054
2089
 
2090
+ #[cfg(target_arch = "x86")]
2091
+ pub fn shift_full_blocks<const BLOCK_LEN: usize>(
2092
+ in_out: super::overlapping::Overlapping<'_, u8>,
2093
+ mut transform: impl FnMut(&[u8; BLOCK_LEN]) -> [u8; BLOCK_LEN],
2094
+ ) {
2095
+ let (in_out, src) = in_out.into_slice_src_mut();
2096
+ let in_out_len = in_out[src.clone()].len();
2097
+
2098
+ for i in (0..in_out_len).step_by(BLOCK_LEN) {
2099
+ let block = {
2100
+ let input =
2101
+ <&[u8; BLOCK_LEN]>::try_from(&in_out[(src.start + i)..][..BLOCK_LEN]).unwrap();
2102
+ transform(input)
2103
+ };
2104
+ let output = <&mut [u8; BLOCK_LEN]>::try_from(&mut in_out[i..][..BLOCK_LEN]).unwrap();
2105
+ *output = block;
2106
+ }
2107
+ }
2108
+
2109
+ ```
2110
+
2111
+ ### ISC License
2112
+
2113
+ - ring 0.17.14 (https://github.com/briansmith/ring)
2114
+
2115
+ ```
2116
+ // Copyright 2018 Brian Smith.
2117
+ //
2118
+ // Permission to use, copy, modify, and/or distribute this software for any
2119
+ // purpose with or without fee is hereby granted, provided that the above
2120
+ // copyright notice and this permission notice appear in all copies.
2121
+ //
2122
+ // THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
2123
+ // WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
2124
+ // MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY
2125
+ // SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
2126
+ // WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION
2127
+ // OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
2128
+ // CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
2129
+
2055
2130
  //! Serialization and deserialization.
2056
2131
 
2057
2132
  #[doc(hidden)]
@@ -2118,6 +2193,43 @@ mod sha2_64;
2118
2193
 
2119
2194
  - ring 0.17.14 (https://github.com/briansmith/ring)
2120
2195
 
2196
+ ```
2197
+ // Copyright 2022 Brian Smith.
2198
+ //
2199
+ // Permission to use, copy, modify, and/or distribute this software for any
2200
+ // purpose with or without fee is hereby granted, provided that the above
2201
+ // copyright notice and this permission notice appear in all copies.
2202
+ //
2203
+ // THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
2204
+ // WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
2205
+ // MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY
2206
+ // SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
2207
+ // WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION
2208
+ // OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
2209
+ // CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
2210
+
2211
+ /// Polyfill for `Option::unwrap()` as a const fn; feature `const_option`.
2212
+ /// https://github.com/rust-lang/rust/issues/67441.
2213
+ /// TODO(MSRV): Replace this with `x.unwrap()`.
2214
+ ///
2215
+ /// `T: Copy` avoids "constant functions cannot evaluate destructors."
2216
+ pub const fn unwrap_const<T>(x: Option<T>) -> T
2217
+ where
2218
+ T: Copy,
2219
+ {
2220
+ if let Some(x) = x {
2221
+ x
2222
+ } else {
2223
+ panic!("unwrap_const on `None`");
2224
+ }
2225
+ }
2226
+
2227
+ ```
2228
+
2229
+ ### ISC License
2230
+
2231
+ - ring 0.17.14 (https://github.com/briansmith/ring)
2232
+
2121
2233
  ```
2122
2234
  // Copyright 2024 Brian Smith.
2123
2235
  //
@@ -2193,6 +2305,37 @@ mod bits_tests;
2193
2305
  // OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
2194
2306
  // CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
2195
2307
 
2308
+ //! Utilities to make dealing with slices less tediuous.
2309
+
2310
+ /// Replaces the first N elements of `a` with the first N elements of `b`, where
2311
+ /// N is `core::cmp::min(a.len(), b.len())`, leaving the rest unchanged.
2312
+ pub fn overwrite_at_start<T: Copy>(a: &mut [T], b: &[T]) {
2313
+ a.iter_mut().zip(b).for_each(|(a, b)| {
2314
+ *a = *b;
2315
+ });
2316
+ }
2317
+
2318
+ ```
2319
+
2320
+ ### ISC License
2321
+
2322
+ - ring 0.17.14 (https://github.com/briansmith/ring)
2323
+
2324
+ ```
2325
+ // Copyright 2024 Brian Smith.
2326
+ //
2327
+ // Permission to use, copy, modify, and/or distribute this software for any
2328
+ // purpose with or without fee is hereby granted, provided that the above
2329
+ // copyright notice and this permission notice appear in all copies.
2330
+ //
2331
+ // THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
2332
+ // WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
2333
+ // MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY
2334
+ // SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
2335
+ // WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION
2336
+ // OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
2337
+ // CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
2338
+
2196
2339
  pub use self::{
2197
2340
  array::Array,
2198
2341
  base::{IndexError, Overlapping},
@@ -2209,6 +2352,44 @@ mod partial_block;
2209
2352
 
2210
2353
  - ring 0.17.14 (https://github.com/briansmith/ring)
2211
2354
 
2355
+ ```
2356
+ // Copyright 2024 Brian Smith.
2357
+ //
2358
+ // Permission to use, copy, modify, and/or distribute this software for any
2359
+ // purpose with or without fee is hereby granted, provided that the above
2360
+ // copyright notice and this permission notice appear in all copies.
2361
+ //
2362
+ // THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
2363
+ // WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
2364
+ // MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY
2365
+ // SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
2366
+ // WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION
2367
+ // OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
2368
+ // CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
2369
+
2370
+ use crate::testutil;
2371
+ use core::{marker::PhantomData, mem::size_of};
2372
+
2373
+ /// A ZST that can be added to any type to make the type `!Send`.
2374
+ #[derive(Clone, Copy)]
2375
+ pub struct NotSend(PhantomData<*mut ()>);
2376
+
2377
+ impl NotSend {
2378
+ pub const VALUE: Self = Self(PhantomData);
2379
+ }
2380
+
2381
+ #[allow(deprecated)]
2382
+ const _: () = testutil::compile_time_assert_clone::<NotSend>();
2383
+ #[allow(deprecated)]
2384
+ const _: () = testutil::compile_time_assert_copy::<NotSend>();
2385
+ const _: () = assert!(size_of::<NotSend>() == 0);
2386
+
2387
+ ```
2388
+
2389
+ ### ISC License
2390
+
2391
+ - ring 0.17.14 (https://github.com/briansmith/ring)
2392
+
2212
2393
  ```
2213
2394
  // Copyright 2025 Brian Smith.
2214
2395
  //
@@ -2379,14 +2560,13 @@ third-party/chromium/LICENSE.
2379
2560
  - aws-lc-sys 0.45.0 (https://github.com/aws/aws-lc-rs)
2380
2561
 
2381
2562
  ```
2382
- ISC License:
2563
+ ISC License
2383
2564
 
2384
- Copyright (c) 2004-2010 by Internet Systems Consortium, Inc. ("ISC")
2385
- Copyright (c) 1995-2003 by Internet Software Consortium
2565
+ Copyright <year> <owner>
2386
2566
 
2387
2567
  Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies.
2388
2568
 
2389
- THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
2569
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
2390
2570
 
2391
2571
  ```
2392
2572
 
@@ -6548,13 +6728,13 @@ SOFTWARE.
6548
6728
 
6549
6729
  ### MIT License
6550
6730
 
6551
- - cori-cli 0.4.0 (https://github.com/cori-do/cori)
6552
- - cori-compiler 0.4.0 (https://github.com/cori-do/cori)
6553
- - cori-engine 0.4.0 (https://github.com/cori-do/cori)
6554
- - cori-server 0.4.0 (https://github.com/cori-do/cori)
6555
- - cori-store 0.4.0 (https://github.com/cori-do/cori)
6556
- - cori-store-core 0.4.0 (https://github.com/cori-do/cori)
6557
- - cori-store-engine 0.4.0 (https://github.com/cori-do/cori)
6731
+ - cori-cli 0.5.1 (https://github.com/cori-do/cori)
6732
+ - cori-compiler 0.5.1 (https://github.com/cori-do/cori)
6733
+ - cori-engine 0.5.1 (https://github.com/cori-do/cori)
6734
+ - cori-server 0.5.1 (https://github.com/cori-do/cori)
6735
+ - cori-store 0.5.1 (https://github.com/cori-do/cori)
6736
+ - cori-store-core 0.5.1 (https://github.com/cori-do/cori)
6737
+ - cori-store-engine 0.5.1 (https://github.com/cori-do/cori)
6558
6738
  - async-stream-impl 0.3.6 (https://github.com/tokio-rs/async-stream)
6559
6739
  - async-stream 0.3.6 (https://github.com/tokio-rs/async-stream)
6560
6740
  - chrono-tz 0.10.4 (https://github.com/chronotope/chrono-tz)
package/bin/cori CHANGED
@@ -1,4 +1,4 @@
1
1
  [diffend] Oversized file quarantined before diffing.
2
2
  name: package/bin/cori
3
- size: 68273512 bytes
4
- sha256: 1fd2c76cdb6367ad305e10b6a3c991d331bbd3b18a7bedf4626b7f72e657c7c2
3
+ size: 68400976 bytes
4
+ sha256: 8489d82704ba0d27afc2a79254b45c981b4248fd6d06b199f46252b529a70d59
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cori-do/cli-darwin-x64",
3
- "version": "0.4.0",
3
+ "version": "0.5.1",
4
4
  "description": "The cori binary for macOS on x64, run by @cori-do/cli.",
5
5
  "license": "MIT",
6
6
  "homepage": "https://cori.do",