[package] name = "advmac" version = "1.0.3" edition = "2021" rust-version = "1.64" license = "MIT" description = "Advanced MAC address crate" categories = ["os", "network-programming"] repository = "https://github.com/GamePad64/advmac" keywords = ["network", "mac", "macaddr", "eui-48", "eui-64"] # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] serde = { version = "1.0.145", default-features = false, optional = true } rand = { version = "0.8.5", default-features = false, features = ["getrandom"], optional = true } arrayvec = { version = "0.7.2", default-features = false } [dev-dependencies] serde_json = "1.0.86" version-sync = "0.9" rstest = "0.15.0" serde = { version = "1.0.145", default-features = false, features = ["derive"] } [features] default = ["std", "rand", "serde"] std = ["serde?/std"] rand = ["dep:rand"] serde = ["dep:serde", "arrayvec/serde"] [package.metadata.docs.rs] all-features = true rustdoc-args = ["--cfg", "docsrs"]