Unmodified copy of the tsclientlib workspace crates (MIT OR Apache-2.0) with the tsdeclarations submodule (83cb8a9) flattened into plain files. See crates/proto/UPSTREAM.md for the path mapping. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01NJvYyRmTjKcb9i8eyYXK5G
14 lines
351 B
Rust
14 lines
351 B
Rust
use std::default::Default;
|
|
|
|
use t4rust_derive::Template;
|
|
use tsproto_structs::*;
|
|
|
|
#[derive(Template)]
|
|
#[TemplatePath = "build/BookDeclarations.tt"]
|
|
#[derive(Debug)]
|
|
pub struct BookDeclarations<'a>(pub &'a book::BookDeclarations);
|
|
|
|
impl Default for BookDeclarations<'static> {
|
|
fn default() -> Self { BookDeclarations(&tsproto_structs::book::DATA) }
|
|
}
|