Uprev switchboard-on-demand for Surge integration #1951
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This pull request introduces major improvements to the
switchboard-on-demandRust library, focusing on merging the client crate into the main crate, updating documentation, and adding tooling for automated Rustdoc site generation and deployment. The changes streamline dependency management, clarify migration for users, and set up infrastructure for publishing and hosting documentation. Below are the most important changes grouped by theme:Client Crate Merge and Migration
switchboard-on-demand-clientcrate into the mainswitchboard-on-demandcrate under theclientfeature flag, consolidating codebases and dependencies, and providing a comprehensive migration guide (MERGE_COMPLETE.md,MIGRATION.md). [1] [2]Documentation and Rustdoc Site
DOCS.mdto document prerequisites and deployment steps for the Rustdoc site, including Firebase CLI usage and deployment scripts.firebase.jsonandpackage.jsonfor configuring Firebase hosting and npm scripts to automate doc generation, compilation, and deployment. [1] [2]scripts/compile_docs.tsto post-process Rustdoc output, fix asset paths, and prepare the site for hosting.General Library Improvements
src/account_info_compat.rsto abstract over differentAccountInfotypes (pinocchio, anchor, solana-program) and provide macros for safe field access and data borrowing.Other Tooling and Maintenance
rustfmt.tomlto enforce import ordering and grouping conventions for consistent code style..gitignoreto include docs and ensure.envfiles are tracked.Codebase Refactoring
src/accounts.rsto support the new crate structure.