1# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO 2# 3# When uploading crates to the registry Cargo will automatically 4# "normalize" Cargo.toml files for maximal compatibility 5# with all versions of Cargo and also rewrite `path` dependencies 6# to registry (e.g., crates.io) dependencies. 7# 8# If you are reading this file be aware that the original Cargo.toml 9# will likely look very different (and much more reasonable). 10# See Cargo.toml.orig for the original contents. 11 12[package] 13edition = "2021" 14name = "open-enum" 15version = "0.5.2" 16authors = ["Alyssa Haroldsen <kupiakos@google.com>"] 17include = [ 18 "/src", 19 "/LICENSE", 20 "Cargo.toml", 21] 22description = "An attribute for generating \"open\" fieldless enums, those that accept any integer value, by using a newtype struct and associated constants" 23readme = "README.md" 24keywords = [ 25 "enum", 26 "open", 27 "integer", 28 "newtype", 29] 30categories = [ 31 "no-std", 32 "rust-patterns", 33] 34license = "Apache-2.0" 35repository = "https://github.com/kupiakos/open-enum" 36 37[[bin]] 38name = "test_lints" 39path = "src/test-lints.rs" 40 41[dependencies.libc] 42version = "0.2" 43optional = true 44 45[dependencies.open-enum-derive] 46version = "=0.5.2" 47 48[dev-dependencies.trybuild] 49version = "1" 50 51[dev-dependencies.zerocopy] 52version = "0.7.11" 53features = ["derive"] 54 55[features] 56libc_ = [ 57 "libc", 58 "open-enum-derive/repr_c", 59] 60std = ["open-enum-derive/repr_c"] 61