mirror of
https://github.com/YGGverse/btracker-gemini.git
synced 2026-03-31 17:15:30 +00:00
move some namespaces to the local scope
This commit is contained in:
parent
ea47c33e5a
commit
1786f999a8
1 changed files with 3 additions and 2 deletions
|
|
@ -4,8 +4,6 @@ mod route;
|
||||||
|
|
||||||
use anyhow::Result;
|
use anyhow::Result;
|
||||||
use btracker_fs::public::{Order, Public, Sort, Torrent};
|
use btracker_fs::public::{Order, Public, Sort, Torrent};
|
||||||
use chrono::Local;
|
|
||||||
use clap::Parser;
|
|
||||||
use config::Config;
|
use config::Config;
|
||||||
use librqbit_core::torrent_metainfo::{TorrentMetaV1Owned, torrent_from_bytes};
|
use librqbit_core::torrent_metainfo::{TorrentMetaV1Owned, torrent_from_bytes};
|
||||||
use log::*;
|
use log::*;
|
||||||
|
|
@ -20,6 +18,9 @@ use std::{
|
||||||
};
|
};
|
||||||
|
|
||||||
fn main() -> Result<()> {
|
fn main() -> Result<()> {
|
||||||
|
use chrono::Local;
|
||||||
|
use clap::Parser;
|
||||||
|
|
||||||
if std::env::var("RUST_LOG").is_ok() {
|
if std::env::var("RUST_LOG").is_ok() {
|
||||||
use tracing_subscriber::{EnvFilter, fmt::*};
|
use tracing_subscriber::{EnvFilter, fmt::*};
|
||||||
struct T;
|
struct T;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue