Compare commits
1 Commits
4bccbdbb2d
...
711be6517a
Author | SHA1 | Date |
---|---|---|
Oystein Kristoffer Tveit | 711be6517a |
29
Cargo.toml
29
Cargo.toml
|
@ -2,6 +2,17 @@
|
||||||
name = "mysqladm-rs"
|
name = "mysqladm-rs"
|
||||||
version = "0.1.0"
|
version = "0.1.0"
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
|
# 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"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
anyhow = "1.0.82"
|
anyhow = "1.0.82"
|
||||||
|
@ -37,3 +48,21 @@ codegen-units = 1
|
||||||
|
|
||||||
[build-dependencies]
|
[build-dependencies]
|
||||||
anyhow = "1.0.82"
|
anyhow = "1.0.82"
|
||||||
|
|
||||||
|
# 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"]
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
# This should go to `/etc/mysqladm/config.toml`
|
|
||||||
|
|
||||||
[mysql]
|
[mysql]
|
||||||
host = "localhost"
|
host = "localhost"
|
||||||
port = 3306
|
port = 3306
|
||||||
|
|
Loading…
Reference in New Issue