mirror of
https://github.com/zap-proto/rust.git
synced 2026-10-30 15:04:23 +00:00
Two pre-existing CI failures (unrelated to codegen/install-zap): - minrust 1.81: quickcheck 1.1.0 pulls rand 0.10 -> rand_core 0.10.1, whose Cargo.toml requires the edition2024 feature (unstable on Cargo 1.81). Pin quickcheck to =1.0.3 (last version on rand 0.8 / rand_core 0.6.4) — within MSRV, no major bump. Fresh-resolve verified: rand_core 0.10.1 leaves the graph. - formatting: ran 'cargo +nightly fmt --all'; the CI check (--check --unstable-features --error-on-unformatted, nightly) now passes.
50 lines
1.2 KiB
TOML
50 lines
1.2 KiB
TOML
[package]
|
|
|
|
name = "zap"
|
|
version = "1.0.0"
|
|
authors = [ "David Renshaw <[email protected]>" ]
|
|
license = "MIT"
|
|
description = "runtime library for ZAP data encoding"
|
|
repository = "https://github.com/zap-proto/rust"
|
|
documentation = "https://docs.rs/zap/"
|
|
edition = "2021"
|
|
rust-version.workspace = true
|
|
|
|
readme = "README.md"
|
|
|
|
keywords = ["encoding", "protocol", "serialization"]
|
|
|
|
[dependencies]
|
|
quickcheck = { version = "=1.0.3", optional = true }
|
|
|
|
embedded-io = { version = "0.7.1", default-features = false, optional = true }
|
|
|
|
[dev-dependencies]
|
|
quickcheck = "=1.0.3"
|
|
|
|
[features]
|
|
alloc = ["embedded-io?/alloc"]
|
|
default = ["std", "alloc"]
|
|
|
|
rpc_try = []
|
|
|
|
# If enabled, relaxes alignment requirements on segments.
|
|
# This has a performance cost on some targets (e.g. ARMv6).
|
|
unaligned = []
|
|
|
|
# If disabled, turns on no_std, which tells rustc to not link
|
|
# with the Rust standard library.
|
|
std = ["embedded-io?/std"]
|
|
|
|
# If enabled, ReadLimiter will use `AtomicUsize` instead of `Cell<usize>`, allowing
|
|
# message readers to be `Sync`. Note that AtomicUsize is not supported by all
|
|
# rustc targets.
|
|
sync_reader = []
|
|
|
|
#[lints]
|
|
#workspace = true
|
|
|
|
[lints.clippy]
|
|
type_complexity = "allow" # this should be removed in future
|
|
missing_safety_doc = "allow" # this should be removed in future
|