FD updates for chapter2

master
peshwar9 4 years ago
parent 8eef60f788
commit d7173db60d

@ -0,0 +1 @@
{"rustc":12217307662193597186,"features":"[]","target":8574161726611873773,"profile":9935990280773120926,"path":16636311620078878107,"deps":[],"local":[{"CheckDepInfo":{"dep_info":"debug/.fingerprint/autocfg-f1367f3d95527a84/dep-lib-autocfg-f1367f3d95527a84"}}],"rustflags":["-C","prefer-dynamic","-C","rpath"],"metadata":13102859075309379048}

@ -0,0 +1 @@
{"rustc":12217307662193597186,"features":"[\"default\", \"std\"]","target":10088282520713642473,"profile":9935990280773120926,"path":2328387519475147787,"deps":[],"local":[{"CheckDepInfo":{"dep_info":"debug/.fingerprint/libc-6042da584e4285e3/dep-build-script-build_script_build-6042da584e4285e3"}}],"rustflags":["-C","prefer-dynamic","-C","rpath"],"metadata":14998826085014762512}

@ -0,0 +1 @@
{"rustc":12217307662193597186,"features":"[\"default\", \"std\"]","target":15220052048028810702,"profile":14672114853574311971,"path":17798845997871743774,"deps":[[10425461912977382200,"build_script_build",false,5853115908681992504]],"local":[{"CheckDepInfo":{"dep_info":"debug/.fingerprint/libc-9070217966b7af8c/dep-lib-libc-9070217966b7af8c"}}],"rustflags":["-C","prefer-dynamic","-C","rpath"],"metadata":14998826085014762512}

@ -0,0 +1 @@
{"rustc":12217307662193597186,"features":"","target":0,"profile":0,"path":0,"deps":[[10425461912977382200,"build_script_build",false,14534392579615073589]],"local":[{"Precalculated":"0.2.69"}],"rustflags":[],"metadata":0}

@ -0,0 +1 @@
{"rustc":12217307662193597186,"features":"","target":0,"profile":0,"path":0,"deps":[[16269948267989935289,"build_script_build",false,3685391717327465470]],"local":[{"RerunIfChanged":{"output":"debug/build/num-integer-04feacd3a530cb5a/output","paths":["build.rs"]}}],"rustflags":[],"metadata":0}

@ -0,0 +1 @@
{"rustc":12217307662193597186,"features":"[]","target":10088282520713642473,"profile":9935990280773120926,"path":16269442004393994992,"deps":[[9245478811527615946,"autocfg",false,2170773872582917679]],"local":[{"CheckDepInfo":{"dep_info":"debug/.fingerprint/num-integer-67eab5c6c0da140a/dep-build-script-build_script_build-67eab5c6c0da140a"}}],"rustflags":["-C","prefer-dynamic","-C","rpath"],"metadata":58200369117550911}

@ -0,0 +1 @@
{"rustc":12217307662193597186,"features":"[]","target":10088282520713642473,"profile":9935990280773120926,"path":764155542526120754,"deps":[[9245478811527615946,"autocfg",false,2170773872582917679]],"local":[{"CheckDepInfo":{"dep_info":"debug/.fingerprint/num-traits-3b18bde16c2c039e/dep-build-script-build_script_build-3b18bde16c2c039e"}}],"rustflags":["-C","prefer-dynamic","-C","rpath"],"metadata":14621636500951049976}

@ -0,0 +1 @@
{"rustc":12217307662193597186,"features":"","target":0,"profile":0,"path":0,"deps":[[8712638383843666284,"build_script_build",false,53421544127718551]],"local":[{"RerunIfChanged":{"output":"debug/build/num-traits-733614978d68aaa4/output","paths":["build.rs"]}}],"rustflags":[],"metadata":0}

@ -0,0 +1 @@
{"rustc":12217307662193597186,"features":"[]","target":16894502179009968931,"profile":14672114853574311971,"path":3168755489978409908,"deps":[[8712638383843666284,"build_script_build",false,2090276864876218500]],"local":[{"CheckDepInfo":{"dep_info":"debug/.fingerprint/num-traits-fb02cb290f63899b/dep-lib-num_traits-fb02cb290f63899b"}}],"rustflags":["-C","prefer-dynamic","-C","rpath"],"metadata":14621636500951049976}

@ -0,0 +1 @@
{"rustc":12217307662193597186,"features":"[]","target":7267306859267600794,"profile":14672114853574311971,"path":13853118127629367553,"deps":[[10425461912977382200,"libc",false,8321304765692505518]],"local":[{"CheckDepInfo":{"dep_info":"debug/.fingerprint/time-32077b01cd3415f9/dep-lib-time-32077b01cd3415f9"}}],"rustflags":["-C","prefer-dynamic","-C","rpath"],"metadata":8937303733317455548}

@ -0,0 +1,5 @@
/Users/prabhueshwarla/rust/author/packt/code/prod/chapter1/deps-example/target/debug/build/libc-6042da584e4285e3/build_script_build-6042da584e4285e3: /Users/prabhueshwarla/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.69/build.rs
/Users/prabhueshwarla/rust/author/packt/code/prod/chapter1/deps-example/target/debug/build/libc-6042da584e4285e3/build_script_build-6042da584e4285e3.d: /Users/prabhueshwarla/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.69/build.rs
/Users/prabhueshwarla/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.69/build.rs:

@ -0,0 +1,20 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>CFBundleDevelopmentRegion</key>
<string>English</string>
<key>CFBundleIdentifier</key>
<string>com.apple.xcode.dsym.build_script_build-6042da584e4285e3</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundlePackageType</key>
<string>dSYM</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleShortVersionString</key>
<string>1.0</string>
<key>CFBundleVersion</key>
<string>1</string>
</dict>
</plist>

@ -0,0 +1,7 @@
cargo:rustc-cfg=freebsd11
cargo:rustc-cfg=libc_priv_mod_use
cargo:rustc-cfg=libc_union
cargo:rustc-cfg=libc_const_size_of
cargo:rustc-cfg=libc_align
cargo:rustc-cfg=libc_core_cvoid
cargo:rustc-cfg=libc_packedN

@ -0,0 +1 @@
/Users/prabhueshwarla/rust/author/packt/code/prod/chapter1/deps-example/target/debug/build/libc-b98c395783622f6a/out

@ -0,0 +1,8 @@
; ModuleID = 'probe0.3a1fbbbh-cgu.0'
source_filename = "probe0.3a1fbbbh-cgu.0"
target datalayout = "e-m:o-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-apple-macosx10.7.0"
!llvm.module.flags = !{!0}
!0 = !{i32 7, !"PIC Level", i32 2}

@ -0,0 +1,8 @@
; ModuleID = 'probe1.3a1fbbbh-cgu.0'
source_filename = "probe1.3a1fbbbh-cgu.0"
target datalayout = "e-m:o-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-apple-macosx10.7.0"
!llvm.module.flags = !{!0}
!0 = !{i32 7, !"PIC Level", i32 2}

@ -0,0 +1,2 @@
cargo:rustc-cfg=has_i128
cargo:rerun-if-changed=build.rs

@ -0,0 +1 @@
/Users/prabhueshwarla/rust/author/packt/code/prod/chapter1/deps-example/target/debug/build/num-integer-04feacd3a530cb5a/out

@ -0,0 +1,5 @@
/Users/prabhueshwarla/rust/author/packt/code/prod/chapter1/deps-example/target/debug/build/num-integer-67eab5c6c0da140a/build_script_build-67eab5c6c0da140a: /Users/prabhueshwarla/.cargo/registry/src/github.com-1ecc6299db9ec823/num-integer-0.1.42/build.rs
/Users/prabhueshwarla/rust/author/packt/code/prod/chapter1/deps-example/target/debug/build/num-integer-67eab5c6c0da140a/build_script_build-67eab5c6c0da140a.d: /Users/prabhueshwarla/.cargo/registry/src/github.com-1ecc6299db9ec823/num-integer-0.1.42/build.rs
/Users/prabhueshwarla/.cargo/registry/src/github.com-1ecc6299db9ec823/num-integer-0.1.42/build.rs:

@ -0,0 +1,20 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>CFBundleDevelopmentRegion</key>
<string>English</string>
<key>CFBundleIdentifier</key>
<string>com.apple.xcode.dsym.build_script_build-67eab5c6c0da140a</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundlePackageType</key>
<string>dSYM</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleShortVersionString</key>
<string>1.0</string>
<key>CFBundleVersion</key>
<string>1</string>
</dict>
</plist>

@ -0,0 +1,5 @@
/Users/prabhueshwarla/rust/author/packt/code/prod/chapter1/deps-example/target/debug/build/num-traits-3b18bde16c2c039e/build_script_build-3b18bde16c2c039e: /Users/prabhueshwarla/.cargo/registry/src/github.com-1ecc6299db9ec823/num-traits-0.2.11/build.rs
/Users/prabhueshwarla/rust/author/packt/code/prod/chapter1/deps-example/target/debug/build/num-traits-3b18bde16c2c039e/build_script_build-3b18bde16c2c039e.d: /Users/prabhueshwarla/.cargo/registry/src/github.com-1ecc6299db9ec823/num-traits-0.2.11/build.rs
/Users/prabhueshwarla/.cargo/registry/src/github.com-1ecc6299db9ec823/num-traits-0.2.11/build.rs:

@ -0,0 +1,20 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>CFBundleDevelopmentRegion</key>
<string>English</string>
<key>CFBundleIdentifier</key>
<string>com.apple.xcode.dsym.build_script_build-3b18bde16c2c039e</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundlePackageType</key>
<string>dSYM</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleShortVersionString</key>
<string>1.0</string>
<key>CFBundleVersion</key>
<string>1</string>
</dict>
</plist>

@ -0,0 +1,8 @@
; ModuleID = 'probe0.3a1fbbbh-cgu.0'
source_filename = "probe0.3a1fbbbh-cgu.0"
target datalayout = "e-m:o-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-apple-macosx10.7.0"
!llvm.module.flags = !{!0}
!0 = !{i32 7, !"PIC Level", i32 2}

@ -0,0 +1,8 @@
; ModuleID = 'probe1.3a1fbbbh-cgu.0'
source_filename = "probe1.3a1fbbbh-cgu.0"
target datalayout = "e-m:o-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-apple-macosx10.7.0"
!llvm.module.flags = !{!0}
!0 = !{i32 7, !"PIC Level", i32 2}

@ -0,0 +1,2 @@
cargo:rustc-cfg=has_i128
cargo:rerun-if-changed=build.rs

@ -0,0 +1 @@
/Users/prabhueshwarla/rust/author/packt/code/prod/chapter1/deps-example/target/debug/build/num-traits-733614978d68aaa4/out

@ -0,0 +1,9 @@
/Users/prabhueshwarla/rust/author/packt/code/prod/chapter1/deps-example/target/debug/deps/autocfg-f1367f3d95527a84.rmeta: /Users/prabhueshwarla/.cargo/registry/src/github.com-1ecc6299db9ec823/autocfg-1.0.0/src/lib.rs /Users/prabhueshwarla/.cargo/registry/src/github.com-1ecc6299db9ec823/autocfg-1.0.0/src/error.rs /Users/prabhueshwarla/.cargo/registry/src/github.com-1ecc6299db9ec823/autocfg-1.0.0/src/version.rs
/Users/prabhueshwarla/rust/author/packt/code/prod/chapter1/deps-example/target/debug/deps/libautocfg-f1367f3d95527a84.rlib: /Users/prabhueshwarla/.cargo/registry/src/github.com-1ecc6299db9ec823/autocfg-1.0.0/src/lib.rs /Users/prabhueshwarla/.cargo/registry/src/github.com-1ecc6299db9ec823/autocfg-1.0.0/src/error.rs /Users/prabhueshwarla/.cargo/registry/src/github.com-1ecc6299db9ec823/autocfg-1.0.0/src/version.rs
/Users/prabhueshwarla/rust/author/packt/code/prod/chapter1/deps-example/target/debug/deps/autocfg-f1367f3d95527a84.d: /Users/prabhueshwarla/.cargo/registry/src/github.com-1ecc6299db9ec823/autocfg-1.0.0/src/lib.rs /Users/prabhueshwarla/.cargo/registry/src/github.com-1ecc6299db9ec823/autocfg-1.0.0/src/error.rs /Users/prabhueshwarla/.cargo/registry/src/github.com-1ecc6299db9ec823/autocfg-1.0.0/src/version.rs
/Users/prabhueshwarla/.cargo/registry/src/github.com-1ecc6299db9ec823/autocfg-1.0.0/src/lib.rs:
/Users/prabhueshwarla/.cargo/registry/src/github.com-1ecc6299db9ec823/autocfg-1.0.0/src/error.rs:
/Users/prabhueshwarla/.cargo/registry/src/github.com-1ecc6299db9ec823/autocfg-1.0.0/src/version.rs:

@ -0,0 +1,33 @@
/Users/prabhueshwarla/rust/author/packt/code/prod/chapter1/deps-example/target/debug/deps/libc-9070217966b7af8c.rmeta: /Users/prabhueshwarla/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.69/src/lib.rs /Users/prabhueshwarla/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.69/src/macros.rs /Users/prabhueshwarla/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.69/src/fixed_width_ints.rs /Users/prabhueshwarla/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.69/src/windows/mod.rs /Users/prabhueshwarla/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.69/src/cloudabi/mod.rs /Users/prabhueshwarla/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.69/src/fuchsia/mod.rs /Users/prabhueshwarla/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.69/src/switch.rs /Users/prabhueshwarla/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.69/src/vxworks/mod.rs /Users/prabhueshwarla/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.69/src/unix/mod.rs /Users/prabhueshwarla/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.69/src/hermit/mod.rs /Users/prabhueshwarla/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.69/src/sgx.rs /Users/prabhueshwarla/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.69/src/wasi.rs /Users/prabhueshwarla/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.69/src/unix/uclibc/mod.rs /Users/prabhueshwarla/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.69/src/unix/newlib/mod.rs /Users/prabhueshwarla/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.69/src/unix/linux_like/mod.rs /Users/prabhueshwarla/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.69/src/unix/bsd/mod.rs /Users/prabhueshwarla/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.69/src/unix/solarish/mod.rs /Users/prabhueshwarla/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.69/src/unix/solarish/compat.rs /Users/prabhueshwarla/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.69/src/unix/haiku/mod.rs /Users/prabhueshwarla/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.69/src/unix/hermit/mod.rs /Users/prabhueshwarla/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.69/src/unix/redox/mod.rs /Users/prabhueshwarla/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.69/src/unix/bsd/apple/mod.rs /Users/prabhueshwarla/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.69/src/unix/bsd/netbsdlike/mod.rs /Users/prabhueshwarla/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.69/src/unix/bsd/freebsdlike/mod.rs /Users/prabhueshwarla/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.69/src/unix/bsd/apple/b32/mod.rs /Users/prabhueshwarla/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.69/src/unix/bsd/apple/b64/mod.rs /Users/prabhueshwarla/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.69/src/unix/bsd/apple/b64/align.rs /Users/prabhueshwarla/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.69/src/unix/align.rs /Users/prabhueshwarla/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.69/src/unix/no_align.rs
/Users/prabhueshwarla/rust/author/packt/code/prod/chapter1/deps-example/target/debug/deps/libc-9070217966b7af8c.d: /Users/prabhueshwarla/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.69/src/lib.rs /Users/prabhueshwarla/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.69/src/macros.rs /Users/prabhueshwarla/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.69/src/fixed_width_ints.rs /Users/prabhueshwarla/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.69/src/windows/mod.rs /Users/prabhueshwarla/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.69/src/cloudabi/mod.rs /Users/prabhueshwarla/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.69/src/fuchsia/mod.rs /Users/prabhueshwarla/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.69/src/switch.rs /Users/prabhueshwarla/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.69/src/vxworks/mod.rs /Users/prabhueshwarla/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.69/src/unix/mod.rs /Users/prabhueshwarla/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.69/src/hermit/mod.rs /Users/prabhueshwarla/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.69/src/sgx.rs /Users/prabhueshwarla/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.69/src/wasi.rs /Users/prabhueshwarla/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.69/src/unix/uclibc/mod.rs /Users/prabhueshwarla/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.69/src/unix/newlib/mod.rs /Users/prabhueshwarla/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.69/src/unix/linux_like/mod.rs /Users/prabhueshwarla/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.69/src/unix/bsd/mod.rs /Users/prabhueshwarla/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.69/src/unix/solarish/mod.rs /Users/prabhueshwarla/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.69/src/unix/solarish/compat.rs /Users/prabhueshwarla/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.69/src/unix/haiku/mod.rs /Users/prabhueshwarla/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.69/src/unix/hermit/mod.rs /Users/prabhueshwarla/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.69/src/unix/redox/mod.rs /Users/prabhueshwarla/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.69/src/unix/bsd/apple/mod.rs /Users/prabhueshwarla/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.69/src/unix/bsd/netbsdlike/mod.rs /Users/prabhueshwarla/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.69/src/unix/bsd/freebsdlike/mod.rs /Users/prabhueshwarla/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.69/src/unix/bsd/apple/b32/mod.rs /Users/prabhueshwarla/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.69/src/unix/bsd/apple/b64/mod.rs /Users/prabhueshwarla/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.69/src/unix/bsd/apple/b64/align.rs /Users/prabhueshwarla/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.69/src/unix/align.rs /Users/prabhueshwarla/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.69/src/unix/no_align.rs
/Users/prabhueshwarla/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.69/src/lib.rs:
/Users/prabhueshwarla/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.69/src/macros.rs:
/Users/prabhueshwarla/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.69/src/fixed_width_ints.rs:
/Users/prabhueshwarla/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.69/src/windows/mod.rs:
/Users/prabhueshwarla/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.69/src/cloudabi/mod.rs:
/Users/prabhueshwarla/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.69/src/fuchsia/mod.rs:
/Users/prabhueshwarla/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.69/src/switch.rs:
/Users/prabhueshwarla/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.69/src/vxworks/mod.rs:
/Users/prabhueshwarla/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.69/src/unix/mod.rs:
/Users/prabhueshwarla/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.69/src/hermit/mod.rs:
/Users/prabhueshwarla/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.69/src/sgx.rs:
/Users/prabhueshwarla/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.69/src/wasi.rs:
/Users/prabhueshwarla/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.69/src/unix/uclibc/mod.rs:
/Users/prabhueshwarla/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.69/src/unix/newlib/mod.rs:
/Users/prabhueshwarla/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.69/src/unix/linux_like/mod.rs:
/Users/prabhueshwarla/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.69/src/unix/bsd/mod.rs:
/Users/prabhueshwarla/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.69/src/unix/solarish/mod.rs:
/Users/prabhueshwarla/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.69/src/unix/solarish/compat.rs:
/Users/prabhueshwarla/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.69/src/unix/haiku/mod.rs:
/Users/prabhueshwarla/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.69/src/unix/hermit/mod.rs:
/Users/prabhueshwarla/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.69/src/unix/redox/mod.rs:
/Users/prabhueshwarla/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.69/src/unix/bsd/apple/mod.rs:
/Users/prabhueshwarla/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.69/src/unix/bsd/netbsdlike/mod.rs:
/Users/prabhueshwarla/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.69/src/unix/bsd/freebsdlike/mod.rs:
/Users/prabhueshwarla/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.69/src/unix/bsd/apple/b32/mod.rs:
/Users/prabhueshwarla/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.69/src/unix/bsd/apple/b64/mod.rs:
/Users/prabhueshwarla/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.69/src/unix/bsd/apple/b64/align.rs:
/Users/prabhueshwarla/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.69/src/unix/align.rs:
/Users/prabhueshwarla/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.69/src/unix/no_align.rs:

@ -0,0 +1,6 @@
/Users/prabhueshwarla/rust/author/packt/code/prod/chapter1/deps-example/target/debug/deps/num_integer-9a49c011d6944892.rmeta: /Users/prabhueshwarla/.cargo/registry/src/github.com-1ecc6299db9ec823/num-integer-0.1.42/src/lib.rs /Users/prabhueshwarla/.cargo/registry/src/github.com-1ecc6299db9ec823/num-integer-0.1.42/src/roots.rs
/Users/prabhueshwarla/rust/author/packt/code/prod/chapter1/deps-example/target/debug/deps/num_integer-9a49c011d6944892.d: /Users/prabhueshwarla/.cargo/registry/src/github.com-1ecc6299db9ec823/num-integer-0.1.42/src/lib.rs /Users/prabhueshwarla/.cargo/registry/src/github.com-1ecc6299db9ec823/num-integer-0.1.42/src/roots.rs
/Users/prabhueshwarla/.cargo/registry/src/github.com-1ecc6299db9ec823/num-integer-0.1.42/src/lib.rs:
/Users/prabhueshwarla/.cargo/registry/src/github.com-1ecc6299db9ec823/num-integer-0.1.42/src/roots.rs:

@ -0,0 +1,20 @@
/Users/prabhueshwarla/rust/author/packt/code/prod/chapter1/deps-example/target/debug/deps/num_traits-fb02cb290f63899b.rmeta: /Users/prabhueshwarla/.cargo/registry/src/github.com-1ecc6299db9ec823/num-traits-0.2.11/src/lib.rs /Users/prabhueshwarla/.cargo/registry/src/github.com-1ecc6299db9ec823/num-traits-0.2.11/src/macros.rs /Users/prabhueshwarla/.cargo/registry/src/github.com-1ecc6299db9ec823/num-traits-0.2.11/src/bounds.rs /Users/prabhueshwarla/.cargo/registry/src/github.com-1ecc6299db9ec823/num-traits-0.2.11/src/cast.rs /Users/prabhueshwarla/.cargo/registry/src/github.com-1ecc6299db9ec823/num-traits-0.2.11/src/float.rs /Users/prabhueshwarla/.cargo/registry/src/github.com-1ecc6299db9ec823/num-traits-0.2.11/src/identities.rs /Users/prabhueshwarla/.cargo/registry/src/github.com-1ecc6299db9ec823/num-traits-0.2.11/src/int.rs /Users/prabhueshwarla/.cargo/registry/src/github.com-1ecc6299db9ec823/num-traits-0.2.11/src/ops/mod.rs /Users/prabhueshwarla/.cargo/registry/src/github.com-1ecc6299db9ec823/num-traits-0.2.11/src/ops/checked.rs /Users/prabhueshwarla/.cargo/registry/src/github.com-1ecc6299db9ec823/num-traits-0.2.11/src/ops/inv.rs /Users/prabhueshwarla/.cargo/registry/src/github.com-1ecc6299db9ec823/num-traits-0.2.11/src/ops/mul_add.rs /Users/prabhueshwarla/.cargo/registry/src/github.com-1ecc6299db9ec823/num-traits-0.2.11/src/ops/saturating.rs /Users/prabhueshwarla/.cargo/registry/src/github.com-1ecc6299db9ec823/num-traits-0.2.11/src/ops/wrapping.rs /Users/prabhueshwarla/.cargo/registry/src/github.com-1ecc6299db9ec823/num-traits-0.2.11/src/pow.rs /Users/prabhueshwarla/.cargo/registry/src/github.com-1ecc6299db9ec823/num-traits-0.2.11/src/real.rs /Users/prabhueshwarla/.cargo/registry/src/github.com-1ecc6299db9ec823/num-traits-0.2.11/src/sign.rs
/Users/prabhueshwarla/rust/author/packt/code/prod/chapter1/deps-example/target/debug/deps/num_traits-fb02cb290f63899b.d: /Users/prabhueshwarla/.cargo/registry/src/github.com-1ecc6299db9ec823/num-traits-0.2.11/src/lib.rs /Users/prabhueshwarla/.cargo/registry/src/github.com-1ecc6299db9ec823/num-traits-0.2.11/src/macros.rs /Users/prabhueshwarla/.cargo/registry/src/github.com-1ecc6299db9ec823/num-traits-0.2.11/src/bounds.rs /Users/prabhueshwarla/.cargo/registry/src/github.com-1ecc6299db9ec823/num-traits-0.2.11/src/cast.rs /Users/prabhueshwarla/.cargo/registry/src/github.com-1ecc6299db9ec823/num-traits-0.2.11/src/float.rs /Users/prabhueshwarla/.cargo/registry/src/github.com-1ecc6299db9ec823/num-traits-0.2.11/src/identities.rs /Users/prabhueshwarla/.cargo/registry/src/github.com-1ecc6299db9ec823/num-traits-0.2.11/src/int.rs /Users/prabhueshwarla/.cargo/registry/src/github.com-1ecc6299db9ec823/num-traits-0.2.11/src/ops/mod.rs /Users/prabhueshwarla/.cargo/registry/src/github.com-1ecc6299db9ec823/num-traits-0.2.11/src/ops/checked.rs /Users/prabhueshwarla/.cargo/registry/src/github.com-1ecc6299db9ec823/num-traits-0.2.11/src/ops/inv.rs /Users/prabhueshwarla/.cargo/registry/src/github.com-1ecc6299db9ec823/num-traits-0.2.11/src/ops/mul_add.rs /Users/prabhueshwarla/.cargo/registry/src/github.com-1ecc6299db9ec823/num-traits-0.2.11/src/ops/saturating.rs /Users/prabhueshwarla/.cargo/registry/src/github.com-1ecc6299db9ec823/num-traits-0.2.11/src/ops/wrapping.rs /Users/prabhueshwarla/.cargo/registry/src/github.com-1ecc6299db9ec823/num-traits-0.2.11/src/pow.rs /Users/prabhueshwarla/.cargo/registry/src/github.com-1ecc6299db9ec823/num-traits-0.2.11/src/real.rs /Users/prabhueshwarla/.cargo/registry/src/github.com-1ecc6299db9ec823/num-traits-0.2.11/src/sign.rs
/Users/prabhueshwarla/.cargo/registry/src/github.com-1ecc6299db9ec823/num-traits-0.2.11/src/lib.rs:
/Users/prabhueshwarla/.cargo/registry/src/github.com-1ecc6299db9ec823/num-traits-0.2.11/src/macros.rs:
/Users/prabhueshwarla/.cargo/registry/src/github.com-1ecc6299db9ec823/num-traits-0.2.11/src/bounds.rs:
/Users/prabhueshwarla/.cargo/registry/src/github.com-1ecc6299db9ec823/num-traits-0.2.11/src/cast.rs:
/Users/prabhueshwarla/.cargo/registry/src/github.com-1ecc6299db9ec823/num-traits-0.2.11/src/float.rs:
/Users/prabhueshwarla/.cargo/registry/src/github.com-1ecc6299db9ec823/num-traits-0.2.11/src/identities.rs:
/Users/prabhueshwarla/.cargo/registry/src/github.com-1ecc6299db9ec823/num-traits-0.2.11/src/int.rs:
/Users/prabhueshwarla/.cargo/registry/src/github.com-1ecc6299db9ec823/num-traits-0.2.11/src/ops/mod.rs:
/Users/prabhueshwarla/.cargo/registry/src/github.com-1ecc6299db9ec823/num-traits-0.2.11/src/ops/checked.rs:
/Users/prabhueshwarla/.cargo/registry/src/github.com-1ecc6299db9ec823/num-traits-0.2.11/src/ops/inv.rs:
/Users/prabhueshwarla/.cargo/registry/src/github.com-1ecc6299db9ec823/num-traits-0.2.11/src/ops/mul_add.rs:
/Users/prabhueshwarla/.cargo/registry/src/github.com-1ecc6299db9ec823/num-traits-0.2.11/src/ops/saturating.rs:
/Users/prabhueshwarla/.cargo/registry/src/github.com-1ecc6299db9ec823/num-traits-0.2.11/src/ops/wrapping.rs:
/Users/prabhueshwarla/.cargo/registry/src/github.com-1ecc6299db9ec823/num-traits-0.2.11/src/pow.rs:
/Users/prabhueshwarla/.cargo/registry/src/github.com-1ecc6299db9ec823/num-traits-0.2.11/src/real.rs:
/Users/prabhueshwarla/.cargo/registry/src/github.com-1ecc6299db9ec823/num-traits-0.2.11/src/sign.rs:

@ -0,0 +1,9 @@
/Users/prabhueshwarla/rust/author/packt/code/prod/chapter1/deps-example/target/debug/deps/time-32077b01cd3415f9.rmeta: /Users/prabhueshwarla/.cargo/registry/src/github.com-1ecc6299db9ec823/time-0.1.43/src/lib.rs /Users/prabhueshwarla/.cargo/registry/src/github.com-1ecc6299db9ec823/time-0.1.43/src/display.rs /Users/prabhueshwarla/.cargo/registry/src/github.com-1ecc6299db9ec823/time-0.1.43/src/duration.rs /Users/prabhueshwarla/.cargo/registry/src/github.com-1ecc6299db9ec823/time-0.1.43/src/parse.rs /Users/prabhueshwarla/.cargo/registry/src/github.com-1ecc6299db9ec823/time-0.1.43/src/sys.rs
/Users/prabhueshwarla/rust/author/packt/code/prod/chapter1/deps-example/target/debug/deps/time-32077b01cd3415f9.d: /Users/prabhueshwarla/.cargo/registry/src/github.com-1ecc6299db9ec823/time-0.1.43/src/lib.rs /Users/prabhueshwarla/.cargo/registry/src/github.com-1ecc6299db9ec823/time-0.1.43/src/display.rs /Users/prabhueshwarla/.cargo/registry/src/github.com-1ecc6299db9ec823/time-0.1.43/src/duration.rs /Users/prabhueshwarla/.cargo/registry/src/github.com-1ecc6299db9ec823/time-0.1.43/src/parse.rs /Users/prabhueshwarla/.cargo/registry/src/github.com-1ecc6299db9ec823/time-0.1.43/src/sys.rs
/Users/prabhueshwarla/.cargo/registry/src/github.com-1ecc6299db9ec823/time-0.1.43/src/lib.rs:
/Users/prabhueshwarla/.cargo/registry/src/github.com-1ecc6299db9ec823/time-0.1.43/src/display.rs:
/Users/prabhueshwarla/.cargo/registry/src/github.com-1ecc6299db9ec823/time-0.1.43/src/duration.rs:
/Users/prabhueshwarla/.cargo/registry/src/github.com-1ecc6299db9ec823/time-0.1.43/src/parse.rs:
/Users/prabhueshwarla/.cargo/registry/src/github.com-1ecc6299db9ec823/time-0.1.43/src/sys.rs:

@ -0,0 +1 @@
{"rustc_fingerprint":4503571881771466578,"outputs":{"1164083562126845933":["rustc 1.43.0 (4fb7144ed 2020-04-20)\nbinary: rustc\ncommit-hash: 4fb7144ed159f94491249e86d5bbd033b5d60550\ncommit-date: 2020-04-20\nhost: x86_64-apple-darwin\nrelease: 1.43.0\nLLVM version: 9.0\n",""],"7064757342655340577":["___\nlib___.rlib\nlib___.dylib\nlib___.dylib\nlib___.a\nlib___.dylib\n/Users/prabhueshwarla/.rustup/toolchains/stable-x86_64-apple-darwin\ndebug_assertions\nproc_macro\ntarget_arch=\"x86_64\"\ntarget_endian=\"little\"\ntarget_env=\"\"\ntarget_family=\"unix\"\ntarget_feature=\"fxsr\"\ntarget_feature=\"sse\"\ntarget_feature=\"sse2\"\ntarget_feature=\"sse3\"\ntarget_feature=\"ssse3\"\ntarget_os=\"macos\"\ntarget_pointer_width=\"64\"\ntarget_vendor=\"apple\"\nunix\n",""]},"successes":{}}

@ -1,5 +1,6 @@
# This file is automatically @generated by Cargo.
# It is not intended for manual editing.
[[package]]
name = "ocalc"
name = "aee"
version = "1.0.0"

@ -1,28 +1,24 @@
/// This is the main command-line application for arithmetic expression evaluator
// Standard library
use std::f64;
use std::io;
// code for arithmetic expression evaluation is in parsemath module
mod parsemath;
use parsemath::parser::ParseError;
use parsemath::ast;
use parsemath::parser::{ParseError, Parser};
// Function to invoke Parser and evaluate expression
fn evaluate(expr: String) -> Result<f64, ParseError> {
let len = expr.len();
let mut expr = expr;
expr.truncate(len - 1); // remove newline character
let mut math_parser = parsemath::parser::Parser::new(&expr)?;
let expr = expr.split_whitespace().collect::<String>(); // remove whitespace chars
let mut math_parser = Parser::new(&expr)?;
let ast = math_parser.parse()?;
println!("The generated AST is {:?}", ast);
Ok(parsemath::ast::eval(ast)?)
Ok(ast::eval(ast)?)
}
// Main function reads aritnmetic expression from command-line and displays result and error.
// It calls the evaluate function to perform compuation.
// It calls the evaluate function to perform computation.
fn main() {
println!("Hello! Welcome to Arithmetic expression evaluator.");

@ -1 +1 @@
{"rustc_fingerprint":4503571881771466578,"outputs":{"1164083562126845933":["rustc 1.43.0 (4fb7144ed 2020-04-20)\nbinary: rustc\ncommit-hash: 4fb7144ed159f94491249e86d5bbd033b5d60550\ncommit-date: 2020-04-20\nhost: x86_64-apple-darwin\nrelease: 1.43.0\nLLVM version: 9.0\n",""],"4476964694761187371":["___\nlib___.rlib\nlib___.dylib\nlib___.dylib\nlib___.a\nlib___.dylib\n/Users/prabhueshwarla/.rustup/toolchains/stable-x86_64-apple-darwin\ndebug_assertions\nproc_macro\ntarget_arch=\"x86_64\"\ntarget_endian=\"little\"\ntarget_env=\"\"\ntarget_family=\"unix\"\ntarget_feature=\"fxsr\"\ntarget_feature=\"sse\"\ntarget_feature=\"sse2\"\ntarget_feature=\"sse3\"\ntarget_feature=\"ssse3\"\ntarget_os=\"macos\"\ntarget_pointer_width=\"64\"\ntarget_vendor=\"apple\"\nunix\n",""]},"successes":{}}
{"rustc_fingerprint":4503571881771466578,"outputs":{"4476964694761187371":["___\nlib___.rlib\nlib___.dylib\nlib___.dylib\nlib___.a\nlib___.dylib\n/Users/prabhueshwarla/.rustup/toolchains/stable-x86_64-apple-darwin\ndebug_assertions\nproc_macro\ntarget_arch=\"x86_64\"\ntarget_endian=\"little\"\ntarget_env=\"\"\ntarget_family=\"unix\"\ntarget_feature=\"fxsr\"\ntarget_feature=\"sse\"\ntarget_feature=\"sse2\"\ntarget_feature=\"sse3\"\ntarget_feature=\"ssse3\"\ntarget_os=\"macos\"\ntarget_pointer_width=\"64\"\ntarget_vendor=\"apple\"\nunix\n",""],"1164083562126845933":["rustc 1.43.0 (4fb7144ed 2020-04-20)\nbinary: rustc\ncommit-hash: 4fb7144ed159f94491249e86d5bbd033b5d60550\ncommit-date: 2020-04-20\nhost: x86_64-apple-darwin\nrelease: 1.43.0\nLLVM version: 9.0\n",""]},"successes":{}}

@ -0,0 +1 @@
This file has an mtime of when this was started.

@ -0,0 +1 @@
{"rustc":12217307662193597186,"features":"[]","target":17622095666921960579,"profile":1647870076477133176,"path":1036222786711178230,"deps":[],"local":[{"CheckDepInfo":{"dep_info":"debug/.fingerprint/aee-55fa431da910c094/dep-test-bin-aee-55fa431da910c094"}}],"rustflags":[],"metadata":13779719443416291531}

@ -0,0 +1 @@
{"rustc":12217307662193597186,"features":"[]","target":17622095666921960579,"profile":14891217944882224483,"path":1036222786711178230,"deps":[],"local":[{"CheckDepInfo":{"dep_info":"debug/.fingerprint/aee-fa427f712e411cb5/dep-bin-aee-fa427f712e411cb5"}}],"rustflags":[],"metadata":13779719443416291531}

@ -0,0 +1 @@
This file has an mtime of when this was started.

@ -1 +0,0 @@
{"rustc":12217307662193597186,"features":"[]","target":7786015957388683530,"profile":1647870076477133176,"path":1036222786711178230,"deps":[],"local":[{"CheckDepInfo":{"dep_info":"debug/.fingerprint/ocalc-628cd1d3b6bbee1e/dep-test-bin-ocalc-628cd1d3b6bbee1e"}}],"rustflags":[],"metadata":13779719443416291531}

Some files were not shown because too many files have changed in this diff Show More

Loading…
Cancel
Save