2024-04-20 03:37:05 +02:00
|
|
|
[package]
|
|
|
|
name = "mysqladm-rs"
|
|
|
|
version = "0.1.0"
|
|
|
|
edition = "2021"
|
2024-04-26 00:31:23 +02:00
|
|
|
# TODO: change licensing?
|
|
|
|
license = "GPL-2.0-only"
|
|
|
|
authors = ["oysteikt@pvv.ntnu.no"]
|
|
|
|
repository = "https://git.pvv.ntnu.no/Projects/mysqladm-rs"
|
|
|
|
# TODO: write a proper description
|
|
|
|
description = """\
|
|
|
|
asdf
|
|
|
|
"""
|
|
|
|
categories = ["command-line-interface", "command-line-utilities"]
|
|
|
|
keywords = ["mysql", "cli", "administration"]
|
|
|
|
readme = "README.md"
|
2024-04-20 03:37:05 +02:00
|
|
|
|
|
|
|
[dependencies]
|
2024-04-20 04:17:16 +02:00
|
|
|
anyhow = "1.0.82"
|
|
|
|
clap = { version = "4.5.4", features = ["derive"] }
|
2024-04-21 06:03:25 +02:00
|
|
|
edit = "0.1.5"
|
|
|
|
env_logger = "0.11.3"
|
|
|
|
indoc = "2.0.5"
|
|
|
|
itertools = "0.12.1"
|
|
|
|
log = "0.4.21"
|
|
|
|
nix = { version = "0.28.0", features = ["user"] }
|
|
|
|
prettytable = "0.10.0"
|
2024-04-23 00:36:06 +02:00
|
|
|
ratatui = { version = "0.26.2", optional = true }
|
2024-04-21 06:03:25 +02:00
|
|
|
rpassword = "7.3.1"
|
2024-04-20 04:17:16 +02:00
|
|
|
serde = "1.0.198"
|
2024-04-21 06:03:25 +02:00
|
|
|
serde_json = "1.0.116"
|
2024-04-26 00:31:23 +02:00
|
|
|
sqlx = { version = "0.7.4", features = [
|
|
|
|
"runtime-tokio",
|
|
|
|
"mysql",
|
|
|
|
"tls-rustls",
|
|
|
|
] }
|
2024-04-21 06:03:25 +02:00
|
|
|
tokio = { version = "1.37.0", features = ["rt-multi-thread", "macros"] }
|
2024-04-20 04:17:16 +02:00
|
|
|
toml = "0.8.12"
|
|
|
|
|
2024-04-23 00:36:06 +02:00
|
|
|
[features]
|
|
|
|
tui = ["dep:ratatui"]
|
|
|
|
|
2024-04-20 04:17:16 +02:00
|
|
|
[[bin]]
|
|
|
|
name = "mysqladm"
|
|
|
|
bench = false
|
|
|
|
path = "src/main.rs"
|
2024-04-21 06:03:25 +02:00
|
|
|
|
|
|
|
[profile.release]
|
|
|
|
strip = true
|
|
|
|
lto = true
|
|
|
|
codegen-units = 1
|
2024-04-26 00:31:23 +02:00
|
|
|
|
|
|
|
# TODO: package shell completions
|
|
|
|
[package.metadata.deb]
|
|
|
|
maintainer = "Programvareverkstedet <projects@pvv.ntnu.no>"
|
|
|
|
section = "admin"
|
|
|
|
assets = [
|
|
|
|
[
|
|
|
|
"target/release/mysqladm",
|
|
|
|
"usr/bin/",
|
|
|
|
"4755",
|
|
|
|
],
|
|
|
|
[
|
|
|
|
"example-config.toml",
|
|
|
|
"etc/mysqladm/config.toml",
|
|
|
|
"644",
|
|
|
|
],
|
|
|
|
]
|
|
|
|
conf-files = ["etc/mysqladm/config.toml"]
|