chore: added missing cargo manifest fields

This commit is contained in:
TotallyNot 2025-04-24 13:58:19 +02:00
parent 5a84558d89
commit 84d7c7586b
Signed by: pyrite
GPG key ID: 7F1BA9170CD35D15
3 changed files with 13 additions and 1 deletions

View file

@ -2,6 +2,11 @@
resolver = "2" resolver = "2"
members = ["torn-api", "torn-api-codegen"] members = ["torn-api", "torn-api-codegen"]
[workspace.package]
license-file = "./LICENSE"
repository = "https://github.com/TotallyNot/torn-api.rs.git"
homepage = "https://github.com/TotallyNot/torn-api.rs.git"
[workspace.dependencies] [workspace.dependencies]
serde = { version = "1", features = ["derive"] } serde = { version = "1", features = ["derive"] }
serde_json = { version = "1" } serde_json = { version = "1" }

View file

@ -4,6 +4,9 @@ authors = ["Pyrit [2111649]"]
version = "0.1.0" version = "0.1.0"
edition = "2024" edition = "2024"
description = "Contains the v2 torn API model descriptions and codegen for the bindings" description = "Contains the v2 torn API model descriptions and codegen for the bindings"
license-file = { workspace = true }
repository = { workspace = true }
homepage = { workspace = true }
[dependencies] [dependencies]
serde = { workspace = true } serde = { workspace = true }

View file

@ -2,6 +2,10 @@
name = "torn-api" name = "torn-api"
version = "1.0.0" version = "1.0.0"
edition = "2024" edition = "2024"
description = "Auto-generated bindings for the v2 torn api"
license-file = { workspace = true }
repository = { workspace = true }
homepage = { workspace = true }
[dependencies] [dependencies]
serde = { workspace = true, features = ["derive"] } serde = { workspace = true, features = ["derive"] }
@ -21,7 +25,7 @@ thiserror = "2"
tokio = { version = "1", features = ["full"] } tokio = { version = "1", features = ["full"] }
[build-dependencies] [build-dependencies]
torn-api-codegen = { path = "../torn-api-codegen" } torn-api-codegen = { path = "../torn-api-codegen", version = "0.1" }
syn = { workspace = true, features = ["parsing"] } syn = { workspace = true, features = ["parsing"] }
proc-macro2 = { workspace = true } proc-macro2 = { workspace = true }
prettyplease = "0.2" prettyplease = "0.2"