nitro-framework 0.1.0__tar.gz → 0.3.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {nitro_framework-0.1.0 → nitro_framework-0.3.0}/Cargo.lock +44 -41
- {nitro_framework-0.1.0 → nitro_framework-0.3.0}/Cargo.toml +4 -5
- {nitro_framework-0.1.0 → nitro_framework-0.3.0}/PKG-INFO +5 -3
- {nitro_framework-0.1.0 → nitro_framework-0.3.0}/README.md +2 -0
- {nitro_framework-0.1.0 → nitro_framework-0.3.0}/crates/nitro-core/Cargo.toml +0 -1
- nitro_framework-0.3.0/crates/nitro-core/src/router/matcher.rs +694 -0
- {nitro_framework-0.1.0 → nitro_framework-0.3.0}/crates/nitro-core/src/router/route.rs +278 -102
- {nitro_framework-0.1.0 → nitro_framework-0.3.0}/crates/nitro-core/src/websocket.rs +60 -0
- {nitro_framework-0.1.0 → nitro_framework-0.3.0}/crates/nitro-py/src/dispatch.rs +66 -2
- {nitro_framework-0.1.0 → nitro_framework-0.3.0}/crates/nitro-py/src/headers.rs +15 -1
- {nitro_framework-0.1.0 → nitro_framework-0.3.0}/crates/nitro-py/src/nitro_py.rs +2 -0
- {nitro_framework-0.1.0 → nitro_framework-0.3.0}/crates/nitro-py/src/protocol.rs +13 -2
- {nitro_framework-0.1.0 → nitro_framework-0.3.0}/crates/nitro-py/src/server.rs +47 -1
- {nitro_framework-0.1.0 → nitro_framework-0.3.0}/nitro/__init__.py +1 -1
- {nitro_framework-0.1.0 → nitro_framework-0.3.0}/nitro/app.py +22 -16
- {nitro_framework-0.1.0 → nitro_framework-0.3.0}/nitro/cli/__init__.py +56 -2
- {nitro_framework-0.1.0 → nitro_framework-0.3.0}/nitro/cli/commands/check.py +15 -1
- nitro_framework-0.3.0/nitro/cli/commands/static.py +115 -0
- nitro_framework-0.3.0/nitro/log.py +139 -0
- {nitro_framework-0.1.0 → nitro_framework-0.3.0}/nitro/mail/backends/ses.py +33 -33
- {nitro_framework-0.1.0 → nitro_framework-0.3.0}/nitro/settings/defaults.py +17 -3
- {nitro_framework-0.1.0 → nitro_framework-0.3.0}/nitro/storage/backends/s3.py +23 -25
- {nitro_framework-0.1.0 → nitro_framework-0.3.0}/nitro/templates/__init__.py +2 -2
- {nitro_framework-0.1.0 → nitro_framework-0.3.0}/nitro/templates/engine.py +119 -18
- nitro_framework-0.3.0/nitro/testing.py +1165 -0
- {nitro_framework-0.1.0 → nitro_framework-0.3.0}/nitro/utils/crypto.py +15 -18
- nitro_framework-0.3.0/nitro/utils/decorators.py +129 -0
- {nitro_framework-0.1.0 → nitro_framework-0.3.0}/nitro/views/templates/error_404.html +37 -4
- {nitro_framework-0.1.0 → nitro_framework-0.3.0}/nitro/views/templates/error_500.html +33 -2
- {nitro_framework-0.1.0 → nitro_framework-0.3.0}/pyproject.toml +3 -3
- nitro_framework-0.1.0/crates/nitro-core/src/router/matcher.rs +0 -470
- nitro_framework-0.1.0/nitro/utils/decorators.py +0 -122
- {nitro_framework-0.1.0 → nitro_framework-0.3.0}/LICENSE-APACHE +0 -0
- {nitro_framework-0.1.0 → nitro_framework-0.3.0}/LICENSE-MIT +0 -0
- {nitro_framework-0.1.0 → nitro_framework-0.3.0}/crates/intercom-core/Cargo.toml +0 -0
- {nitro_framework-0.1.0 → nitro_framework-0.3.0}/crates/intercom-core/LICENSE-APACHE +0 -0
- {nitro_framework-0.1.0 → nitro_framework-0.3.0}/crates/intercom-core/LICENSE-MIT +0 -0
- {nitro_framework-0.1.0 → nitro_framework-0.3.0}/crates/intercom-core/src/channel.rs +0 -0
- {nitro_framework-0.1.0 → nitro_framework-0.3.0}/crates/intercom-core/src/codec.rs +0 -0
- {nitro_framework-0.1.0 → nitro_framework-0.3.0}/crates/intercom-core/src/intercom_core.rs +0 -0
- {nitro_framework-0.1.0 → nitro_framework-0.3.0}/crates/intercom-core/src/redis.rs +0 -0
- {nitro_framework-0.1.0 → nitro_framework-0.3.0}/crates/intercom-core/tests/redis_backend.rs +0 -0
- {nitro_framework-0.1.0 → nitro_framework-0.3.0}/crates/nitro-core/LICENSE-APACHE +0 -0
- {nitro_framework-0.1.0 → nitro_framework-0.3.0}/crates/nitro-core/LICENSE-MIT +0 -0
- {nitro_framework-0.1.0 → nitro_framework-0.3.0}/crates/nitro-core/examples/floor.rs +0 -0
- {nitro_framework-0.1.0 → nitro_framework-0.3.0}/crates/nitro-core/src/config.rs +0 -0
- {nitro_framework-0.1.0 → nitro_framework-0.3.0}/crates/nitro-core/src/disconnect.rs +0 -0
- {nitro_framework-0.1.0 → nitro_framework-0.3.0}/crates/nitro-core/src/files.rs +0 -0
- {nitro_framework-0.1.0 → nitro_framework-0.3.0}/crates/nitro-core/src/headers.rs +0 -0
- {nitro_framework-0.1.0 → nitro_framework-0.3.0}/crates/nitro-core/src/hosts.rs +0 -0
- {nitro_framework-0.1.0 → nitro_framework-0.3.0}/crates/nitro-core/src/lifecycle/drain.rs +0 -0
- {nitro_framework-0.1.0 → nitro_framework-0.3.0}/crates/nitro-core/src/lifecycle/signals.rs +0 -0
- {nitro_framework-0.1.0 → nitro_framework-0.3.0}/crates/nitro-core/src/lifecycle.rs +0 -0
- {nitro_framework-0.1.0 → nitro_framework-0.3.0}/crates/nitro-core/src/nitro_core.rs +0 -0
- {nitro_framework-0.1.0 → nitro_framework-0.3.0}/crates/nitro-core/src/router.rs +0 -0
- {nitro_framework-0.1.0 → nitro_framework-0.3.0}/crates/nitro-core/src/streaming.rs +0 -0
- {nitro_framework-0.1.0 → nitro_framework-0.3.0}/crates/nitro-core/src/transport/accept.rs +0 -0
- {nitro_framework-0.1.0 → nitro_framework-0.3.0}/crates/nitro-core/src/transport/connection.rs +0 -0
- {nitro_framework-0.1.0 → nitro_framework-0.3.0}/crates/nitro-core/src/transport/quic.rs +0 -0
- {nitro_framework-0.1.0 → nitro_framework-0.3.0}/crates/nitro-core/src/transport/tls.rs +0 -0
- {nitro_framework-0.1.0 → nitro_framework-0.3.0}/crates/nitro-core/src/transport.rs +0 -0
- {nitro_framework-0.1.0 → nitro_framework-0.3.0}/crates/nitro-core/src/webtransport.rs +0 -0
- {nitro_framework-0.1.0 → nitro_framework-0.3.0}/crates/nitro-core/tests/observability.rs +0 -0
- {nitro_framework-0.1.0 → nitro_framework-0.3.0}/crates/nitro-core/tests/serving.rs +0 -0
- {nitro_framework-0.1.0 → nitro_framework-0.3.0}/crates/nitro-core/tests/signals.rs +0 -0
- {nitro_framework-0.1.0 → nitro_framework-0.3.0}/crates/nitro-core/tests/webtransport.rs +0 -0
- {nitro_framework-0.1.0 → nitro_framework-0.3.0}/crates/nitro-observability/Cargo.toml +0 -0
- {nitro_framework-0.1.0 → nitro_framework-0.3.0}/crates/nitro-observability/LICENSE-APACHE +0 -0
- {nitro_framework-0.1.0 → nitro_framework-0.3.0}/crates/nitro-observability/LICENSE-MIT +0 -0
- {nitro_framework-0.1.0 → nitro_framework-0.3.0}/crates/nitro-observability/src/exporter.rs +0 -0
- {nitro_framework-0.1.0 → nitro_framework-0.3.0}/crates/nitro-observability/src/metrics.rs +0 -0
- {nitro_framework-0.1.0 → nitro_framework-0.3.0}/crates/nitro-observability/src/nitro_observability.rs +0 -0
- {nitro_framework-0.1.0 → nitro_framework-0.3.0}/crates/nitro-py/Cargo.toml +0 -0
- {nitro_framework-0.1.0 → nitro_framework-0.3.0}/crates/nitro-py/LICENSE-APACHE +0 -0
- {nitro_framework-0.1.0 → nitro_framework-0.3.0}/crates/nitro-py/LICENSE-MIT +0 -0
- {nitro_framework-0.1.0 → nitro_framework-0.3.0}/crates/nitro-py/src/config.rs +0 -0
- {nitro_framework-0.1.0 → nitro_framework-0.3.0}/crates/nitro-py/src/handoff.rs +0 -0
- {nitro_framework-0.1.0 → nitro_framework-0.3.0}/crates/nitro-py/src/intercom_bridge.rs +0 -0
- {nitro_framework-0.1.0 → nitro_framework-0.3.0}/crates/nitro-py/src/lifecycle.rs +0 -0
- {nitro_framework-0.1.0 → nitro_framework-0.3.0}/crates/nitro-py/src/scope.rs +0 -0
- {nitro_framework-0.1.0 → nitro_framework-0.3.0}/nitro/cache/__init__.py +0 -0
- {nitro_framework-0.1.0 → nitro_framework-0.3.0}/nitro/cache/backends/__init__.py +0 -0
- {nitro_framework-0.1.0 → nitro_framework-0.3.0}/nitro/cache/backends/memcached.py +0 -0
- {nitro_framework-0.1.0 → nitro_framework-0.3.0}/nitro/cache/backends/memory.py +0 -0
- {nitro_framework-0.1.0 → nitro_framework-0.3.0}/nitro/cache/backends/redis.py +0 -0
- {nitro_framework-0.1.0 → nitro_framework-0.3.0}/nitro/cache/base.py +0 -0
- {nitro_framework-0.1.0 → nitro_framework-0.3.0}/nitro/cache/handler.py +0 -0
- {nitro_framework-0.1.0 → nitro_framework-0.3.0}/nitro/cli/__main__.py +0 -0
- {nitro_framework-0.1.0 → nitro_framework-0.3.0}/nitro/cli/commands/__init__.py +0 -0
- {nitro_framework-0.1.0 → nitro_framework-0.3.0}/nitro/cli/commands/shell.py +0 -0
- {nitro_framework-0.1.0 → nitro_framework-0.3.0}/nitro/cli/commands/version.py +0 -0
- {nitro_framework-0.1.0 → nitro_framework-0.3.0}/nitro/cli/serve.py +0 -0
- {nitro_framework-0.1.0 → nitro_framework-0.3.0}/nitro/di/__init__.py +0 -0
- {nitro_framework-0.1.0 → nitro_framework-0.3.0}/nitro/endpoints.py +0 -0
- {nitro_framework-0.1.0 → nitro_framework-0.3.0}/nitro/intercom/__init__.py +0 -0
- {nitro_framework-0.1.0 → nitro_framework-0.3.0}/nitro/intercom/backends.py +0 -0
- {nitro_framework-0.1.0 → nitro_framework-0.3.0}/nitro/mail/__init__.py +0 -0
- {nitro_framework-0.1.0 → nitro_framework-0.3.0}/nitro/mail/backends/__init__.py +0 -0
- {nitro_framework-0.1.0 → nitro_framework-0.3.0}/nitro/mail/backends/base.py +0 -0
- {nitro_framework-0.1.0 → nitro_framework-0.3.0}/nitro/mail/backends/console.py +0 -0
- {nitro_framework-0.1.0 → nitro_framework-0.3.0}/nitro/mail/backends/oauth_smtp.py +0 -0
- {nitro_framework-0.1.0 → nitro_framework-0.3.0}/nitro/mail/backends/sendgrid.py +0 -0
- {nitro_framework-0.1.0 → nitro_framework-0.3.0}/nitro/mail/backends/smtp.py +0 -0
- {nitro_framework-0.1.0 → nitro_framework-0.3.0}/nitro/mail/message.py +0 -0
- {nitro_framework-0.1.0 → nitro_framework-0.3.0}/nitro/mail/utils.py +0 -0
- {nitro_framework-0.1.0 → nitro_framework-0.3.0}/nitro/middleware/__init__.py +0 -0
- {nitro_framework-0.1.0 → nitro_framework-0.3.0}/nitro/middleware/base.py +0 -0
- {nitro_framework-0.1.0 → nitro_framework-0.3.0}/nitro/middleware/common.py +0 -0
- {nitro_framework-0.1.0 → nitro_framework-0.3.0}/nitro/middleware/stack.py +0 -0
- {nitro_framework-0.1.0 → nitro_framework-0.3.0}/nitro/protocols/__init__.py +0 -0
- {nitro_framework-0.1.0 → nitro_framework-0.3.0}/nitro/protocols/exceptions.py +0 -0
- {nitro_framework-0.1.0 → nitro_framework-0.3.0}/nitro/protocols/http.py +0 -0
- {nitro_framework-0.1.0 → nitro_framework-0.3.0}/nitro/protocols/websocket.py +0 -0
- {nitro_framework-0.1.0 → nitro_framework-0.3.0}/nitro/protocols/webtransport.py +0 -0
- {nitro_framework-0.1.0 → nitro_framework-0.3.0}/nitro/reload.py +0 -0
- {nitro_framework-0.1.0 → nitro_framework-0.3.0}/nitro/routing/__init__.py +0 -0
- {nitro_framework-0.1.0 → nitro_framework-0.3.0}/nitro/routing/converters.py +0 -0
- {nitro_framework-0.1.0 → nitro_framework-0.3.0}/nitro/routing/mount.py +0 -0
- {nitro_framework-0.1.0 → nitro_framework-0.3.0}/nitro/routing/parameters.py +0 -0
- {nitro_framework-0.1.0 → nitro_framework-0.3.0}/nitro/routing/patterns.py +0 -0
- {nitro_framework-0.1.0 → nitro_framework-0.3.0}/nitro/routing/reverse.py +0 -0
- {nitro_framework-0.1.0 → nitro_framework-0.3.0}/nitro/routing/router.py +0 -0
- {nitro_framework-0.1.0 → nitro_framework-0.3.0}/nitro/sessions.py +0 -0
- {nitro_framework-0.1.0 → nitro_framework-0.3.0}/nitro/settings/__init__.py +0 -0
- {nitro_framework-0.1.0 → nitro_framework-0.3.0}/nitro/shortcuts.py +0 -0
- {nitro_framework-0.1.0 → nitro_framework-0.3.0}/nitro/staticfiles.py +0 -0
- {nitro_framework-0.1.0 → nitro_framework-0.3.0}/nitro/storage/__init__.py +0 -0
- {nitro_framework-0.1.0 → nitro_framework-0.3.0}/nitro/storage/backends/__init__.py +0 -0
- {nitro_framework-0.1.0 → nitro_framework-0.3.0}/nitro/storage/backends/azure.py +0 -0
- {nitro_framework-0.1.0 → nitro_framework-0.3.0}/nitro/storage/backends/filesystem.py +0 -0
- {nitro_framework-0.1.0 → nitro_framework-0.3.0}/nitro/storage/backends/memory.py +0 -0
- {nitro_framework-0.1.0 → nitro_framework-0.3.0}/nitro/storage/base.py +0 -0
- {nitro_framework-0.1.0 → nitro_framework-0.3.0}/nitro/storage/handler.py +0 -0
- {nitro_framework-0.1.0 → nitro_framework-0.3.0}/nitro/templates/exceptions.py +0 -0
- {nitro_framework-0.1.0 → nitro_framework-0.3.0}/nitro/templates/templates.py +0 -0
- {nitro_framework-0.1.0 → nitro_framework-0.3.0}/nitro/utils/__init__.py +0 -0
- {nitro_framework-0.1.0 → nitro_framework-0.3.0}/nitro/utils/archives.py +0 -0
- {nitro_framework-0.1.0 → nitro_framework-0.3.0}/nitro/utils/content.py +0 -0
- {nitro_framework-0.1.0 → nitro_framework-0.3.0}/nitro/utils/datetime.py +0 -0
- {nitro_framework-0.1.0 → nitro_framework-0.3.0}/nitro/utils/http.py +0 -0
- {nitro_framework-0.1.0 → nitro_framework-0.3.0}/nitro/utils/json.py +0 -0
- {nitro_framework-0.1.0 → nitro_framework-0.3.0}/nitro/utils/modules.py +0 -0
- {nitro_framework-0.1.0 → nitro_framework-0.3.0}/nitro/views/__init__.py +0 -0
- {nitro_framework-0.1.0 → nitro_framework-0.3.0}/nitro/views/debug.py +0 -0
|
@@ -406,9 +406,9 @@ dependencies = [
|
|
|
406
406
|
|
|
407
407
|
[[package]]
|
|
408
408
|
name = "futures-channel"
|
|
409
|
-
version = "0.3.
|
|
409
|
+
version = "0.3.34"
|
|
410
410
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
411
|
-
checksum = "
|
|
411
|
+
checksum = "b1f9e3d69d39e4862ffed03ed071a76f9a13ba1d9109d355b0f0aa6b15e393c4"
|
|
412
412
|
dependencies = [
|
|
413
413
|
"futures-core",
|
|
414
414
|
"futures-sink",
|
|
@@ -416,9 +416,9 @@ dependencies = [
|
|
|
416
416
|
|
|
417
417
|
[[package]]
|
|
418
418
|
name = "futures-core"
|
|
419
|
-
version = "0.3.
|
|
419
|
+
version = "0.3.34"
|
|
420
420
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
421
|
-
checksum = "
|
|
421
|
+
checksum = "92d699e522242e69e3003b94ecc1f960f3a5e015aa7c5d7486e65ad01dd94f5e"
|
|
422
422
|
|
|
423
423
|
[[package]]
|
|
424
424
|
name = "futures-executor"
|
|
@@ -433,38 +433,38 @@ dependencies = [
|
|
|
433
433
|
|
|
434
434
|
[[package]]
|
|
435
435
|
name = "futures-io"
|
|
436
|
-
version = "0.3.
|
|
436
|
+
version = "0.3.34"
|
|
437
437
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
438
|
-
checksum = "
|
|
438
|
+
checksum = "53c0fa8157de1303bfffdaa1cc2a673bfffb60102f76b0ef4441659124373fed"
|
|
439
439
|
|
|
440
440
|
[[package]]
|
|
441
441
|
name = "futures-macro"
|
|
442
|
-
version = "0.3.
|
|
442
|
+
version = "0.3.34"
|
|
443
443
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
444
|
-
checksum = "
|
|
444
|
+
checksum = "9fb9654ba8355388abeb8dcb4fc62f511300867002afc858860463bdd9fe0c44"
|
|
445
445
|
dependencies = [
|
|
446
446
|
"proc-macro2",
|
|
447
447
|
"quote",
|
|
448
|
-
"syn
|
|
448
|
+
"syn 3.0.3",
|
|
449
449
|
]
|
|
450
450
|
|
|
451
451
|
[[package]]
|
|
452
452
|
name = "futures-sink"
|
|
453
|
-
version = "0.3.
|
|
453
|
+
version = "0.3.34"
|
|
454
454
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
455
|
-
checksum = "
|
|
455
|
+
checksum = "1944426bf7d03f1d14f708785e4b33efd750b36d48a157b836b3efc15ede8e1d"
|
|
456
456
|
|
|
457
457
|
[[package]]
|
|
458
458
|
name = "futures-task"
|
|
459
|
-
version = "0.3.
|
|
459
|
+
version = "0.3.34"
|
|
460
460
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
461
|
-
checksum = "
|
|
461
|
+
checksum = "cd417de3d1d015fc3bfd2b1ea46dfc7bab72ef86f1cc7cc9c78e728b34a6d1fd"
|
|
462
462
|
|
|
463
463
|
[[package]]
|
|
464
464
|
name = "futures-util"
|
|
465
|
-
version = "0.3.
|
|
465
|
+
version = "0.3.34"
|
|
466
466
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
467
|
-
checksum = "
|
|
467
|
+
checksum = "0d50a92467f8ba5dd6e3ee5d4bd04d73ab2e4e1c44474a0674821dfce14b79bc"
|
|
468
468
|
dependencies = [
|
|
469
469
|
"futures-channel",
|
|
470
470
|
"futures-core",
|
|
@@ -619,9 +619,9 @@ dependencies = [
|
|
|
619
619
|
|
|
620
620
|
[[package]]
|
|
621
621
|
name = "http-body-util"
|
|
622
|
-
version = "0.1.
|
|
622
|
+
version = "0.1.5"
|
|
623
623
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
624
|
-
checksum = "
|
|
624
|
+
checksum = "23169fe34a5fbcdd3f3862e78fb9b6fccd5f02a6dc6f732547005d45631ce71c"
|
|
625
625
|
dependencies = [
|
|
626
626
|
"bytes",
|
|
627
627
|
"futures-core",
|
|
@@ -653,9 +653,9 @@ dependencies = [
|
|
|
653
653
|
|
|
654
654
|
[[package]]
|
|
655
655
|
name = "hyper"
|
|
656
|
-
version = "1.11.
|
|
656
|
+
version = "1.11.1"
|
|
657
657
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
658
|
-
checksum = "
|
|
658
|
+
checksum = "27b501faa50e7a26c3d3560ca625132f4078a17771f4810baf70475ae48cbe43"
|
|
659
659
|
dependencies = [
|
|
660
660
|
"atomic-waker",
|
|
661
661
|
"bytes",
|
|
@@ -826,7 +826,7 @@ dependencies = [
|
|
|
826
826
|
|
|
827
827
|
[[package]]
|
|
828
828
|
name = "intercom-core"
|
|
829
|
-
version = "0.
|
|
829
|
+
version = "0.3.0"
|
|
830
830
|
dependencies = [
|
|
831
831
|
"bytes",
|
|
832
832
|
"futures-util",
|
|
@@ -841,7 +841,7 @@ dependencies = [
|
|
|
841
841
|
|
|
842
842
|
[[package]]
|
|
843
843
|
name = "intercom-py"
|
|
844
|
-
version = "0.
|
|
844
|
+
version = "0.3.0"
|
|
845
845
|
dependencies = [
|
|
846
846
|
"bytes",
|
|
847
847
|
"futures-util",
|
|
@@ -988,12 +988,6 @@ dependencies = [
|
|
|
988
988
|
"regex-automata",
|
|
989
989
|
]
|
|
990
990
|
|
|
991
|
-
[[package]]
|
|
992
|
-
name = "matchit"
|
|
993
|
-
version = "0.9.2"
|
|
994
|
-
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
995
|
-
checksum = "8863b587001c1b9a8a4e36008cebc6b3612cb1226fe2de94858e06092687b608"
|
|
996
|
-
|
|
997
991
|
[[package]]
|
|
998
992
|
name = "memchr"
|
|
999
993
|
version = "2.8.3"
|
|
@@ -1035,7 +1029,7 @@ dependencies = [
|
|
|
1035
1029
|
|
|
1036
1030
|
[[package]]
|
|
1037
1031
|
name = "nitro-core"
|
|
1038
|
-
version = "0.
|
|
1032
|
+
version = "0.3.0"
|
|
1039
1033
|
dependencies = [
|
|
1040
1034
|
"base64 0.23.1",
|
|
1041
1035
|
"bytes",
|
|
@@ -1051,7 +1045,6 @@ dependencies = [
|
|
|
1051
1045
|
"hyper",
|
|
1052
1046
|
"hyper-util",
|
|
1053
1047
|
"libc",
|
|
1054
|
-
"matchit",
|
|
1055
1048
|
"mime_guess",
|
|
1056
1049
|
"nitro-observability",
|
|
1057
1050
|
"percent-encoding",
|
|
@@ -1078,7 +1071,7 @@ dependencies = [
|
|
|
1078
1071
|
|
|
1079
1072
|
[[package]]
|
|
1080
1073
|
name = "nitro-observability"
|
|
1081
|
-
version = "0.
|
|
1074
|
+
version = "0.3.0"
|
|
1082
1075
|
dependencies = [
|
|
1083
1076
|
"bytes",
|
|
1084
1077
|
"futures-util",
|
|
@@ -1096,7 +1089,7 @@ dependencies = [
|
|
|
1096
1089
|
|
|
1097
1090
|
[[package]]
|
|
1098
1091
|
name = "nitro-py"
|
|
1099
|
-
version = "0.
|
|
1092
|
+
version = "0.3.0"
|
|
1100
1093
|
dependencies = [
|
|
1101
1094
|
"bytes",
|
|
1102
1095
|
"futures-util",
|
|
@@ -1230,6 +1223,16 @@ dependencies = [
|
|
|
1230
1223
|
"serde_core",
|
|
1231
1224
|
]
|
|
1232
1225
|
|
|
1226
|
+
[[package]]
|
|
1227
|
+
name = "pem"
|
|
1228
|
+
version = "4.0.0"
|
|
1229
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1230
|
+
checksum = "d354a98a3d1251555de99e8fdd8afda05573c31b82f59063a7b0a29b5527f120"
|
|
1231
|
+
dependencies = [
|
|
1232
|
+
"base64 0.23.1",
|
|
1233
|
+
"serde_core",
|
|
1234
|
+
]
|
|
1235
|
+
|
|
1233
1236
|
[[package]]
|
|
1234
1237
|
name = "percent-encoding"
|
|
1235
1238
|
version = "2.3.2"
|
|
@@ -1463,11 +1466,11 @@ dependencies = [
|
|
|
1463
1466
|
|
|
1464
1467
|
[[package]]
|
|
1465
1468
|
name = "rcgen"
|
|
1466
|
-
version = "0.14.
|
|
1469
|
+
version = "0.14.10"
|
|
1467
1470
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1468
|
-
checksum = "
|
|
1471
|
+
checksum = "8774e05a7d0de114588e6a28fe7e71694b82614ed569d86d8b389dfbc98b8ad8"
|
|
1469
1472
|
dependencies = [
|
|
1470
|
-
"pem",
|
|
1473
|
+
"pem 4.0.0",
|
|
1471
1474
|
"ring",
|
|
1472
1475
|
"rustls-pki-types",
|
|
1473
1476
|
"time",
|
|
@@ -1477,9 +1480,9 @@ dependencies = [
|
|
|
1477
1480
|
|
|
1478
1481
|
[[package]]
|
|
1479
1482
|
name = "redis"
|
|
1480
|
-
version = "1.
|
|
1483
|
+
version = "1.6.0"
|
|
1481
1484
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1482
|
-
checksum = "
|
|
1485
|
+
checksum = "e37a4ca5c6ca42aa3e6df2fd32b987a65d32a4c2159a6f3fe0fd1df306a2658f"
|
|
1483
1486
|
dependencies = [
|
|
1484
1487
|
"arc-swap",
|
|
1485
1488
|
"arcstr",
|
|
@@ -2598,12 +2601,12 @@ checksum = "1ffae5123b2d3fc086436f8834ae3ab053a283cfac8fe0a0b8eaae044768a4c4"
|
|
|
2598
2601
|
|
|
2599
2602
|
[[package]]
|
|
2600
2603
|
name = "wtransport"
|
|
2601
|
-
version = "0.7.
|
|
2604
|
+
version = "0.7.2"
|
|
2602
2605
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
2603
|
-
checksum = "
|
|
2606
|
+
checksum = "b4273ce3157a3262a68665f8d3f20a0ac0c5b8a69ffd67f05ae986832ebec036"
|
|
2604
2607
|
dependencies = [
|
|
2605
2608
|
"bytes",
|
|
2606
|
-
"pem",
|
|
2609
|
+
"pem 3.0.6",
|
|
2607
2610
|
"quinn",
|
|
2608
2611
|
"rustls",
|
|
2609
2612
|
"rustls-native-certs",
|
|
@@ -2621,9 +2624,9 @@ dependencies = [
|
|
|
2621
2624
|
|
|
2622
2625
|
[[package]]
|
|
2623
2626
|
name = "wtransport-proto"
|
|
2624
|
-
version = "0.7.
|
|
2627
|
+
version = "0.7.2"
|
|
2625
2628
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
2626
|
-
checksum = "
|
|
2629
|
+
checksum = "aad9059572c7dbd6901ccef37f3b7321678cd708dcf58a64b1921dbeab7bfede"
|
|
2627
2630
|
dependencies = [
|
|
2628
2631
|
"httlib-huffman",
|
|
2629
2632
|
"octets",
|
|
@@ -5,14 +5,14 @@ members = ["crates/nitro-core", "crates/nitro-observability", "crates/nitro-py",
|
|
|
5
5
|
[workspace.package]
|
|
6
6
|
edition = "2024"
|
|
7
7
|
license = "MIT OR Apache-2.0"
|
|
8
|
-
version = "0.
|
|
8
|
+
version = "0.3.0"
|
|
9
9
|
authors = ["Mario Ritzerfeld <oss@jaldis.com>"]
|
|
10
10
|
repository = "https://github.com/jaldisdev/nitro"
|
|
11
11
|
|
|
12
12
|
[workspace.dependencies]
|
|
13
|
-
nitro-core = { path = "crates/nitro-core", version = "0.
|
|
14
|
-
nitro-observability = { path = "crates/nitro-observability", version = "0.
|
|
15
|
-
intercom-core = { path = "crates/intercom-core", version = "0.
|
|
13
|
+
nitro-core = { path = "crates/nitro-core", version = "0.3.0" }
|
|
14
|
+
nitro-observability = { path = "crates/nitro-observability", version = "0.3.0" }
|
|
15
|
+
intercom-core = { path = "crates/intercom-core", version = "0.3.0" }
|
|
16
16
|
|
|
17
17
|
# Async runtime
|
|
18
18
|
tokio = { version = "1.53.1", features = ["full"] }
|
|
@@ -49,7 +49,6 @@ base64 = "0.23.1"
|
|
|
49
49
|
prometheus = { version = "0.14.0", default-features = false }
|
|
50
50
|
|
|
51
51
|
# Routing
|
|
52
|
-
matchit = "0.9.2"
|
|
53
52
|
regex = "1.12.3"
|
|
54
53
|
|
|
55
54
|
# Python bindings (binding crates only)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: nitro-framework
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.3.0
|
|
4
4
|
Classifier: Development Status :: 3 - Alpha
|
|
5
5
|
Classifier: Framework :: AsyncIO
|
|
6
6
|
Classifier: Intended Audience :: Developers
|
|
@@ -17,14 +17,14 @@ Requires-Dist: click>=8.4
|
|
|
17
17
|
Requires-Dist: orjson>=3.11
|
|
18
18
|
Requires-Dist: python-multipart>=0.0.32
|
|
19
19
|
Requires-Dist: regex>=2026.7.19
|
|
20
|
-
Requires-Dist:
|
|
20
|
+
Requires-Dist: aiobotocore>=2.25.1 ; extra == 'all'
|
|
21
21
|
Requires-Dist: authlib>=1.7.2 ; extra == 'all'
|
|
22
22
|
Requires-Dist: azure-storage-blob>=12.30.0 ; extra == 'all'
|
|
23
23
|
Requires-Dist: emcache>=1.3.3 ; python_full_version < '3.14' and extra == 'all'
|
|
24
24
|
Requires-Dist: httpx>=0.28.1 ; extra == 'all'
|
|
25
25
|
Requires-Dist: redis[hiredis]>=8.0.0 ; extra == 'all'
|
|
26
26
|
Requires-Dist: sendgrid>=6.12.5 ; extra == 'all'
|
|
27
|
-
Requires-Dist:
|
|
27
|
+
Requires-Dist: aiobotocore>=2.25.1 ; extra == 'aws'
|
|
28
28
|
Requires-Dist: azure-storage-blob>=12.30.0 ; extra == 'azure'
|
|
29
29
|
Requires-Dist: uvloop>=0.21 ; extra == 'benchmark'
|
|
30
30
|
Requires-Dist: httpx>=0.28.1 ; extra == 'benchmark'
|
|
@@ -151,9 +151,11 @@ Start with [the overview](docs/overview.md).
|
|
|
151
151
|
| [Middleware](docs/middleware.md) | Wrapping handlers |
|
|
152
152
|
| [Sessions](docs/sessions.md) | Server-side state, and the origin check that guards it |
|
|
153
153
|
| [Caching](docs/cache.md) · [Storage](docs/storage.md) · [Templates](docs/templates.md) · [Mail](docs/mail.md) | Batteries |
|
|
154
|
+
| [Logging](docs/logging.md) | The `LOGGING` setting, and how it differs from the server's log |
|
|
154
155
|
| [Observability](docs/observability.md) | Prometheus metrics |
|
|
155
156
|
| [Command line](docs/cli.md) | Serving, `check`, `shell` |
|
|
156
157
|
| [Deployment](docs/deployment.md) | Workers, TLS, HTTP/3, draining |
|
|
158
|
+
| [Testing](docs/testing.md) | Driving an application in-process |
|
|
157
159
|
|
|
158
160
|
## Layout
|
|
159
161
|
|
|
@@ -86,9 +86,11 @@ Start with [the overview](docs/overview.md).
|
|
|
86
86
|
| [Middleware](docs/middleware.md) | Wrapping handlers |
|
|
87
87
|
| [Sessions](docs/sessions.md) | Server-side state, and the origin check that guards it |
|
|
88
88
|
| [Caching](docs/cache.md) · [Storage](docs/storage.md) · [Templates](docs/templates.md) · [Mail](docs/mail.md) | Batteries |
|
|
89
|
+
| [Logging](docs/logging.md) | The `LOGGING` setting, and how it differs from the server's log |
|
|
89
90
|
| [Observability](docs/observability.md) | Prometheus metrics |
|
|
90
91
|
| [Command line](docs/cli.md) | Serving, `check`, `shell` |
|
|
91
92
|
| [Deployment](docs/deployment.md) | Workers, TLS, HTTP/3, draining |
|
|
93
|
+
| [Testing](docs/testing.md) | Driving an application in-process |
|
|
92
94
|
|
|
93
95
|
## Layout
|
|
94
96
|
|