Skip to content

Commit

Permalink
Move python metadata to pyproject.toml (#140)
Browse files Browse the repository at this point in the history
Otherwise maturin 1.5.0 won't let you publish.
  • Loading branch information
erikjohnston authored Apr 12, 2024
1 parent f2c6fff commit 52dbd77
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 9 deletions.
8 changes: 0 additions & 8 deletions synapse_auto_compressor/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,6 @@ edition = "2018"
name = "synapse_auto_compressor"
required-features = ["clap"]

[package.metadata.maturin]
requires-python = ">=3.7"
project-url = {Source = "https://github.com/matrix-org/rust-synapse-compress-state"}
classifier = [
"Development Status :: 4 - Beta",
"Programming Language :: Rust",
]

[dependencies]
openssl = { version = "0.10.60", features = ["vendored"] }
postgres = "0.19.7"
Expand Down
13 changes: 12 additions & 1 deletion synapse_auto_compressor/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,8 +1,19 @@
[project]
name = "synapse_auto_compressor"
requires-python = ">=3.7"
classifier = [
"Development Status :: 4 - Beta",
"Programming Language :: Rust",
]

[project.urls]
Source = "https://github.com/matrix-org/rust-synapse-compress-state"

[build-system]
requires = ["maturin>=1.0,<2.0"]
build-backend = "maturin"

[tool.maturin]
profile = "release"
features = ["pyo3"]
no-default-features = true
no-default-features = true

0 comments on commit 52dbd77

Please sign in to comment.