I got a bit annoyed by all the "your protobuf gencode is too old" warnings in downstream packages, so I spent a bit of time updating any stale dependency and now we're back allowing packages up to the latest release. That should maximize the compatibility, and allow downstream packages to chose their own versions, as long as they are compatible (semantic versioning).
29 lines
652 B
TOML
29 lines
652 B
TOML
[project]
|
|
name = "msggen"
|
|
version = "0.1.0"
|
|
description = "A utility to transform wire messages and JSON-RPC messages to arbitrary target languages."
|
|
authors = [{ name = "Christian Decker", email = "decker@blockstream.com" }]
|
|
license = { text = "BSD-MIT" }
|
|
requires-python = ">=3.9,<4.0"
|
|
dependencies = []
|
|
|
|
[dependency-groups]
|
|
dev = ["pytest>=8.0.0"]
|
|
|
|
[project.scripts]
|
|
msggen = "msggen.__main__:main"
|
|
|
|
[tool.hatch.build.targets.wheel]
|
|
include = ["msggen/schema.json"]
|
|
|
|
|
|
[tool.poetry.dependencies]
|
|
python = "^3.9"
|
|
|
|
[tool.poetry.group.dev.dependencies]
|
|
pytest = "^6.2.5"
|
|
|
|
[build-system]
|
|
requires = ["hatchling>=1.0.0"]
|
|
build-backend = "hatchling.build"
|