generated from phundrak/rust-poem-openapi-template
chore: update project metadata
This commit is contained in:
parent
e18533fecc
commit
6455ca0edd
10
flake.nix
10
flake.nix
@ -18,12 +18,13 @@
|
|||||||
rustc = rustVersion;
|
rustc = rustVersion;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
backendVersion = "0.1.0";
|
||||||
appNameBackend = "gejdr-backend";
|
appNameBackend = "gejdr-backend";
|
||||||
appNameBot = "gejdr-bot";
|
appNameBot = "gejdr-bot";
|
||||||
|
|
||||||
appRustBuildBackend = rustPlatform.buildRustPackage {
|
appRustBuildBackend = rustPlatform.buildRustPackage {
|
||||||
pname = appNameBackend;
|
pname = appNameBackend;
|
||||||
version = "0.1.0";
|
version = backendVersion;
|
||||||
src = ./.;
|
src = ./.;
|
||||||
cargoLock.lockFile = ./Cargo.lock;
|
cargoLock.lockFile = ./Cargo.lock;
|
||||||
buildPhase = ''
|
buildPhase = ''
|
||||||
@ -62,6 +63,13 @@ SQLX_OFFLINE="1" cargo build --release --bin gejdr-bot
|
|||||||
Entrypoint = [ "${appRustBuildBot}/bin/${appNameBot}" ];
|
Entrypoint = [ "${appRustBuildBot}/bin/${appNameBot}" ];
|
||||||
Env = [ "SSL_CERT_FILE=${pkgs.cacert}/etc/ssl/certs/ca-bundle.crt" ];
|
Env = [ "SSL_CERT_FILE=${pkgs.cacert}/etc/ssl/certs/ca-bundle.crt" ];
|
||||||
Tag = "latest";
|
Tag = "latest";
|
||||||
|
Label = {
|
||||||
|
"maintainer" = "Lucien Cartier-Tilet <lucien@phundrak.com>";
|
||||||
|
"version" = backendVersion;
|
||||||
|
"description" = "Backend for GéJDR, a Discord helper tool for the TTRPG L'Anneau Unique";
|
||||||
|
"source" = "https://labs.phundrak.com/phundrak/gejdr-rs";
|
||||||
|
"licenses" = "AGPL-3.0-or-later";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
contents = [ appRustBuildBot pkgs.cacert ];
|
contents = [ appRustBuildBot pkgs.cacert ];
|
||||||
};
|
};
|
||||||
|
@ -4,6 +4,8 @@ version = "0.1.0"
|
|||||||
edition = "2021"
|
edition = "2021"
|
||||||
publish = false
|
publish = false
|
||||||
authors = ["Lucien Cartier-Tilet <lucien@phundrak.com>"]
|
authors = ["Lucien Cartier-Tilet <lucien@phundrak.com>"]
|
||||||
|
license = "AGPL-3.0-or-later"
|
||||||
|
repository = "https://labs.phundrak.com/phundrak/gejdr-rs"
|
||||||
|
|
||||||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
||||||
|
|
||||||
|
@ -2,5 +2,9 @@
|
|||||||
name = "gejdr-bot"
|
name = "gejdr-bot"
|
||||||
version = "0.1.0"
|
version = "0.1.0"
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
|
publish = false
|
||||||
|
authors = ["Lucien Cartier-Tilet <lucien@phundrak.com>"]
|
||||||
|
license = "AGPL-3.0-or-later"
|
||||||
|
repository = "https://labs.phundrak.com/phundrak/gejdr-rs"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
|
@ -2,6 +2,10 @@
|
|||||||
name = "gejdr-core"
|
name = "gejdr-core"
|
||||||
version = "0.1.0"
|
version = "0.1.0"
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
|
publish = false
|
||||||
|
authors = ["Lucien Cartier-Tilet <lucien@phundrak.com>"]
|
||||||
|
license = "AGPL-3.0-or-later"
|
||||||
|
repository = "https://labs.phundrak.com/phundrak/gejdr-rs"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
chrono = { version = "0.4.38", features = ["serde"] }
|
chrono = { version = "0.4.38", features = ["serde"] }
|
||||||
|
@ -2,6 +2,10 @@
|
|||||||
name = "gejdr-macros"
|
name = "gejdr-macros"
|
||||||
version = "0.1.0"
|
version = "0.1.0"
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
|
publish = false
|
||||||
|
authors = ["Lucien Cartier-Tilet <lucien@phundrak.com>"]
|
||||||
|
license = "AGPL-3.0-or-later"
|
||||||
|
repository = "https://labs.phundrak.com/phundrak/gejdr-rs"
|
||||||
|
|
||||||
[lib]
|
[lib]
|
||||||
proc-macro = true
|
proc-macro = true
|
||||||
|
Loading…
Reference in New Issue
Block a user