Fixed build on cloud

This commit is contained in:
2025-04-06 14:46:42 +00:00
parent ea93adc4c8
commit 192ade72ee
3 changed files with 61 additions and 11 deletions

View File

@@ -0,0 +1,23 @@
[package]
name = "xml_schema_validator"
version = "0.1.0"
edition = "2021"
authors = ["SIA Team"]
description = "XML Schema validation library optimized for llm token validation"
[lib]
name = "xml_schema_validator"
# Required for PyO3
crate-type = ["cdylib", "rlib"]
[dependencies]
# XML parsing utilities
quick-xml = { version = "0.28.1", features = ["serde", "serialize"] }
serde = { version = "1", features = ["derive"] }
thiserror = "1.0.38" # Better error handling
# Python bindings
pyo3 = { version = "0.18.0", features = ["extension-module"] }
[build-dependencies]
xml_schema_generator = { version = "0.6.18", features = ["env_logger"] }