···2233mod reader;
44mod transactor;
55+66+pub(crate) use reader::RecordReader;
77+pub(crate) use transactor::RecordTransactor;
+5
src/actor_store/repo/mod.rs
···44mod sql_repo_reader;
55mod sql_repo_transactor;
66mod transactor;
77+88+pub(crate) use reader::RepoReader;
99+pub(crate) use sql_repo_reader::SqlRepoReader;
1010+pub(crate) use sql_repo_transactor::SqlRepoTransactor;
1111+pub(crate) use transactor::RepoTransactor;
-3
src/config.rs
···3333pub(crate) struct RepoConfig {
3434 /// The path to the repository storage.
3535 pub path: PathBuf,
3636- /// Use SQLite for repository storage instead of CAR files.
3737- #[serde(default)]
3838- pub use_sqlite: bool,
3936}
40374138#[derive(Deserialize, Debug, Clone)]
+8
src/main.rs
···169169 }
170170}
171171172172+impl SigningKey {
173173+ /// Import from a private key.
174174+ pub fn import(key: &[u8]) -> Result<Self> {
175175+ let key = Secp256k1Keypair::import(key).context("failed to import signing key")?;
176176+ Ok(Self(Arc::new(key)))
177177+ }
178178+}
179179+172180impl std::ops::Deref for RotationKey {
173181 type Target = Secp256k1Keypair;
174182