# 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 = "jam-bootstrap-service"
version = "0.1.22"
authors = ["Parity Technologies <admin@parity.io>"]
build = false
publish = true
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "The JAM Bootstrap Service, a simple swiss-army-knife service for JAM Genesis"
readme = "README.md"
license = "Apache-2.0"
repository = "https://github.com/paritytech/polkajam.git"

[features]
default = []
tiny = [
    "jam-types/tiny",
    "jam-pvm-common/tiny",
    "jam-bootstrap-service-common/tiny",
]

[lib]
name = "jam_bootstrap_service"
crate-type = ["cdylib"]
path = "src/lib.rs"

[dependencies.bounded-collections]
version = "0.1.0"
features = ["jam-codec"]
default-features = false
package = "bounded-collections-next"

[dependencies.codec]
version = "0.1.0"
features = [
    "derive",
    "max-encoded-len",
]
default-features = false
package = "jam-codec"

[dependencies.jam-bootstrap-service-common]
version = "0.1.22"
default-features = false

[dependencies.jam-pvm-common]
version = "0.1.22"
features = [
    "service",
    "logging",
]
default-features = false

[dependencies.jam-types]
version = "0.1.22"
default-features = false

[dependencies.polkavm-derive]
version = "0.24.0"
features = []
default-features = false

[lints.clippy]
fn_to_numeric_cast_any = "deny"
new_without_default = "allow"
redundant_closure = "allow"
result_unit_err = "allow"
too_many_arguments = "allow"
type_complexity = "allow"
unwrap_used = "deny"
use_debug = "deny"

[lints.clippy.correctness]
level = "deny"
priority = -1
