diff --git a/.python-version b/.python-version new file mode 100644 index 0000000..24ee5b1 --- /dev/null +++ b/.python-version @@ -0,0 +1 @@ +3.13 diff --git a/Cargo.lock b/Cargo.lock index b5264cf..3a5c9b1 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -84,7 +84,7 @@ dependencies = [ [[package]] name = "api" -version = "1.1.1" +version = "1.1.2" dependencies = [ "axum", "bitcode", diff --git a/Cargo.toml b/Cargo.toml index b0d6e66..0430d74 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "api" -version = "1.1.1" +version = "1.1.2" edition = "2024" [dependencies] diff --git a/main.py b/main.py new file mode 100644 index 0000000..ce7c57d --- /dev/null +++ b/main.py @@ -0,0 +1,6 @@ +def main(): + print("Hello from api!") + + +if __name__ == "__main__": + main() diff --git a/pyproject.toml b/pyproject.toml new file mode 100644 index 0000000..db5750b --- /dev/null +++ b/pyproject.toml @@ -0,0 +1,12 @@ +[project] +name = "api" +version = "0.1.0" +description = "Add your description here" +readme = "README.md" +requires-python = ">=3.13" +dependencies = [] + +[dependency-groups] +dev = [ + "toml>=0.10.2", +] diff --git a/src/handlers/v1/mod.rs b/src/handlers/v1/mod.rs index f87f77c..479262d 100644 --- a/src/handlers/v1/mod.rs +++ b/src/handlers/v1/mod.rs @@ -336,6 +336,10 @@ async fn proxy_with_cors(Query(params): Query) -> Result