style: use 2-space indentation across entire codebase

Add rustfmt.toml with tab_spaces = 2 and reformat all source files,
tests, and README code examples to use 2-space indentation.
This commit is contained in:
Stevan Freeborn
2026-03-25 14:11:08 -05:00
parent 9201556646
commit 905f7f945a
27 changed files with 1250 additions and 1231 deletions
+5 -5
View File
@@ -2,9 +2,9 @@ use onspring::OnspringClient;
use wiremock::MockServer;
pub async fn setup() -> (MockServer, OnspringClient) {
let mock_server = MockServer::start().await;
let client = OnspringClient::builder("test-api-key")
.base_url(mock_server.uri())
.build();
(mock_server, client)
let mock_server = MockServer::start().await;
let client = OnspringClient::builder("test-api-key")
.base_url(mock_server.uri())
.build();
(mock_server, client)
}