mik-sdk 0.1.2

Ergonomic macros for WASI HTTP handlers - ok!, error!, json!
Documentation
[[bench]]
harness = false
name = "json"
path = "benches/json.rs"

[[bench]]
harness = false
name = "parsing"
path = "benches/parsing.rs"

[[bench]]
harness = false
name = "request"
path = "benches/request.rs"

[dependencies.mik-sdk-macros]
version = "0.1"

[dependencies.mik-sql]
optional = true
version = "0.1"

[dependencies.mik-sql-macros]
optional = true
version = "0.1"

[dependencies.miniserde]
version = "0.1"

[dependencies.wit-bindgen]
optional = true
version = "0.50.0"

[dependencies.wit-bindgen-rt]
optional = true
version = "0.44.0"

[dev-dependencies.criterion]
default-features = false
version = "0.8"

[dev-dependencies.getrandom]
version = "0.3"

[dev-dependencies.insta]
version = "1.41"

[dev-dependencies.proptest]
version = "1.5"

[dev-dependencies.static_assertions]
version = "1.1"

[features]
default = ["sql", "http-client"]
http-client = ["dep:wit-bindgen-rt", "dep:wit-bindgen"]
sql = ["dep:mik-sql", "dep:mik-sql-macros"]

[lib]
crate-type = ["rlib"]
name = "mik_sdk"
path = "src/lib.rs"

[lints.clippy]
exhaustive_enums = "warn"
exhaustive_structs = "warn"
expect_used = "warn"
indexing_slicing = "warn"
manual_let_else = "allow"
missing_errors_doc = "allow"
missing_panics_doc = "allow"
module_name_repetitions = "allow"
must_use_candidate = "allow"
needless_pass_by_value = "allow"
unwrap_used = "warn"

[lints.clippy.nursery]
level = "warn"
priority = -1

[lints.clippy.pedantic]
level = "warn"
priority = -1

[lints.rust]
missing_docs = "warn"
unsafe_code = "deny"

[package]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
categories = ["wasm", "web-programming"]
description = "Ergonomic macros for WASI HTTP handlers - ok!, error!, json!"
edition = "2024"
keywords = ["wasm", "wasi", "http", "json", "macros"]
license = "MIT"
name = "mik-sdk"
readme = "README.md"
repository = "https://github.com/dufeut/mik-sdk"
resolver = "2"
rust-version = "1.89"
version = "0.1.2"

[target.'cfg(target_arch = "wasm32")'.dependencies.wit-bindgen]
version = "0.50.0"

[target.'cfg(target_arch = "wasm32")'.dependencies.wit-bindgen-rt]
version = "0.44.0"

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

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