[project]
name = "rsoup"
version = "3.1.6"
authors = [{ name = "Binh Vu", email = "binh@toan2.com" }]
description = "A library for web scraper that handles text correctly and is very fast (Rust backend)"
readme = "README.md"
license = { file = "LICENSE" }

requires-python = ">=3.8"

classifiers = [
    "Programming Language :: Rust",
    "Programming Language :: Python :: Implementation :: CPython",
]

dependencies = [
    'beautifulsoup4 >= 4.9.3, < 5.0.0',
    'html5lib >= 1.1.0, < 2.0.0',
    'requests >= 2.28.0, < 3.0.0',
    'tabulate >= 0.8.10',
]

[project.optional-dependencies]
dev = [
    'pytest >= 7.1.3, < 8.0.0',
    'pytest-cov >= 4.0.0, < 5.0.0',
    'black >= 22.10.0, < 23.0.0',
]

[tool.maturin]
module-name = "rsoup.core"
features = ["extension-module"]

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