# 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.73.0" name = "native_model" version = "0.6.1" authors = ["Vincent Herlemont "] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "A thin wrapper around serialized data which add information of identity and version." readme = "README.md" keywords = [ "serialization", "interoperability", "data-consistency", "flexibility", "performance", ] categories = [ "data-structures", "encoding", "rust-patterns", ] license = "MIT" repository = "https://github.com/vincent-herlemont/native_model" [lib] name = "native_model" path = "src/lib.rs" [[bench]] name = "overhead" path = "benches/overhead.rs" harness = false [dependencies.anyhow] version = "1.0.82" [dependencies.bincode_1_3] version = "1.3.3" optional = true package = "bincode" [dependencies.bincode_2_rc] version = "2.0.0-rc.3" features = ["serde"] optional = true package = "bincode" [dependencies.doc-comment] version = "0.3.3" [dependencies.native_model_macro] version = "0.6.1" [dependencies.postcard_1_0] version = "1.0.8" features = ["alloc"] optional = true package = "postcard" [dependencies.rmp_serde_1_3] version = "1.3" optional = true package = "rmp-serde" [dependencies.serde] version = "1.0.200" features = ["derive"] optional = true [dependencies.thiserror] version = "2.0.0" [dependencies.zerocopy] version = "0.8.0" features = ["derive"] [dev-dependencies.criterion] version = "0.5.1" [dev-dependencies.serde_json] version = "1.0.116" [features] default = [ "serde", "bincode_1_3", ]