[package]
edition = "2021"
rust-version = "1.75"
name = "angular-switcher"
version = "0.1.0"
authors = ["Daniel Jancar <dan_jan1@icloud.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Switch between Angular component files (.ts, .html, styles, .spec.ts) from the Zed editor with a customizable keybinding."
homepage = "https://github.com/danieljancar/angular-switcher"
documentation = "https://docs.rs/angular-switcher"
readme = "README.md"
keywords = [
"zed",
"angular",
"editor",
"switcher",
"cli",
]
categories = [
"command-line-utilities",
"development-tools",
]
license = "MIT"
repository = "https://github.com/danieljancar/angular-switcher"
[lib]
name = "angular_switcher"
path = "src/lib.rs"
[[bin]]
name = "angular-switcher"
path = "src/main.rs"
[[test]]
name = "cli_integration"
path = "tests/cli_integration.rs"
[dependencies.anyhow]
version = "1.0"
[dependencies.clap]
version = "4.5"
features = ["derive"]
[dependencies.directories]
version = "5.0"
[dependencies.serde]
version = "1.0"
features = ["derive"]
[dependencies.thiserror]
version = "1.0"
[dependencies.toml]
version = "0.8"
[dev-dependencies.assert_cmd]
version = "2.0"
[dev-dependencies.predicates]
version = "3.1"
[dev-dependencies.tempfile]
version = "3.10"
[lints.clippy]
missing_errors_doc = "allow"
module_name_repetitions = "allow"
must_use_candidate = "allow"
[lints.clippy.pedantic]
level = "warn"
priority = -1
[lints.rust]
unsafe_code = "forbid"
[profile.dev]
opt-level = 0
[profile.dist]
lto = "thin"
inherits = "release"
[profile.release]
opt-level = 3
lto = "thin"
codegen-units = 1
panic = "abort"
strip = "symbols"