# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" name = "fieldx" version = "0.1.2" authors = ["Vadim Belman"] build = false exclude = ["Makefile.toml"] autobins = false autoexamples = false autotests = false autobenches = false description = "Procedural macro for constructing structs with lazily initialized fields, builder pattern, and serde support with a focus on declarative syntax." readme = "README.md" keywords = [ "lazy", "field", "macro", "builder", "struct", ] categories = [ "concurrency", "development-tools::procedural-macro-helpers", "rust-patterns", ] license-file = "LICENSE" repository = "https://github.com/vrurg/fieldx.git" [lib] name = "fieldx" path = "src/lib.rs" [[test]] name = "as_ref" path = "tests/as_ref.rs" [[test]] name = "compilation" path = "tests/compilation.rs" [[test]] name = "mutable_accessor" path = "tests/mutable_accessor.rs" [[test]] name = "no_default" path = "tests/no_default.rs" [[test]] name = "nonsync" path = "tests/nonsync.rs" [[test]] name = "nonsync_builder" path = "tests/nonsync_builder.rs" [[test]] name = "nonsync_builder_generics" path = "tests/nonsync_builder_generics.rs" [[test]] name = "nonsync_generics" path = "tests/nonsync_generics.rs" [[test]] name = "nonsync_option" path = "tests/nonsync_option.rs" [[test]] name = "nonsync_optional" path = "tests/nonsync_optional.rs" [[test]] name = "nonsync_serde" path = "tests/nonsync_serde.rs" [[test]] name = "nonsync_serde_generic" path = "tests/nonsync_serde_generic.rs" [[test]] name = "serde_attributes" path = "tests/serde_attributes.rs" [[test]] name = "serde_default" path = "tests/serde_default.rs" [[test]] name = "serde_reserved_keyword" path = "tests/serde_reserved_keyword.rs" [[test]] name = "skip" path = "tests/skip.rs" [[test]] name = "sync" path = "tests/sync.rs" [[test]] name = "sync_accessor" path = "tests/sync_accessor.rs" [[test]] name = "sync_all_lock" path = "tests/sync_all_lock.rs" [[test]] name = "sync_builder" path = "tests/sync_builder.rs" [[test]] name = "sync_builder_generics" path = "tests/sync_builder_generics.rs" [[test]] name = "sync_generics" path = "tests/sync_generics.rs" [[test]] name = "sync_lock_optional" path = "tests/sync_lock_optional.rs" [[test]] name = "sync_option" path = "tests/sync_option.rs" [[test]] name = "sync_optional" path = "tests/sync_optional.rs" [[test]] name = "sync_optional_wo_default" path = "tests/sync_optional_wo_default.rs" [[test]] name = "sync_serde" path = "tests/sync_serde.rs" [[test]] name = "sync_serde_generic" path = "tests/sync_serde_generic.rs" [dependencies.fieldx_derive] version = "0.1.2" features = ["tracing"] [dependencies.getset] version = "0.1" [dependencies.parking_lot] version = "0.12" [dependencies.serde] version = "1.0" features = ["derive"] optional = true [dependencies.thiserror] version = "1.0" [dev-dependencies.cargo-toolchain] version = "0.1" [dev-dependencies.crossbeam] version = "0.8" [dev-dependencies.num_cpus] version = "1.16" [dev-dependencies.parking_lot] version = "0.12" [dev-dependencies.rustc_version] version = "0.4" [dev-dependencies.serde_json] version = "=1.0.117" [dev-dependencies.trybuild] version = "1.0" [features] diagnostics = ["fieldx_derive/diagnostics"] serde = [ "fieldx_derive/serde", "parking_lot/serde", "dep:serde", ]