[package]
name = "eidos_core"
version = "0.1.1"
authors = ["ds1sqe <ds1sqe@mensakorea.org>"]
edition = "2024"
include = ["LICENSE", "**/*.rs", "Cargo.toml"]
repository = "https://github.com/ds1sqe/eidos"
license-file = "LICENSE"
description = "Core Library for eidos"

[package.metadata.docs.rs]
all-features = true
targets = ["x86_64-unknown-linux-gnu", "wasm32-unknown-unknown"]

[dependencies]

serde = { version = "1.0.219", features = ["derive"] }
serde_json = "1.0.143"

jsonschema = "0.33.0"
schemars = { version = "1.0.4", features = ["chrono04"] }

[profile.release]
opt-level = 2 # fast and small wasm

# Optimize all dependencies even in debug builds:
[profile.dev.package."*"]
opt-level = 2

[patch.crates-io]

[lints]
workspace = true

[workspace.lints.rust]
unsafe_code = "deny"

[workspace.lints.rustdoc]
all = "warn"
missing_crate_level_docs = "warn"
