# 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" rust-version = "1.70" name = "serial-num" version = "0.10.0" authors = ["Tim Wiechers "] include = [ "src/*.md", "src/lib.rs", "RELEASES.md", "LICENSE-*", ] description = "Serial number type with wraparound" documentation = "https://docs.rs/serial-num/" readme = "README.md" keywords = [ "serial", "number", "rfc-1982", "ack", "udp", ] categories = [ "network-programming", "no-std", ] license = "MIT OR Apache-2.0" repository = "https://github.com/timwie/serial-num" [dependencies.arbitrary] version = "^1" features = ["derive"] optional = true [dependencies.bincode] version = "^2.0.0-rc.3" features = ["derive"] optional = true default-features = false [dependencies.bitcode] version = ">=0.4,<1" optional = true [dependencies.borsh] version = "^1" features = ["derive"] optional = true default-features = false [dependencies.bytemuck] version = "^1.13" features = ["derive"] optional = true [dependencies.postcard] version = "^1" features = ["experimental-derive"] optional = true default-features = false [dependencies.rkyv] version = ">=0.7,<1" optional = true default-features = false [dependencies.serde] version = "^1.0.184" features = ["derive"] optional = true default-features = false [dependencies.speedy] version = ">=0.8,<1" optional = true [dev-dependencies.postcard] version = "^1" default-features = true [dev-dependencies.proptest] version = "~1.5" [dev-dependencies.proptest-arbitrary-interop] version = "~0.1" [dev-dependencies.rkyv] version = ">=0.7,<1" features = [ "alloc", "size_32", ] default-features = false [dev-dependencies.serde_json] version = "1.0" [features] arbitrary = ["dep:arbitrary"] bincode = ["dep:bincode"] bitcode = ["dep:bitcode"] borsh = ["dep:borsh"] bytemuck = ["dep:bytemuck"] default = [] postcard = ["dep:postcard"] rkyv = ["rkyv/size_32"] rkyv-safe = [ "rkyv/size_32", "rkyv/validation", ] serde = ["dep:serde"] speedy = ["dep:speedy"] [lints.clippy] absolute_paths = "allow" arithmetic_side_effects = "warn" as_conversions = "warn" blanket_clippy_restriction_lints = "allow" cast_possible_wrap = "warn" decimal_literal_representation = "allow" implicit_return = "allow" integer_division = "warn" integer_division_remainder_used = "allow" min_ident_chars = "allow" missing_docs_in_private_items = "allow" missing_trait_methods = "allow" question_mark_used = "allow" [lints.clippy.all] level = "deny" priority = -1 [lints.clippy.cargo] level = "deny" priority = -1 [lints.clippy.pedantic] level = "deny" priority = -1 [lints.clippy.restriction] level = "deny" priority = -1 [lints.rust] elided_lifetimes_in_paths = "deny" legacy_derive_helpers = "deny" unknown_lints = "deny" unreachable_pub = "deny" unsafe-code = "deny" unused_crate_dependencies = "warn" unused_imports = "deny" unused_mut = "deny" unused_variables = "deny" [lints.rustdoc] bare_urls = "deny" broken_intra_doc_links = "deny" invalid_codeblock_attributes = "deny" invalid_rust_codeblocks = "deny" missing_crate_level_docs = "deny" private_intra_doc_links = "deny"