rustbasic-core 0.1.25

Core framework logic for RustBasic - A modern web framework for Rust
Documentation
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2024"
name = "rustbasic-core"
version = "0.1.25"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Core framework logic for RustBasic - A modern web framework for Rust"
readme = "README.md"
keywords = ["web", "framework", "hyper",]
categories = ["web-programming::http-server"]
license = "MIT"
repository = "https://github.com/herisvan321/rustbasic-core"

[lib]
name = "rustbasic_core"
path = "src/lib.rs"

[dependencies.http]
version = "1.1"


[dependencies.hyper]
version = "1.0"
features = ["full"]

[dependencies.hyper-util]
version = "0.1"
features = ["server", "tokio"]

[dependencies.http-body-util]
version = "0.1"

[dependencies.tokio-tungstenite]
version = "0.24"
optional = true

[dependencies.hyper-tungstenite]
version = "0.15"
optional = true

[dependencies.futures-util]
version = "0.3"
optional = true



[dependencies.serde]
version = "1.0.228"
features = ["derive"]

[dependencies.serde_json]
version = "1.0.140"

[dependencies.regex]
version = "1.10"


[dependencies.tokio]
version = "1.52.1"
features = ["full"]

[dependencies.reqwest]
version = "0.12"
features = ["json", "rustls-tls"]
default-features = false
optional = true

[dependencies.lettre]
version = "0.11"
features = ["tokio1-rustls-tls", "smtp-transport", "builder"]
default-features = false
optional = true

[dependencies.rustbasic-core-macro]
path = "macro"
version = "0.1.1"

[dependencies.jsonwebtoken]
version = "9.3.0"
optional = true

[dependencies.image]
version = "0.25.5"
optional = true

[dependencies.webp]
version = "0.3.0"
optional = true

[dependencies.sha2]
version = "0.10.8"
optional = true

[dependencies.jni]
version = "0.21.1"
optional = true

[dependencies.wry]
version = "0.24.12"
optional = true

[dependencies.libc]
version = "0.2"
optional = true

[features]
default = ["sqlite"]
sqlite = []
sqlite-bundled = ["sqlite"]
mysql = []
mail = ["dep:lettre"]
http-client = ["dep:reqwest"]
jwt = ["dep:jsonwebtoken"]
image-processing = ["dep:image", "dep:webp", "dep:sha2"]
android = ["dep:jni", "dep:libc"]
websocket = ["dep:tokio-tungstenite", "dep:hyper-tungstenite", "dep:futures-util"]
desktop = ["dep:wry"]


[[test]]
name = "template_tests"
path = "tests/template_tests.rs"

[[test]]
name = "integration_test"
path = "tests/integration_test.rs"

[[test]]
name = "broadcaster_tests"
path = "tests/broadcaster_tests.rs"

[[test]]
name = "casts_test"
path = "tests/casts_test.rs"