···11// @generated - This file is generated by esquema-codegen (forked from atrium-codegen). DO NOT EDIT.
22//!Definitions for the `sh.weaver.actor` namespace.
33pub mod defs;
44+pub mod get_profile;
45pub mod profile;
56#[derive(Debug)]
67pub struct Profile;
···11+//! Weaver renderer
22+//!
33+//! This crate works with the weaver-markdown crate to render and optionally upload markdown notebooks to your ATProto PDS.
44+//!
1566+pub mod types;
···99weaver-common = { path = "../weaver-common" }
1010weaver-workspace-hack = { version = "0.1", path = "../weaver-workspace-hack" }
11111212-axum = "0.7.5"
1212+axum = "0.8"
1313tokio = { version = "1.44", features = ["full"] }
1414-1414+notify = "8.0"
15151616clap = { version = "4.5", features = ["derive", "env", "cargo", "unicode"] }
+13
crates/weaver-server/src/main.rs
···11+//! Weaver server
22+//!
33+//! This crate is a lightweight HTTP server which can serve a notebook.
44+//! It will auto-reload
55+66+use axum::{Router, response::Html, routing::get};
77+88+use tokio::net::TcpListener;
99+110#[tokio::main]
211async fn main() {}
1212+1313+async fn handler() -> Html<&'static str> {
1414+ Html("<h1>Hello, World!</h1>")
1515+}
+44-5
crates/weaver-workspace-hack/Cargo.toml
···16161717### BEGIN HAKARI SECTION
1818[dependencies]
1919+base16ct = { version = "0.2", default-features = false, features = ["alloc"] }
2020+byteorder = { version = "1" }
2121+chrono = { version = "0.4", features = ["serde"] }
1922data-encoding = { version = "2" }
2020-futures-channel = { version = "0.3" }
2121-futures-core = { version = "0.3" }
2323+der = { version = "0.7", default-features = false, features = ["oid", "pem"] }
2424+diesel = { version = "2", features = ["chrono", "i-implement-a-third-party-backend-and-opt-into-breaking-changes", "postgres", "serde_json", "sqlite"] }
2525+diesel-async = { version = "0.5", features = ["deadpool", "postgres", "sync-connection-wrapper"] }
2626+ecdsa = { version = "0.16", features = ["alloc", "der", "signing", "verifying"] }
2727+either = { version = "1", features = ["use_std"] }
2828+elliptic-curve = { version = "0.13", features = ["digest", "hazmat", "jwk", "pem"] }
2929+fastrand = { version = "2" }
3030+ff = { version = "0.13", default-features = false, features = ["alloc"] }
3131+futures-channel = { version = "0.3", features = ["sink"] }
3232+generic-array = { version = "0.14", default-features = false, features = ["more_lengths", "serde", "zeroize"] }
3333+group = { version = "0.13", default-features = false, features = ["alloc"] }
3434+hashbrown = { version = "0.15", features = ["serde"] }
2235idna = { version = "1" }
2323-memchr = { version = "2" }
3636+libsqlite3-sys = { version = "0.30", features = ["bundled"] }
3737+log = { version = "0.4", default-features = false, features = ["std"] }
3838+memchr = { version = "2", features = ["use_std"] }
3939+miette = { version = "7", features = ["fancy", "syntect-highlighter"] }
4040+mime_guess = { version = "2" }
4141+minijinja = { version = "2" }
4242+num-traits = { version = "0.2", default-features = false, features = ["i128", "libm", "std"] }
4343+p384 = { version = "0.13", default-features = false, features = ["ecdsa"] }
2444percent-encoding = { version = "2" }
2525-proc-macro2 = { version = "1" }
4545+pkcs8 = { version = "0.10", default-features = false, features = ["pem"] }
4646+proc-macro2 = { version = "1", features = ["span-locations"] }
2647quote = { version = "1" }
4848+rand_core = { version = "0.6", default-features = false, features = ["std"] }
4949+reqwest = { version = "0.12", features = ["gzip", "json", "rustls-tls"] }
2750scopeguard = { version = "1" }
5151+sec1 = { version = "0.7", features = ["pem", "serde", "subtle"] }
5252+serde = { version = "1", features = ["alloc", "derive"] }
5353+serde_json = { version = "1", features = ["alloc", "preserve_order", "raw_value"] }
5454+sha2 = { version = "0.10", features = ["oid"] }
2855smallvec = { version = "1", default-features = false, features = ["const_new"] }
5656+spki = { version = "0.7", default-features = false, features = ["pem"] }
5757+subtle = { version = "2" }
2958syn = { version = "2", features = ["extra-traits", "fold", "full", "visit", "visit-mut"] }
5959+time = { version = "0.3", features = ["formatting", "local-offset", "macros", "parsing"] }
3060tokio = { version = "1", features = ["full"] }
6161+tokio-util = { version = "0.7", features = ["codec", "io"] }
6262+toml = { version = "0.8", features = ["preserve_order"] }
3163tracing = { version = "0.1", features = ["log"] }
6464+tracing-core = { version = "0.1" }
6565+zeroize = { version = "1", features = ["derive", "serde"] }
32663367[build-dependencies]
3468data-encoding = { version = "2" }
3535-proc-macro2 = { version = "1" }
6969+diesel_derives = { version = "2", features = ["32-column-tables", "chrono", "postgres", "sqlite", "with-deprecated"] }
7070+either = { version = "1", features = ["use_std"] }
7171+hashbrown = { version = "0.15", features = ["serde"] }
7272+proc-macro2 = { version = "1", features = ["span-locations"] }
3673quote = { version = "1" }
7474+serde = { version = "1", features = ["alloc", "derive"] }
3775syn = { version = "2", features = ["extra-traits", "fold", "full", "visit", "visit-mut"] }
7676+toml = { version = "0.8", features = ["preserve_order"] }
38773978### END HAKARI SECTION