Skip to content

Commit 38451a9

Browse files
committed
Merge remote-tracking branch 'origin/main' into tls-certs
2 parents a66b9e6 + 76b16fd commit 38451a9

File tree

920 files changed

+3139
-3187
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

920 files changed

+3139
-3187
lines changed

Cargo.toml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,16 @@
22
resolver = "2"
33
members = [
44
"client/*",
5-
"swim",
6-
"api/swim_*",
7-
"api/formats/swim_*",
5+
"swimos",
6+
"api/swimos_*",
7+
"api/formats/swimos_*",
88
"macro_utilities",
9-
"runtime/swim_*",
10-
"swim_store",
11-
"swim_utilities",
12-
"swim_utilities/swim_*",
13-
"swim_downlink",
14-
"server/swim_*",
9+
"runtime/swimos_*",
10+
"swimos_store",
11+
"swimos_utilities",
12+
"swimos_utilities/swimos_*",
13+
"swimos_downlink",
14+
"server/swimos_*",
1515
"example_apps/example_util",
1616
"example_apps/console",
1717
"example_apps/console/console_views",
@@ -86,7 +86,7 @@ proc-macro2 = "1.0"
8686
syn = "1.0"
8787
quote = "1.0.3"
8888
num-bigint = "0.4"
89-
ratchet = { package = "ratchet_rs", version = "0.4" }
89+
ratchet = { package = "ratchet_rs", version = "0.4" }
9090
ratchet_fixture = "0.4"
9191
flate2 = "1.0.22"
9292
bitflags = "1.3"

api/formats/swim_msgpack/Cargo.toml renamed to api/formats/swimos_msgpack/Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
[package]
2-
name = "swim_msgpack"
2+
name = "swimos_msgpack"
33
version = "0.1.0"
44
authors = ["Swim Inc. developers info@swim.ai"]
55
edition = "2021"
66

77
[dependencies]
88
base64 = { workspace = true }
99
either = { workspace = true }
10-
swim_form = { path = "../../swim_form" }
11-
swim_model = { path = "../../swim_model" }
10+
swimos_form = { path = "../../swimos_form" }
11+
swimos_model = { path = "../../swimos_model" }
1212
bytes = { workspace = true }
1313
byteorder = "1.4"
1414
rmp = "0.8"

api/formats/swim_msgpack/src/reader/mod.rs renamed to api/formats/swimos_msgpack/src/reader/mod.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,10 @@ use either::Either;
2222
use rmp::decode::{read_str_len, ValueReadError};
2323
use rmp::Marker;
2424

25-
use swim_form::structural::read::event::ReadEvent;
26-
use swim_form::structural::read::recognizer::Recognizer;
27-
use swim_form::structural::read::{ReadError, StructuralReadable};
28-
use swim_model::bigint::{BigInt, BigUint, Sign};
25+
use swimos_form::structural::read::event::ReadEvent;
26+
use swimos_form::structural::read::recognizer::Recognizer;
27+
use swimos_form::structural::read::{ReadError, StructuralReadable};
28+
use swimos_model::bigint::{BigInt, BigUint, Sign};
2929

3030
use crate::{BIG_INT_EXT, BIG_UINT_EXT};
3131

api/formats/swim_msgpack/src/reader/tests.rs renamed to api/formats/swimos_msgpack/src/reader/tests.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
use crate::reader::MsgPackReadError;
1616
use rmp::Marker;
17-
use swim_form::structural::read::ReadError;
17+
use swimos_form::structural::read::ReadError;
1818

1919
const INVALID_UTF8: [u8; 2] = [0xc3, 0x28];
2020

api/formats/swim_msgpack/src/tests.rs renamed to api/formats/swimos_msgpack/src/tests.rs

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ use crate::{read_from_msg_pack, MsgPackReadError};
1717
use bytes::{BufMut, BytesMut};
1818
use std::collections::HashMap;
1919
use std::fmt::Debug;
20-
use swim_form::Form;
21-
use swim_model::{Attr, Item, Value};
20+
use swimos_form::Form;
21+
use swimos_model::{Attr, Item, Value};
2222

2323
fn validate<T: Form + PartialEq + Debug>(value: &T) {
2424
let mut buffer = BytesMut::new();
@@ -194,7 +194,6 @@ fn msgpack_nested_attribute() {
194194
#[test]
195195
fn delegate_struct() {
196196
#[derive(Form, PartialEq, Debug)]
197-
#[form_root(::swim_form)]
198197
struct Parent {
199198
#[form(attr)]
200199
a: i32,
@@ -205,7 +204,6 @@ fn delegate_struct() {
205204
}
206205

207206
#[derive(Form, PartialEq, Debug)]
208-
#[form_root(::swim_form)]
209207
struct Child {
210208
#[form(attr)]
211209
d: i32,
@@ -216,7 +214,6 @@ fn delegate_struct() {
216214
}
217215

218216
#[derive(Form, PartialEq, Debug)]
219-
#[form_root(::swim_form)]
220217
struct GrandChild {
221218
#[form(attr)]
222219
g: i32,
@@ -246,7 +243,6 @@ fn delegate_struct() {
246243
#[test]
247244
fn delegate_vec() {
248245
#[derive(Form, PartialEq, Debug)]
249-
#[form_root(::swim_form)]
250246
struct Prop {
251247
#[form(attr)]
252248
a: i32,
@@ -257,7 +253,6 @@ fn delegate_vec() {
257253
}
258254

259255
#[derive(Form, PartialEq, Debug)]
260-
#[form_root(::swim_form)]
261256
struct Delegate {
262257
#[form(attr)]
263258
a: i32,
@@ -295,7 +290,6 @@ fn delegate_vec() {
295290
#[test]
296291
fn delegate_eor() {
297292
#[derive(Form, PartialEq, Debug)]
298-
#[form_root(::swim_form)]
299293
struct Delegate<T> {
300294
#[form(attr)]
301295
a: i32,

api/formats/swim_msgpack/src/writer/mod.rs renamed to api/formats/swimos_msgpack/src/writer/mod.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,11 @@ use rmp::encode::{
2424
write_sint, write_str, write_u64, ValueWriteError,
2525
};
2626

27-
use swim_form::structural::write::{
27+
use swimos_form::structural::write::{
2828
BodyWriter, HeaderWriter, Label, PrimitiveWriter, RecordBodyKind, StructuralWritable,
2929
StructuralWriter,
3030
};
31-
use swim_model::bigint::{BigInt, BigUint, Sign};
31+
use swimos_model::bigint::{BigInt, BigUint, Sign};
3232

3333
use crate::{BIG_INT_EXT, BIG_UINT_EXT};
3434

api/formats/swim_msgpack/src/writer/tests.rs renamed to api/formats/swimos_msgpack/src/writer/tests.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
use crate::MsgPackWriteError;
1616
use std::io::ErrorKind;
17-
use swim_model::bigint::{BigInt, BigUint};
17+
use swimos_model::bigint::{BigInt, BigUint};
1818

1919
#[test]
2020
fn msgpack_write_err_display() {

api/formats/swim_recon/Cargo.toml renamed to api/formats/swimos_recon/Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[package]
2-
name = "swim_recon"
2+
name = "swimos_recon"
33
version = "0.1.0"
44
authors = ["Swim Inc. developers info@swim.ai"]
55
edition = "2021"
@@ -11,8 +11,8 @@ async_parser = ["futures", "tokio", "tokio-util", "bytes"]
1111
[dependencies]
1212
base64 = { workspace = true }
1313
either = { workspace = true }
14-
swim_form = { path = "../../swim_form" }
15-
swim_model = { path = "../../swim_model" }
14+
swimos_form = { path = "../../swimos_form" }
15+
swimos_model = { path = "../../swimos_model" }
1616
nom = { workspace = true }
1717
nom_locate = { workspace = true }
1818
num-traits = { workspace = true }

api/formats/swim_recon/src/comparator/mod.rs renamed to api/formats/swimos_recon/src/comparator/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
use crate::parser::Span;
1616
use smallvec::SmallVec;
1717
use std::iter::Peekable;
18-
use swim_form::structural::read::event::ReadEvent;
18+
use swimos_form::structural::read::event::ReadEvent;
1919

2020
#[cfg(test)]
2121
mod tests;

0 commit comments

Comments
 (0)