···11-# Run all tests with correct threading models
22-test: test-proxy test-lifecycle test-others
11+# Run all tests
22+test:
33+ cargo test
3444-# Proxy tests modify environment variables, so must run single-threaded
55-# TODO: figure out how to run in parallel
55+# Run specific test suites if needed
66+test-repo:
77+ cargo test --test repo
88+99+test-lifecycle:
1010+ cargo test --test lifecycle
1111+612test-proxy:
77- cargo test --test proxy -- --test-threads=1
1313+ cargo test --test proxy
1414+1515+test-sync:
1616+ cargo test --test sync
1717+1818+test-server:
1919+ cargo test --test server
82099-# Lifecycle tests involve complex state mutations, run single-threaded to be safe
1010-# TODO: figure out how to run in parallel
1111-test-lifecycle:
1212- cargo test --test lifecycle -- --test-threads=1
2121+test-identity:
2222+ cargo test --test identity
13231414-test-others:
1515- cargo test --lib
2424+test-auth:
1625 cargo test --test auth
1717- cargo test --test identity
1818- cargo test --test repo
1919- cargo test --test server
2020- cargo test --test sync
···22pub mod did;
3344pub use account::create_account;
55-pub use did::{user_did_doc, well_known_did};
55+pub use did::{resolve_handle, user_did_doc, well_known_did};
+1-1
src/api/repo/mod.rs
···4455pub use blob::upload_blob;
66pub use meta::describe_repo;
77-pub use record::{create_record, delete_record, get_record, list_records, put_record};
77+pub use record::{apply_writes, create_record, delete_record, get_record, list_records, put_record};
···11+pub mod batch;
12pub mod delete;
23pub mod read;
34pub mod write;
4566+pub use batch::apply_writes;
57pub use delete::{DeleteRecordInput, delete_record};
68pub use read::{GetRecordInput, ListRecordsInput, ListRecordsOutput, get_record, list_records};
79pub use write::{
+1-1
src/api/server/mod.rs
···22pub mod session;
3344pub use meta::{describe_server, health};
55-pub use session::{create_session, delete_session, get_session, refresh_session};
55+pub use session::{create_session, delete_session, get_service_auth, get_session, refresh_session};