From 2c3977da3ee2229721d4551982537235066e22c8 Mon Sep 17 00:00:00 2001 From: bryan newbold Date: Sun, 19 Feb 2023 15:12:57 -0800 Subject: update top-level files for new 'adenosine' crate --- CHANGELOG.md | 13 +++++++++++++ Cargo.lock | 21 ++++++++++++++++++++- Cargo.toml | 2 +- README.md | 1 + 4 files changed, 35 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 2721f95..df9acdc 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,19 @@ # CHANGELOG +## [0.3.0] - UNRELEASED + +Refactored common library code into `adenosine` crate. Will put common types, +helpers, and probably client code and generated Lexicon code there. + +## Changed + +- mst: include "empty" intermediate nodes between layers (following upstream + behavior) + +## Added +- mst: interop tests with upstream `atproto` (Typescript) repository + ## [0.2.0] - 2022-12-19 Tracking upstream Lexicon changes. Not backwards-compatible at the CLI/PDS XRPC diff --git a/Cargo.lock b/Cargo.lock index 5f3bf98..04be8be 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2,10 +2,29 @@ # It is not intended for manual editing. version = 3 +[[package]] +name = "adenosine" +version = "0.2.0" +dependencies = [ + "anyhow", + "base64", + "data-encoding", + "env_logger", + "lazy_static", + "log", + "rand", + "regex", + "reqwest", + "serde", + "serde_json", + "time", +] + [[package]] name = "adenosine-cli" version = "0.2.0" dependencies = [ + "adenosine", "anyhow", "atty", "base64", @@ -29,7 +48,7 @@ dependencies = [ name = "adenosine-pds" version = "0.2.0" dependencies = [ - "adenosine-cli", + "adenosine", "anyhow", "askama", "async-trait", diff --git a/Cargo.toml b/Cargo.toml index dee801e..2e6e9ac 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,5 +1,5 @@ [workspace] -members = ["adenosine-cli", "adenosine-pds"] +members = ["adenosine", "adenosine-cli", "adenosine-pds"] # NOTE: [workspace.package] did not work with some plugins and build tools diff --git a/README.md b/README.md index b498346..2d3adc7 100644 --- a/README.md +++ b/README.md @@ -18,6 +18,7 @@ goal is to think through how the protocol might work by implementing it. Components: +- `adenosine` ([README](./adenosine/README.md)): common library code - `adenosine-cli` ([README](./adenosine-cli/README.md), [manpage](./extra/adenosine.1.md)): command-line client (`adenosine`) - `adenosine-pds` ([README](./adenosine-pds/README.md), [manpage](./extra/adenosine-pds.1.md)): "small world" personal data server implementation, with data in sqlite -- cgit v1.2.3