chore: apply lints
This commit is contained in:
parent
96cd918dfe
commit
45a5d5ce9f
3 changed files with 3 additions and 7 deletions
2
build.rs
2
build.rs
|
@ -21,7 +21,7 @@ use sqlx::types::time::OffsetDateTime;
|
|||
fn main() {
|
||||
// note: add error checking yourself.
|
||||
let output = Command::new("git")
|
||||
.args(&["rev-parse", "HEAD"])
|
||||
.args(["rev-parse", "HEAD"])
|
||||
.output()
|
||||
.unwrap();
|
||||
let git_hash = String::from_utf8(output.stdout).unwrap();
|
||||
|
|
|
@ -18,8 +18,6 @@ use actix_web::{web, HttpResponse, Responder};
|
|||
use derive_builder::Builder;
|
||||
use serde::{Deserialize, Serialize};
|
||||
|
||||
use libconductor::Conductor;
|
||||
|
||||
use crate::AppCtx;
|
||||
use crate::{GIT_COMMIT_HASH, VERSION};
|
||||
|
||||
|
|
|
@ -14,12 +14,10 @@
|
|||
* You should have received a copy of the GNU Affero General Public License
|
||||
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
use std::collections::HashMap;
|
||||
|
||||
use actix_web::{web, HttpRequest, HttpResponse, Responder};
|
||||
use actix_web::{web, HttpResponse, Responder};
|
||||
use serde::{Deserialize, Serialize};
|
||||
|
||||
use libconductor::{Conductor, EventType};
|
||||
use libconductor::EventType;
|
||||
|
||||
use crate::errors::*;
|
||||
use crate::AppCtx;
|
||||
|
|
Loading…
Reference in a new issue