[workspace] F00: empty crates, licences, Nix flake, hook, CI
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
[package]
|
||||
name = "tabellarius-client"
|
||||
description = "OpenMLS wrapper and mailbox client, embedded by apps."
|
||||
license = "Apache-2.0 OR MIT"
|
||||
version.workspace = true
|
||||
edition.workspace = true
|
||||
publish.workspace = true
|
||||
|
||||
[dependencies]
|
||||
tabellarius-protocol = { path = "../protocol" }
|
||||
|
||||
[lints]
|
||||
workspace = true
|
||||
@@ -0,0 +1,2 @@
|
||||
//! Client library: MLS (via OpenMLS) and the mailbox client.
|
||||
//! Empty until the protocol review is approved. No cryptography is ever written here by hand.
|
||||
@@ -0,0 +1,12 @@
|
||||
[package]
|
||||
name = "tabellarius-protocol"
|
||||
description = "Wire types, versioned. No I/O. Depends on nothing in this repository."
|
||||
license = "Apache-2.0 OR MIT"
|
||||
version.workspace = true
|
||||
edition.workspace = true
|
||||
publish.workspace = true
|
||||
|
||||
[dependencies]
|
||||
|
||||
[lints]
|
||||
workspace = true
|
||||
@@ -0,0 +1,2 @@
|
||||
//! Wire types for the Tabellarius protocol (`docs/PROTOCOL.md`).
|
||||
//! Empty until the protocol review is approved.
|
||||
@@ -0,0 +1,13 @@
|
||||
[package]
|
||||
name = "tabellarius-relay"
|
||||
description = "The relay. Stores exactly docs/PROTOCOL.md section 5. Never depends on the client."
|
||||
license = "AGPL-3.0-only"
|
||||
version.workspace = true
|
||||
edition.workspace = true
|
||||
publish.workspace = true
|
||||
|
||||
[dependencies]
|
||||
tabellarius-protocol = { path = "../protocol" }
|
||||
|
||||
[lints]
|
||||
workspace = true
|
||||
@@ -0,0 +1,10 @@
|
||||
//! Placeholder: prints its version and exits. Opens no socket, stores nothing.
|
||||
//! It exists so the reproducible build has an artefact to hash. The relay itself is written only
|
||||
//! after the protocol review is approved.
|
||||
|
||||
fn main() {
|
||||
println!(
|
||||
"tabellarius-relay {} (no relay yet: protocol under review)",
|
||||
env!("CARGO_PKG_VERSION")
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user