omnia 0.28.0

Ergonomic WebAssembly component runtime built on wasmtime with pluggable WASI host services
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"
rust-version = "1.93"
name = "omnia"
version = "0.28.0"
authors = ["Augentic"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Ergonomic WebAssembly component runtime built on wasmtime with pluggable WASI host services"
homepage = "https://augentic.io"
readme = "README.md"
keywords = [
    "runtime",
    "wasi",
    "wasm",
    "wasmtime",
    "component-model",
]
categories = [
    "wasm",
    "web-programming",
    "asynchronous",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/augentic/omnia"
resolver = "2"

[features]
default = ["jit"]
jit = ["wasmtime/cranelift"]

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

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.anyhow]
version = "1.0.102"

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.clap]
version = "4.5.60"
features = ["derive"]

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.futures]
version = "0.3.32"

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.omnia-otel]
version = "0.28.0"

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.omnia-runtime-macro]
version = "0.28.0"

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.serde]
version = "1.0.228"
features = ["derive"]

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.tokio]
version = "1.49.0"
features = ["macros"]
default-features = false

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.tracing]
version = "0.1.44"

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.wasmtime]
version = "42.0.0"
features = [
    "anyhow",
    "parallel-compilation",
    "runtime",
]
default-features = false

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.wasmtime-wasi]
version = "42.0.0"
features = ["p3"]

[lints.clippy]
all = "warn"
as_pointer_underscore = "warn"
assertions_on_result_states = "warn"
cargo = "warn"
clone_on_ref_ptr = "warn"
deref_by_slicing = "warn"
disallowed_script_idents = "warn"
empty_drop = "warn"
empty_enum_variants_with_brackets = "warn"
empty_structs_with_brackets = "warn"
fn_to_numeric_cast_any = "warn"
if_then_some_else_none = "warn"
map_err_ignore = "warn"
nursery = "warn"
pedantic = "warn"
redundant_type_annotations = "warn"
renamed_function_params = "warn"
semicolon_outside_block = "warn"
undocumented_unsafe_blocks = "warn"
unnecessary_safety_comment = "warn"
unnecessary_safety_doc = "warn"
unneeded_field_pattern = "warn"
unused_result_ok = "warn"

[lints.rust]
missing_docs = "deny"
trivial_numeric_casts = "warn"
unsafe_op_in_unsafe_fn = "warn"
unused_extern_crates = "warn"