more visibility adjustments
This commit is contained in:
parent
f1d8ddc9b8
commit
0b353134f1
|
@ -1,6 +1,6 @@
|
|||
[package]
|
||||
name = "torn-key-pool"
|
||||
version = "0.8.2"
|
||||
version = "0.8.3"
|
||||
edition = "2021"
|
||||
authors = ["Pyrit [2111649]"]
|
||||
license = "MIT"
|
||||
|
|
|
@ -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>,
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue