Skip to content

Commit a27f769

Browse files
committed
release 0.5.0
1 parent 0586f6c commit a27f769

2 files changed

Lines changed: 9 additions & 5 deletions

File tree

pyproject.toml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,30 +5,33 @@ license = "MIT"
55
name = "graia-amnesia"
66
packages = [{include = "graia", from = "src"}]
77
readme = "README.md"
8-
version = "0.4.0"
8+
version = "0.5.0"
99

1010
[tool.poetry.dependencies]
1111
loguru = "^0.6.0"
1212
python = "^3.8"
1313

14-
ujson = {version = "^5.2.0", optional = true}
15-
orjson = {version = "^3.6.7", optional = true}
1614
yarl = "^1.7.2"
1715
launart = "^0.1.0"
1816
statv = "^0.1.0"
17+
ujson = {version = "^5.2.0", optional = true}
18+
orjson = {version = "^3.6.7", optional = true}
1919

2020
[tool.poetry.dev-dependencies]
2121
aiohttp = "^3.8.1"
2222
black = {version = "^22.1.0", allow-prereleases = true}
2323
ipykernel = "^6.9.2"
2424
starlette = "^0.19.0"
2525
uvicorn = "^0.17.6"
26-
websockets = "^10.3"
2726
richuru = "^0.1.0"
2827

2928
[tool.poetry.extras]
3029
orjson = ["orjson"]
3130
ujson = ["ujson"]
31+
aiohttp = ["aiohttp"]
32+
starlette = ["starlette"]
33+
uvicorn = ["uvicorn"]
34+
3235

3336
[build-system]
3437
build-backend = "poetry.core.masonry.api"

src/graia/amnesia/builtins/memcache.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,10 @@
44
from time import time
55
from typing import Any, Dict, List, Optional, Tuple, Type
66

7-
from graia.amnesia.transport.common.storage import CacheStorage
87
from launart import Launart, Service
98

9+
from graia.amnesia.transport.common.storage import CacheStorage
10+
1011

1112
class Memcache(CacheStorage[Any]):
1213
cache: Dict[str, Tuple[Optional[float], Any]]

0 commit comments

Comments
 (0)