borsh 1.0.0-alpha.3

Binary Object Representation Serializer for Hashing
Documentation
[package]
name = "borsh"
version.workspace = true
rust-version.workspace = true
authors = ["Near Inc <hello@near.org>"]
edition = "2018"
license = "MIT OR Apache-2.0"
readme = "README.md"
categories = ["encoding", "network-programming"]
repository = "https://github.com/near/borsh-rs"
homepage = "https://borsh.io"
description = """
Binary Object Representation Serializer for Hashing
"""
exclude = ["tests/snapshots"]

[lib]
name = "borsh"
path = "src/lib.rs"

[[bin]]
name = "generate_schema_schema"
path = "src/generate_schema_schema.rs"
required-features = ["std", "derive", "schema"]

[build-dependencies]
cfg_aliases = "0.1.0"

[dependencies]
borsh-derive = { path = "../borsh-derive", version = "1.0.0-alpha.3", optional = true }
hashbrown = { version = ">=0.11,<0.14", optional = true }
bytes = { version = "1", optional = true }
bson = { version = "2", optional = true }

[dev-dependencies]
bytes = "1"
bson = "2"
# Enable the "bytes" and "bson" features in integ tests: https://github.com/rust-lang/cargo/issues/2911#issuecomment-1464060655
borsh = { path = ".", default_features = false, features = ["bytes", "bson"] }
insta = "1.29.0"

[package.metadata.docs.rs]
features = ["derive", "schema"]
targets = ["x86_64-unknown-linux-gnu"]

[features]
default = ["std"]
derive = ["borsh-derive"]
schema = ["borsh-derive/schema"]
std = []
rc = []
de_strict_order = []