Skip to content

Commit

Permalink
Rename 'Parlay' -> 'Sooon'
Browse files Browse the repository at this point in the history
  • Loading branch information
fkettelhoit committed Sep 26, 2024
1 parent 120bbeb commit 8321a13
Show file tree
Hide file tree
Showing 14 changed files with 34 additions and 34 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ workspace = { members = [
"examples/sql-integration",
] }
[package]
name = "parlay"
name = "sooon"
version = "0.1.0"
edition = "2021"

Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Parlay MPC Engine
# Sooon MPC Engine

Parlay is an MPC engine for garbled circuits. It is being actively developed, so expect breaking changes.
Sooon is an MPC engine for garbled circuits. It is being actively developed, so expect breaking changes.

## Benchmarks

Expand Down
2 changes: 1 addition & 1 deletion benches/join.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ use garble_lang::{
literal::{Literal, VariantLiteral},
token::UnsignedNumType,
};
use parlay::protocol::simulate_mpc_async;
use sooon::protocol::simulate_mpc_async;

fn join_benchmark(c: &mut Criterion) {
let n_records = 10;
Expand Down
4 changes: 2 additions & 2 deletions examples/http-multi-server-channels/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
[package]
name = "parlay-http-multi-server"
name = "sooon-http-multi-server"
version = "0.1.0"
edition = "2021"

[dependencies]
anyhow = "1.0.79"
axum = "0.7.4"
clap = { version = "4.4.18", features = ["derive"] }
parlay = { path = "../../", version = "0.1.0" }
sooon = { path = "../../", version = "0.1.0" }
reqwest = "0.11.23"
tokio = { version = "1.35.1", features = ["macros", "rt", "rt-multi-thread"] }
tower-http = { version = "0.5.1", features = ["fs", "trace"] }
Expand Down
8 changes: 4 additions & 4 deletions examples/http-multi-server-channels/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@ use axum::{
Router,
};
use clap::Parser;
use parlay::{
use reqwest::StatusCode;
use sooon::{
channel::Channel,
garble_lang::compile,
protocol::{mpc, Preprocessor},
};
use reqwest::StatusCode;
use std::{net::SocketAddr, path::PathBuf, result::Result, time::Duration};
use tokio::{
fs,
Expand All @@ -21,9 +21,9 @@ use tokio::{
use tower_http::trace::TraceLayer;
use url::Url;

/// A CLI for Multi-Party Computation using the Parlay engine.
/// A CLI for Multi-Party Computation using the Sooon engine.
#[derive(Debug, Parser)]
#[command(name = "parlay")]
#[command(name = "sooon")]
struct Cli {
/// The endpoints of all the parties, including this one (as the last url).
#[arg(required = true, value_delimiter = ';')]
Expand Down
4 changes: 2 additions & 2 deletions examples/http-single-server-channels/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
[package]
name = "parlay-http-single-server"
name = "sooon-http-single-server"
version = "0.1.0"
edition = "2021"

[dependencies]
axum = "0.7.4"
clap = { version = "4.4.18", features = ["derive"] }
parlay = { path = "../../", version = "0.1.0" }
sooon = { path = "../../", version = "0.1.0" }
reqwest = { version = "0.11.23", features = ["json"] }
tokio = { version = "1.35.1", features = ["macros", "rt", "rt-multi-thread"] }
tower-http = { version = "0.5.1", features = ["fs", "trace"] }
Expand Down
2 changes: 1 addition & 1 deletion examples/http-single-server-channels/src/http_channel.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
use std::time::Duration;

use parlay::channel::Channel;
use sooon::channel::Channel;
use reqwest::StatusCode;
use tokio::time::sleep;

Expand Down
6 changes: 3 additions & 3 deletions examples/http-single-server-channels/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ use std::{path::PathBuf, process::exit, time::Duration};

use clap::{Parser, Subcommand};
use http_channel::PollingHttpChannel;
use parlay::{
use sooon::{
fpre::fpre,
garble_lang::compile,
protocol::{mpc, Preprocessor},
Expand All @@ -13,9 +13,9 @@ use tracing::debug;
mod http_channel;
mod server;

/// A CLI for Multi-Party Computation using the Parlay engine.
/// A CLI for Multi-Party Computation using the Sooon engine.
#[derive(Debug, Parser)]
#[command(name = "parlay")]
#[command(name = "sooon")]
struct Cli {
#[command(subcommand)]
command: Commands,
Expand Down
4 changes: 2 additions & 2 deletions examples/iroh-p2p-channels/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[package]
name = "parlay-iroh-p2p"
name = "sooon-iroh-p2p"
version = "0.1.0"
edition = "2021"

Expand All @@ -8,7 +8,7 @@ anyhow = "1.0.79"
bincode = "1.3.3"
clap = { version = "4.4.18", features = ["derive"] }
iroh-net = "0.12.0"
parlay = { path = "../../", version = "0.1.0" }
sooon = { path = "../../", version = "0.1.0" }
quinn = "0.10.2"
serde = { version = "1.0.195", features = ["derive"] }
tokio = { version = "1.35.1", features = ["macros", "rt", "rt-multi-thread"] }
Expand Down
2 changes: 1 addition & 1 deletion examples/iroh-p2p-channels/src/iroh_channel.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
use parlay::channel::Channel;
use sooon::channel::Channel;
use quinn::Connection;
use tracing::info;

Expand Down
12 changes: 6 additions & 6 deletions examples/iroh-p2p-channels/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,21 +4,21 @@ use anyhow::Result;
use clap::{Parser, Subcommand};
use iroh_channel::IrohChannel;
use iroh_net::{derp::DerpMode, key::SecretKey, MagicEndpoint, NodeAddr};
use parlay::{
use quinn::Connection;
use serde::{Deserialize, Serialize};
use sooon::{
fpre::fpre,
garble_lang::compile,
protocol::{mpc, Preprocessor},
};
use quinn::Connection;
use serde::{Deserialize, Serialize};
use tokio::{fs, sync::Mutex, time::sleep};
use url::Url;

mod iroh_channel;

/// A CLI for Multi-Party Computation using the Parlay engine.
/// A CLI for Multi-Party Computation using the Sooon engine.
#[derive(Debug, Parser)]
#[command(name = "parlay")]
#[command(name = "sooon")]
struct Cli {
#[command(subcommand)]
command: Commands,
Expand Down Expand Up @@ -57,7 +57,7 @@ enum Commands {
},
}

const ALPN: &[u8] = b"parlay/p2p/iroh";
const ALPN: &[u8] = b"sooon/p2p/iroh";
const MAX_MSG_BYTES: usize = 1_024_000;

#[derive(Debug, Clone, Serialize, Deserialize)]
Expand Down
4 changes: 2 additions & 2 deletions examples/sql-integration/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[package]
name = "parlay-sql-integration"
name = "sooon-sql-integration"
version = "0.1.0"
edition = "2021"

Expand All @@ -9,7 +9,7 @@ axum = "0.7.4"
blake3 = "1.5.1"
clap = { version = "4.4.18", features = ["derive"] }
handlebars = "5.1.2"
parlay = { path = "../../", version = "0.1.0" }
sooon = { path = "../../", version = "0.1.0" }
reqwest = { version = "0.11.23", features = ["json"] }
serde = "1.0.197"
serde_json = "1.0.115"
Expand Down
12 changes: 6 additions & 6 deletions examples/sql-integration/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,10 @@ use axum::{
};
use clap::Parser;
use handlebars::Handlebars;
use parlay::{
use reqwest::StatusCode;
use serde::{Deserialize, Serialize};
use serde_json::json;
use sooon::{
channel::Channel,
garble_lang::{
ast::{Type, Variant},
Expand All @@ -18,9 +21,6 @@ use parlay::{
},
protocol::{mpc, Preprocessor},
};
use reqwest::StatusCode;
use serde::{Deserialize, Serialize};
use serde_json::json;
use sqlx::{
any::{install_default_drivers, AnyQueryResult, AnyRow},
AnyPool, Pool, Row, ValueRef,
Expand All @@ -47,9 +47,9 @@ use tower_http::trace::TraceLayer;
use tracing::{debug, error, info, warn};
use url::Url;

/// A CLI for Multi-Party Computation using the Parlay engine.
/// A CLI for Multi-Party Computation using the Sooon engine.
#[derive(Debug, Parser)]
#[command(name = "parlay")]
#[command(name = "sooon")]
struct Cli {
/// The port to listen on for connection attempts from other parties.
#[arg(required = true, long, short)]
Expand Down
2 changes: 1 addition & 1 deletion tests/protocol.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ use garble_lang::{
circuit::{Circuit, Gate},
compile,
};
use parlay::protocol::{simulate_mpc, Error};
use sooon::protocol::{simulate_mpc, Error};

#[test]
fn eval_xor_circuits_2pc() -> Result<(), Error> {
Expand Down

0 comments on commit 8321a13

Please sign in to comment.