[package] name = "blockchain-scratch-rust" version = "0.3.0" authors = ["Arman "] description = "A scratched blockchain implementation" edition = "2021" readme = "README.md" license = "MIT" homepage = "https://armanriazi.github.io/site/public/programming/rust/rust-scratch-blockchain" repository = "https://github.com/armanriazi/rust-scratch-blockchain" keywords = ["proof","blockchain","decentralized","cryptocurrency","json"] categories = ["development-tools", "development-tools::cargo-plugins", "command-line-utilities"] autobins = false autoexamples = false autotests = false autobenches = false [package.metadata] msrv="1.31.0" [lib] name = "library_blockchain" path = "src/lib.rs" test = true # Is tested by default. doctest = true # Documentation examples are tested by default. bench = false # Is benchmarked by default. doc = true # Is documented by default. plugin = false # Used as a compiler plugin (deprecated). proc-macro = false # Set to `true` for a proc-macro library. harness = false # Use libtest harness. edition = "2021" # The edition of the target. crate-type = ["lib"] # The crate types to generate. required-features = [] # Features required to build this target (N/A for lib). #[[bin]] #name = "blockchain" #path = "src/main.rs" #test = false #bench = false #[features] #unstable-doc-cfg = [] #[package.metadata.docs.rs] #features = ["unstable-doc-cfg"] #[workspace] #members = [ #"library_utils" #] [dev-dependencies] proptest = "1" env_logger = "0.9.0" log = "0.4.0" pretty_assertions = "1" # json output json = "0.12.4" # doc-cfg = { version = "0.1" } hex = "0.3.2" crypto-hash = "0.3.3" serde_json = "1.0.82" serde = { version = "1.0.137", features = ["derive"] } serde_derive = { version = "1.0.137"} [dependencies] log = "0.4.0" env_logger = "0.9.0" #library_utils = { path = "library_utils", version = "0.0.1" , optional = true} library_utils = "0.0.2" json = "0.12.4" hex = "0.3.2" crypto-hash = "0.3.3" serde_json = "1.0.82" serde = { version = "1.0.137", features = ["derive"] } serde_derive = { version = "1.0.137"} [profile.dev] opt-level=0 debug = true rpath = false lto = false debug-assertions = true codegen-units = 4 [profile.release] opt-level=3 debug = false rpath = false lto = true debug-assertions = false codegen-units = 1 [profile.test] opt-level = 1 debug = true rpath = false lto = false debug-assertions = true codegen-units = 4 [profile.bench] opt-level = 3 debug = false rpath = false lto = true debug-assertions = false codegen-units = 1 # The documentation profile, used for `cargo doc`. [profile.doc] opt-level = 0 debug = 2 rpath = false lto = false debug-assertions = true codegen-units = 1 panic = 'unwind' incremental = true overflow-checks = true [dependencies.tracing-subscriber] version = "0.3" features = ["json"] # Get the available rust versions [dependencies.rust-releases] version = "0.22.0" default-features = false features = ["rust-releases-rust-changelog"]