mirror of
https://github.com/veeso/termscp.git
synced 2026-09-26 05:51:20 -07:00
Removed lib.rs
This commit is contained in:
committed by
Christian Visintin
parent
5fd53c1b2b
commit
02fdb27cc5
@@ -7,7 +7,6 @@ ignore:
|
|||||||
- "C:/*"
|
- "C:/*"
|
||||||
- "../*"
|
- "../*"
|
||||||
- src/main.rs
|
- src/main.rs
|
||||||
- src/lib.rs
|
|
||||||
- src/activity_manager.rs
|
- src/activity_manager.rs
|
||||||
- src/filetransfer/transfer/s3/mod.rs
|
- src/filetransfer/transfer/s3/mod.rs
|
||||||
- src/support.rs
|
- src/support.rs
|
||||||
|
|||||||
@@ -24,7 +24,7 @@ jobs:
|
|||||||
uses: actions-rs/cargo@v1
|
uses: actions-rs/cargo@v1
|
||||||
with:
|
with:
|
||||||
command: test
|
command: test
|
||||||
args: --lib --no-default-features --features github-actions --features with-containers --no-fail-fast
|
args: --no-default-features --features github-actions --features with-containers --no-fail-fast
|
||||||
env:
|
env:
|
||||||
CARGO_INCREMENTAL: "0"
|
CARGO_INCREMENTAL: "0"
|
||||||
RUSTFLAGS: "-Zprofile -Ccodegen-units=1 -Cinline-threshold=0 -Clink-dead-code -Coverflow-checks=off -Cpanic=abort -Zpanic_abort_tests"
|
RUSTFLAGS: "-Zprofile -Ccodegen-units=1 -Cinline-threshold=0 -Clink-dead-code -Coverflow-checks=off -Cpanic=abort -Zpanic_abort_tests"
|
||||||
|
|||||||
@@ -19,4 +19,4 @@ jobs:
|
|||||||
/tmp/rustup.sh -y
|
/tmp/rustup.sh -y
|
||||||
. $HOME/.cargo/env
|
. $HOME/.cargo/env
|
||||||
cargo build --no-default-features
|
cargo build --no-default-features
|
||||||
cargo test --no-default-features --verbose --lib --features github-actions -- --test-threads 1
|
cargo test --no-default-features --verbose --features github-actions -- --test-threads 1
|
||||||
|
|||||||
@@ -24,7 +24,7 @@ jobs:
|
|||||||
uses: actions-rs/cargo@v1
|
uses: actions-rs/cargo@v1
|
||||||
with:
|
with:
|
||||||
command: test
|
command: test
|
||||||
args: --lib --no-default-features --features github-actions --features with-containers --no-fail-fast
|
args: --no-default-features --features github-actions --features with-containers --no-fail-fast
|
||||||
- name: Format
|
- name: Format
|
||||||
run: cargo fmt --all -- --check
|
run: cargo fmt --all -- --check
|
||||||
- name: Clippy
|
- name: Clippy
|
||||||
|
|||||||
@@ -14,6 +14,6 @@ jobs:
|
|||||||
- name: Build
|
- name: Build
|
||||||
run: cargo build
|
run: cargo build
|
||||||
- name: Run tests
|
- name: Run tests
|
||||||
run: cargo test --verbose --lib --features github-actions -- --test-threads 1
|
run: cargo test --verbose --features github-actions -- --test-threads 1
|
||||||
- name: Clippy
|
- name: Clippy
|
||||||
run: cargo clippy -- -Dwarnings
|
run: cargo clippy -- -Dwarnings
|
||||||
|
|||||||
@@ -14,6 +14,6 @@ jobs:
|
|||||||
- name: Build
|
- name: Build
|
||||||
run: cargo build
|
run: cargo build
|
||||||
- name: Run tests
|
- name: Run tests
|
||||||
run: cargo test --verbose --lib --features github-actions -- --test-threads 1
|
run: cargo test --verbose --features github-actions -- --test-threads 1
|
||||||
- name: Clippy
|
- name: Clippy
|
||||||
run: cargo clippy -- -Dwarnings
|
run: cargo clippy -- -Dwarnings
|
||||||
|
|||||||
-77
@@ -1,77 +0,0 @@
|
|||||||
#![doc(html_playground_url = "https://play.rust-lang.org")]
|
|
||||||
#![doc(
|
|
||||||
html_favicon_url = "https://raw.githubusercontent.com/veeso/termscp/main/assets/images/termscp-128.png"
|
|
||||||
)]
|
|
||||||
#![doc(
|
|
||||||
html_logo_url = "https://raw.githubusercontent.com/veeso/termscp/main/assets/images/termscp-512.png"
|
|
||||||
)]
|
|
||||||
|
|
||||||
/**
|
|
||||||
* MIT License
|
|
||||||
*
|
|
||||||
* termscp - Copyright (c) 2021 Christian Visintin
|
|
||||||
*
|
|
||||||
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
||||||
* of this software and associated documentation files (the "Software"), to deal
|
|
||||||
* in the Software without restriction, including without limitation the rights
|
|
||||||
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
||||||
* copies of the Software, and to permit persons to whom the Software is
|
|
||||||
* furnished to do so, subject to the following conditions:
|
|
||||||
*
|
|
||||||
* The above copyright notice and this permission notice shall be included in all
|
|
||||||
* copies or substantial portions of the Software.
|
|
||||||
*
|
|
||||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
||||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
||||||
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
||||||
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
||||||
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
||||||
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
||||||
* SOFTWARE.
|
|
||||||
*/
|
|
||||||
|
|
||||||
#[macro_use]
|
|
||||||
extern crate bitflags;
|
|
||||||
extern crate bytesize;
|
|
||||||
extern crate chrono;
|
|
||||||
extern crate content_inspector;
|
|
||||||
extern crate crossterm;
|
|
||||||
extern crate dirs;
|
|
||||||
extern crate edit;
|
|
||||||
extern crate hostname;
|
|
||||||
#[cfg(feature = "with-keyring")]
|
|
||||||
extern crate keyring;
|
|
||||||
#[macro_use]
|
|
||||||
extern crate lazy_static;
|
|
||||||
#[macro_use]
|
|
||||||
extern crate log;
|
|
||||||
#[macro_use]
|
|
||||||
extern crate magic_crypt;
|
|
||||||
extern crate notify_rust;
|
|
||||||
extern crate open;
|
|
||||||
#[cfg(target_os = "windows")]
|
|
||||||
extern crate path_slash;
|
|
||||||
extern crate rand;
|
|
||||||
extern crate regex;
|
|
||||||
extern crate s3;
|
|
||||||
extern crate self_update;
|
|
||||||
extern crate ssh2;
|
|
||||||
extern crate suppaftp;
|
|
||||||
extern crate tempfile;
|
|
||||||
extern crate textwrap;
|
|
||||||
extern crate tui_realm_stdlib;
|
|
||||||
extern crate tuirealm;
|
|
||||||
#[cfg(target_family = "unix")]
|
|
||||||
extern crate users;
|
|
||||||
extern crate whoami;
|
|
||||||
extern crate wildmatch;
|
|
||||||
|
|
||||||
pub mod activity_manager;
|
|
||||||
pub mod config;
|
|
||||||
pub mod filetransfer;
|
|
||||||
pub mod fs;
|
|
||||||
pub mod host;
|
|
||||||
pub mod support;
|
|
||||||
pub mod system;
|
|
||||||
pub mod ui;
|
|
||||||
pub mod utils;
|
|
||||||
@@ -35,7 +35,6 @@ extern crate lazy_static;
|
|||||||
extern crate log;
|
extern crate log;
|
||||||
#[macro_use]
|
#[macro_use]
|
||||||
extern crate magic_crypt;
|
extern crate magic_crypt;
|
||||||
extern crate rpassword;
|
|
||||||
|
|
||||||
// External libs
|
// External libs
|
||||||
use argh::FromArgs;
|
use argh::FromArgs;
|
||||||
|
|||||||
Reference in New Issue
Block a user