15 lines
524 B
Rust
15 lines
524 B
Rust
// file: crates/ksp-app-wallet-desk/tests/public_api.rs
|
|
// version: 1
|
|
|
|
//! Public API checks for the KSP wallet desktop application library.
|
|
|
|
#![forbid(unsafe_code)]
|
|
#![deny(unreachable_pub)]
|
|
#![warn(missing_docs)]
|
|
|
|
#[test]
|
|
fn run_entry_point_is_available_from_crate_root() {
|
|
let run_entry_point: fn(&[std::ffi::OsString]) -> ksp_core_lib::Result<()> = ksp_app_wallet_desk_lib::run;
|
|
assert_eq!(std::mem::size_of_val(&run_entry_point), std::mem::size_of::<fn(&[std::ffi::OsString]) -> ksp_core_lib::Result<()>>());
|
|
}
|