more visibility adjustments

This commit is contained in:
TotallyNot 2024-04-04 16:38:22 +02:00
parent f1d8ddc9b8
commit 0b353134f1
3 changed files with 5 additions and 5 deletions

View file

@ -1,6 +1,6 @@
[package]
name = "torn-key-pool"
version = "0.8.2"
version = "0.8.3"
edition = "2021"
authors = ["Pyrit [2111649]"]
license = "MIT"

View file

@ -207,7 +207,7 @@ pub trait KeyPoolStorage {
}
#[derive(Debug, Default)]
struct PoolOptions {
pub struct PoolOptions {
comment: Option<String>,
hooks_before: std::collections::HashMap<std::any::TypeId, Box<dyn std::any::Any + Send + Sync>>,
hooks_after: std::collections::HashMap<std::any::TypeId, Box<dyn std::any::Any + Send + Sync>>,
@ -228,7 +228,7 @@ impl<'a, C, S> KeyPoolExecutor<'a, C, S>
where
S: KeyPoolStorage,
{
fn new(
pub fn new(
storage: &'a S,
selector: KeySelector<S::Key, S::Domain>,
options: Arc<PoolOptions>,

View file

@ -267,9 +267,9 @@ where
C: ApiClient,
S: KeyPoolStorage,
{
client: C,
pub client: C,
pub storage: S,
options: Arc<PoolOptions>,
pub options: Arc<PoolOptions>,
}
impl<C, S> KeyPool<C, S>