[package]
edition = "2024"
rust-version = "1.96.0"
name = "icydb-model"
version = "0.217.1"
authors = ["borovan <84897664+borovan@users.noreply.github.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "IcyDB application-model authoring, validation, and code generation"
readme = "README.md"
license = "Apache-2.0 OR MIT"
repository = "https://github.com/dragginzgame/icydb"
resolver = "2"
[lib]
name = "icydb_model"
path = "src/lib.rs"
[[test]]
name = "compile"
path = "tests/compile.rs"
[dependencies.candid]
version = "0.10"
[dependencies.convert_case]
version = "0.11"
[dependencies.icydb-model-macros]
version = "0.217.1"
[dependencies.icydb-schema]
version = "0.217.1"
[dependencies.remain]
version = "0.2"
[dependencies.serde]
version = "1.0"
default-features = false
[dependencies.thiserror]
version = "2.0"
[dev-dependencies.trybuild]
version = "1.0"
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.ctor]
version = "1.0.0"
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.proc-macro-crate]
version = "3.5.0"
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.proc-macro2]
version = "1.0"
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.quote]
version = "1.0"
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.serde_json]
version = "1.0"
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.sha2]
version = "0.10.9"
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.syn]
version = "3.0"
features = ["full"]
[lints.clippy]
doc_markdown = "allow"
empty_line_after_doc_comments = "allow"
missing_const_for_fn = "warn"
missing_errors_doc = "allow"
missing_panics_doc = "warn"
module_inception = "allow"
module_name_repetitions = "allow"
must_use_candidate = "warn"
needless_pass_by_value = "allow"
option_if_let_else = "allow"
redundant_clone = "warn"
redundant_pub_crate = "allow"
semicolon_if_nothing_returned = "warn"
uninlined_format_args = "warn"
unnecessary_cast = "warn"
use_self = "warn"
wildcard_imports = "allow"
[lints.clippy.all]
level = "warn"
priority = -1
[lints.clippy.nursery]
level = "warn"
priority = -1
[lints.clippy.pedantic]
level = "warn"
priority = -1
[lints.rust]
unsafe_code = "deny"