Skip to content

Commit 7b60a46

Browse files
committed
Make options pub
1 parent 4eb0d32 commit 7b60a46

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

src/modules/sqlite/open.rs

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -51,16 +51,16 @@ pub async fn open(ctx: Ctx<'_>, options: OpenOptions) -> Result<Database> {
5151

5252
#[derive(Debug, Clone)]
5353
pub struct OpenOptions {
54-
filename: Option<PathBuf>,
55-
in_memory: bool,
56-
wal: bool,
57-
page_size: u32,
58-
foreign_keys: bool,
59-
max_connections: u32,
60-
min_connections: u32,
61-
idle_timeout: Option<Duration>,
62-
max_lifetime: Option<Duration>,
63-
busy_timeout: Duration,
54+
pub filename: Option<PathBuf>,
55+
pub in_memory: bool,
56+
pub wal: bool,
57+
pub page_size: u32,
58+
pub foreign_keys: bool,
59+
pub max_connections: u32,
60+
pub min_connections: u32,
61+
pub idle_timeout: Option<Duration>,
62+
pub max_lifetime: Option<Duration>,
63+
pub busy_timeout: Duration,
6464
}
6565

6666
impl Default for OpenOptions {

0 commit comments

Comments
 (0)