[package]
edition = "2024"
rust-version = "1.100.0"
name = "ic-db"
version = "0.23.8"
build = false
publish = ["crates-io"]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Experimental embedded Internet Computer database"
readme = false
license-file = "LICENSE.md"
repository = "https://github.com/dragginzgame/ic-db"
[package.metadata.cargo-machete]
ignored = ["toko-tooling"]
[features]
build = ["dep:ctor"]
test-support = []
[lib]
name = "ic_db"
path = "src/lib.rs"
[[test]]
name = "accounts"
path = "tests/accounts.rs"
[[test]]
name = "cardinality"
path = "tests/cardinality.rs"
[[test]]
name = "dates"
path = "tests/dates.rs"
[[test]]
name = "decimals"
path = "tests/decimals.rs"
[[test]]
name = "defaults"
path = "tests/defaults.rs"
[[test]]
name = "enum_collections"
path = "tests/enum_collections.rs"
[[test]]
name = "enum_indexes"
path = "tests/enum_indexes.rs"
[[test]]
name = "floats"
path = "tests/floats.rs"
[[test]]
name = "jobs"
path = "tests/jobs.rs"
[[test]]
name = "key_bounds"
path = "tests/key_bounds.rs"
[[test]]
name = "lists"
path = "tests/lists.rs"
[[test]]
name = "maintenance"
path = "tests/maintenance.rs"
[[test]]
name = "managed"
path = "tests/managed.rs"
[[test]]
name = "maps"
path = "tests/maps.rs"
[[test]]
name = "nested"
path = "tests/nested.rs"
[[test]]
name = "primary_keys"
path = "tests/primary_keys.rs"
[[test]]
name = "queries"
path = "tests/queries/main.rs"
[[test]]
name = "records"
path = "tests/records.rs"
[[test]]
name = "scalar_keys"
path = "tests/scalar_keys.rs"
[[test]]
name = "schema_build"
path = "tests/schema_build/main.rs"
[[test]]
name = "schema_copy"
path = "tests/schema_copy.rs"
[[test]]
name = "schema_reuse"
path = "tests/schema_reuse.rs"
[[test]]
name = "sets"
path = "tests/sets.rs"
[[test]]
name = "time_values"
path = "tests/time_values.rs"
[[test]]
name = "times"
path = "tests/times.rs"
[[test]]
name = "u256"
path = "tests/u256.rs"
[[test]]
name = "ulid_generation"
path = "tests/ulid_generation.rs"
[[test]]
name = "ulids"
path = "tests/ulids.rs"
[dependencies.ethnum]
version = "1.5.3"
default-features = false
[dependencies.ic-db-macros]
version = "=0.23.8"
[dependencies.ic-platform-types]
version = "0.21.2"
default-features = false
[dependencies.ic-storage]
version = "0.78.0"
[dependencies.memchr]
version = "2.8.3"
default-features = false
[dependencies.sha2]
version = "0.11.1"
default-features = false
[dependencies.ulid]
version = "3.0.0"
default-features = false
[target."cfg(any())".dev-dependencies.toko-tooling]
version = "=0.45.7"
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.ctor]
version = "1.0.14"
features = [
"proc_macro",
"std",
]
optional = true
default-features = false
[lints.cargo]
missing_lints_inheritance = "deny"
unknown_lints = "deny"
unused_dependencies = "deny"
unused_workspace_dependencies = "deny"
unused_workspace_package_fields = "deny"
[lints.clippy]
missing_panics_doc = "warn"
must_use_candidate = "warn"
needless_pass_by_value = "warn"
redundant_clone = "warn"
too_many_lines = "allow"
wildcard_imports = "warn"
[lints.clippy.all]
level = "warn"
priority = -2
[lints.clippy.correctness]
level = "deny"
priority = -1
[lints.rust]
dead_code = "deny"
missing_docs = "warn"
unfulfilled_lint_expectations = "deny"
unsafe_code = "deny"
unsafe_op_in_unsafe_fn = "deny"
unused_must_use = "deny"
[lints.rustdoc]
broken_intra_doc_links = "deny"
invalid_markdown_table = "deny"