mirror of
https://github.com/trussed-dev/flexiber.git
synced 2026-03-11 16:35:17 -07:00
45 lines
1.3 KiB
TOML
45 lines
1.3 KiB
TOML
[package]
|
|
name = "flexiber"
|
|
version = "0.2.0"
|
|
authors = ["Nicolas Stalder <n@stalder.io>", "RustCrypto Developers"]
|
|
license = "Apache-2.0 OR MIT"
|
|
edition = "2021"
|
|
description = "Encoding and decoding of BER-TLV as described in ISO 7816-4, without allocations."
|
|
repository = "https://github.com/trussed-dev/flexiber"
|
|
categories = ["cryptography", "data-structures", "encoding", "no-std"]
|
|
keywords = ["crypto", "no_std", "serialization"]
|
|
readme = "README.md"
|
|
documentation = "https://docs.rs/flexiber"
|
|
|
|
[dependencies]
|
|
delog = "0.1.0"
|
|
flexiber_derive = { version = "0.1.3", optional = true, path = "derive" }
|
|
|
|
# This cfg cannot be enabled, but it still forces Cargo to keep flexiber_derive's
|
|
# version in lockstep with flexiber's, even if someone depends on the two crates
|
|
# separately with flexiber's "derive" feature disabled. Every flexiber_derive release
|
|
# is compatible with exactly one flexiber release because the generated code
|
|
# can involve nonpublic APIs which are not bound by semver.
|
|
[target.'cfg(any())'.dependencies]
|
|
flexiber_derive = { version = "=0.1.3", path = "derive" }
|
|
|
|
[dependencies.heapless]
|
|
version = "0.9.0"
|
|
optional = true
|
|
|
|
[dev-dependencies]
|
|
hex-literal = "1"
|
|
|
|
[features]
|
|
alloc = []
|
|
derive = ["flexiber_derive"]
|
|
std = ["alloc"]
|
|
|
|
log-all = []
|
|
log-none = []
|
|
log-trace = []
|
|
log-debug = []
|
|
log-info = []
|
|
log-warn = []
|
|
log-error = []
|