Skip to content

Commit

Permalink
Bump version to 2.0 due to breaking changes
Browse files Browse the repository at this point in the history
  • Loading branch information
gi0baro committed Feb 25, 2025
1 parent bdcee73 commit 2ccccc5
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "granian"
version = "1.8.0"
version = "2.0.0"
description = "A Rust HTTP server for Python applications"
authors = ["Giovanni Barillari <[email protected]>"]
license = "BSD-3-Clause"
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -332,7 +332,7 @@ Benchmarks suggests **st** mode to be more efficient with a small amount of proc

> **Warning:** free-threaded Python support is still experimental and highly discouraged in *production environments*.
Since version 1.8 Granian supports free-threaded Python. While the installation process remains the same, as wheels for the free-threaded version are published separately, here we list some key differences from the GIL version.
Since version 2.0 Granian supports free-threaded Python. While the installation process remains the same, as wheels for the free-threaded version are published separately, here we list some key differences from the GIL version.

- Workers are threads instead of separated processes, so there will always be a single Python interpreter running
- The application is thus loaded a single time and shared between workers
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ reload = [
'watchfiles~=1.0',
]
rloop = [
'rloop; sys_platform != "win32"',
'rloop~=0.1; sys_platform != "win32"',
]
uvloop = [
'uvloop>=0.18.0; sys_platform != "win32" and platform_python_implementation == "CPython"',
Expand Down

0 comments on commit 2ccccc5

Please sign in to comment.