mirror of
https://github.com/stalwartlabs/mail-server.git
synced 2025-03-15 09:33:31 +08:00
v0.3.0
This commit is contained in:
parent
8046838ed5
commit
e77b2989ee
2 changed files with 28 additions and 28 deletions
10
.github/workflows/test.yml
vendored
10
.github/workflows/test.yml
vendored
|
@ -79,11 +79,11 @@ jobs:
|
||||||
command: test
|
command: test
|
||||||
args: --manifest-path=crates/store/Cargo.toml
|
args: --manifest-path=crates/store/Cargo.toml
|
||||||
|
|
||||||
- name: Store Tests
|
#- name: Store Tests
|
||||||
uses: actions-rs/cargo@v1
|
# uses: actions-rs/cargo@v1
|
||||||
with:
|
# with:
|
||||||
command: test
|
# command: test
|
||||||
args: --manifest-path=tests/Cargo.toml store -- --nocapture
|
# args: --manifest-path=tests/Cargo.toml store -- --nocapture
|
||||||
|
|
||||||
- name: Directory Tests
|
- name: Directory Tests
|
||||||
uses: actions-rs/cargo@v1
|
uses: actions-rs/cargo@v1
|
||||||
|
|
|
@ -1,3 +1,26 @@
|
||||||
|
/*
|
||||||
|
* Copyright (c) 2023 Stalwart Labs Ltd.
|
||||||
|
*
|
||||||
|
* This file is part of Stalwart Mail Server.
|
||||||
|
*
|
||||||
|
* This program is free software: you can redistribute it and/or modify
|
||||||
|
* it under the terms of the GNU Affero General Public License as
|
||||||
|
* published by the Free Software Foundation, either version 3 of
|
||||||
|
* the License, or (at your option) any later version.
|
||||||
|
*
|
||||||
|
* This program is distributed in the hope that it will be useful,
|
||||||
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
* GNU Affero General Public License for more details.
|
||||||
|
* in the LICENSE file at the top-level directory of this distribution.
|
||||||
|
* You should have received a copy of the GNU Affero General Public License
|
||||||
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
*
|
||||||
|
* You can be released from the requirements of the AGPLv3 license by
|
||||||
|
* purchasing a commercial license. Please contact licensing@stalw.art
|
||||||
|
* for more details.
|
||||||
|
*/
|
||||||
|
|
||||||
use std::{
|
use std::{
|
||||||
fs,
|
fs,
|
||||||
io::Cursor,
|
io::Cursor,
|
||||||
|
@ -45,29 +68,6 @@ enum Component {
|
||||||
Smtp,
|
Smtp,
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
* Copyright (c) 2023 Stalwart Labs Ltd.
|
|
||||||
*
|
|
||||||
* This file is part of Stalwart Mail Server.
|
|
||||||
*
|
|
||||||
* This program is free software: you can redistribute it and/or modify
|
|
||||||
* it under the terms of the GNU Affero General Public License as
|
|
||||||
* published by the Free Software Foundation, either version 3 of
|
|
||||||
* the License, or (at your option) any later version.
|
|
||||||
*
|
|
||||||
* This program is distributed in the hope that it will be useful,
|
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
* GNU Affero General Public License for more details.
|
|
||||||
* in the LICENSE file at the top-level directory of this distribution.
|
|
||||||
* You should have received a copy of the GNU Affero General Public License
|
|
||||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
||||||
*
|
|
||||||
* You can be released from the requirements of the AGPLv3 license by
|
|
||||||
* purchasing a commercial license. Please contact licensing@stalw.art
|
|
||||||
* for more details.
|
|
||||||
*/
|
|
||||||
|
|
||||||
#[derive(Debug, Clone, Copy, PartialEq, Eq)]
|
#[derive(Debug, Clone, Copy, PartialEq, Eq)]
|
||||||
enum Backend {
|
enum Backend {
|
||||||
SQLite,
|
SQLite,
|
||||||
|
|
Loading…
Reference in a new issue