ixa 1.0.0

A framework for building agent-based models
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 = "2021"
name = "ixa"
version = "1.0.0"
authors = ["The Ixa Developers <cfa@cdc.gov>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A framework for building agent-based models"
homepage = "https://github.com/CDCgov/ixa"
readme = "README.md"
license = "Apache-2.0"
repository = "https://github.com/CDCgov/ixa"

[features]
debugger = [
    "shlex",
    "rustyline",
]
default = [
    "logging",
    "debugger",
    "progress_bar",
    "profiling",
]
logging = [
    "log4rs",
    "fern",
    "wasm-bindgen",
    "web-sys",
]
profiling = []
progress_bar = [
    "dep:progress_bar",
    "anyhow",
]
web_api = [
    "debugger",
    "mime",
    "tower-http",
    "axum",
    "tokio",
    "uuid",
]
write_cli_usage = ["clap-markdown"]

[lib]
name = "ixa"
path = "src/lib.rs"
bench = false

[[example]]
name = "basic"
path = "examples/basic/main.rs"

[[example]]
name = "load-people"
path = "examples/load-people/main.rs"

[[example]]
name = "network-hhmodel"
path = "examples/network-hhmodel/main.rs"

[[example]]
name = "parameter-loading"
path = "examples/parameter-loading/main.rs"

[[example]]
name = "random"
path = "examples/random/main.rs"

[[example]]
name = "reports"
path = "examples/reports/main.rs"

[[example]]
name = "reports-multi-threaded"
path = "examples/reports-multi-threaded/main.rs"

[[example]]
name = "runner"
path = "examples/runner/main.rs"

[[example]]
name = "time-varying-infection"
path = "examples/time-varying-infection/main.rs"

[dependencies.approx]
version = "^0.5.1"

[dependencies.bincode]
version = "^2.0.1"
features = [
    "std",
    "serde",
]
default-features = false

[dependencies.bytesize]
version = "^2.0.1"

[dependencies.clap]
version = "^4.5.26"
features = ["derive"]

[dependencies.clap-markdown]
version = "0.1.5"
optional = true

[dependencies.csv]
version = "^1.3.1"

[dependencies.ctor]
version = "^0.5.0"

[dependencies.delegate]
version = "^0.13.3"

[dependencies.hashbrown]
version = "^0.16.0"

[dependencies.humantime]
version = "^2.2.0"

[dependencies.ixa-derive]
version = "1.0.0"

[dependencies.log]
version = "^0.4.22"

[dependencies.paste]
version = "^1.0.15"

[dependencies.rand]
version = "^0.9.2"
features = [
    "std",
    "small_rng",
]

[dependencies.rustc-hash]
version = "^2.1.1"

[dependencies.seq-macro]
version = "^0.3.5"

[dependencies.serde]
version = "^1.0.217"
features = ["derive"]

[dependencies.serde_derive]
version = "^1.0.217"

[dependencies.serde_json]
version = "^1.0.135"

[dependencies.sysinfo]
version = "^0.37.0"

[dependencies.xxhash-rust]
version = "^0.8.15"
features = [
    "const_xxh3",
    "xxh3",
]

[dev-dependencies.assert_approx_eq]
version = "^1.1.0"

[dev-dependencies.assert_cmd]
version = "^2.0.16"

[dev-dependencies.criterion]
version = "^0.7.0"

[dev-dependencies.rand_distr]
version = "^0.5.1"

[dev-dependencies.reikna]
version = "^0.12.3"

[dev-dependencies.reqwest]
version = "^0.12.12"
features = [
    "blocking",
    "json",
]

[dev-dependencies.roots]
version = "0.0.8"

[dev-dependencies.tempfile]
version = "^3.15.0"

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.anyhow]
version = "^1.0.28"
optional = true

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.axum]
version = "^0.8.1"
optional = true

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.log4rs]
version = "^1.3.0"
features = ["console_appender"]
optional = true
default-features = false

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.mime]
version = "^0.3.17"
optional = true

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.progress_bar]
version = "^1.2.1"
features = ["logger"]
optional = true

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.rustyline]
version = "^17.0.1"
optional = true

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.shlex]
version = "^1.3.0"
optional = true

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.tokio]
version = "^1.45.1"
features = ["full"]
optional = true

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.tower-http]
version = "^0.6.2"
features = ["full"]
optional = true

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.uuid]
version = "^1.12.1"
optional = true

[target.'cfg(target_arch = "wasm32")'.dependencies.fern]
version = "^0.7.1"
optional = true

[target.'cfg(target_arch = "wasm32")'.dependencies.getrandom]
version = "0.3.4"
features = ["wasm_js"]

[target.'cfg(target_arch = "wasm32")'.dependencies.wasm-bindgen]
version = "^0.2.100"
optional = true

[target.'cfg(target_arch = "wasm32")'.dependencies.web-sys]
version = "^0.3.77"
features = [
    "console",
    "Performance",
    "Window",
]
optional = true

[lints.clippy]
module-name-repetitions = "allow"
result_unit_err = "allow"
uninlined_format_args = "allow"
upper-case-acronyms = "allow"

[lints.rust]
mismatched_lifetime_syntaxes = "allow"