Update botdevice
This commit is contained in:
parent
497e489af7
commit
6d75421bc0
2 changed files with 21 additions and 1 deletions
20
Cargo.toml
20
Cargo.toml
|
|
@ -4,6 +4,9 @@ version = "1.0.0"
|
|||
edition = "2021"
|
||||
description = "BotDevice - Android, HarmonyOS & IoT powered by General Bots"
|
||||
license = "AGPL-3.0"
|
||||
repository = "https://github.com/GeneralBots/BotServer"
|
||||
keywords = ["bot", "mobile", "android", "iot", "tauri"]
|
||||
categories = ["gui", "embedded"]
|
||||
|
||||
[lib]
|
||||
name = "botdevice_lib"
|
||||
|
|
@ -37,3 +40,20 @@ tauri-build = { version = "2", features = ["codegen"] }
|
|||
[features]
|
||||
default = ["custom-protocol"]
|
||||
custom-protocol = ["tauri/custom-protocol"]
|
||||
|
||||
[lints.rust]
|
||||
unused_imports = "warn"
|
||||
unused_variables = "warn"
|
||||
unused_mut = "warn"
|
||||
unsafe_code = "deny"
|
||||
missing_debug_implementations = "warn"
|
||||
|
||||
[lints.clippy]
|
||||
all = "warn"
|
||||
pedantic = "warn"
|
||||
nursery = "warn"
|
||||
cargo = "warn"
|
||||
unwrap_used = "warn"
|
||||
expect_used = "warn"
|
||||
panic = "warn"
|
||||
todo = "warn"
|
||||
|
|
|
|||
2
build.rs
2
build.rs
|
|
@ -1,3 +1,3 @@
|
|||
fn main() {
|
||||
tauri_build::build()
|
||||
tauri_build::build();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue