Add more Cargo package fields

Explicitly disable publishing the FFI wrappers, since there's no point them being on crates.io.
This commit is contained in:
Oliver Hamlet
2025-08-02 11:16:25 +01:00
parent 903bdf6ef7
commit 8cf7a0adf1
6 changed files with 20 additions and 0 deletions
+5
View File
@@ -1,6 +1,9 @@
[package]
name = "libloot"
description = "A library for accessing LOOT's metadata and sorting functionality."
categories = ["games"]
version.workspace = true
repository.workspace = true
edition.workspace = true
license.workspace = true
@@ -36,8 +39,10 @@ members = ["cpp", "ffi-errors", "nodejs", "parameterized-test", "python"]
[workspace.package]
version = "0.27.0"
repository = "https://github.com/loot/libloot.git"
edition = "2024"
license = "GPL-3.0-or-later"
categories = ["games"]
# Deny some rustc lints that are allow-by-default.
[workspace.lints.rust]
+3
View File
@@ -1,6 +1,9 @@
[package]
name = "libloot-cpp"
description = "A C++ wrapper around libloot."
publish = false
version.workspace = true
repository.workspace = true
edition.workspace = true
license.workspace = true
+3
View File
@@ -1,6 +1,9 @@
[package]
name = "libloot-ffi-errors"
description = "Error handling functionality that is shared between libloot's FFI wrappers."
publish = false
version.workspace = true
repository.workspace = true
edition.workspace = true
license.workspace = true
+3
View File
@@ -1,6 +1,9 @@
[package]
name = "libloot-nodejs"
description = "An experimental Node.js wrapper around libloot."
publish = false
version.workspace = true
repository.workspace = true
edition.workspace = true
license.workspace = true
+3
View File
@@ -1,6 +1,9 @@
[package]
name = "parameterized-test"
description = "Procedural macros to support parameterized testing in libloot."
categories = ["development-tools::testing"]
version.workspace = true
repository.workspace = true
edition.workspace = true
license = "MIT"
+3
View File
@@ -1,6 +1,9 @@
[package]
name = "libloot-python"
description = "An experimental Python wrapper around libloot."
publish = false
version.workspace = true
repository.workspace = true
edition.workspace = true
license.workspace = true