migrate dependencies into workspace manifest

korrat
Oct 2, 2022, 1:58 PM
UESS5YZE6ZHPMVUL2P2OACW2Y2QLFLLLLC3F3JAENVH6A7REKLBAC

Dependencies

  • [2] MG46NYAC enable deserialization of configuration for common utilities
  • [3] QRIJE4AQ add a simple pretty printer for beancount directives
  • [4] MYQI5JID update dependencies
  • [5] ONRIF4V7 add basic snapshot test for pretty printer
  • [6] M7VINXOF use fixed_decimal for decimal formatting
  • [7] 5S4MZHL5 pretty print decimals using icu
  • [8] I2P2FTLE add basic parser for german decimals
  • [9] YDK6X6PP add a library of important types for beancount
  • [10] D6UTHZA4 add a simple writer for saving a set of directives to a tree of files
  • [11] ND7GASJ4 track current column position when writing
  • [12] NSWL54NM allow deriving pretty printing config from a set of directives

Change contents

  • replacement in common/german-decimal/Cargo.toml at line 7
    [3.9720][3.9720:9744]()
    rust_decimal = "1.26.1"
    [3.9720]
    [3.9744]
    # Inherited dependencies
    rust_decimal.workspace = true
  • replacement in common/german-decimal/Cargo.toml at line 11
    [3.9764][3.9764:9795]()
    rust_decimal_macros = "1.26.1"
    [3.9764]
    # Inherited dependencies
    proptest.workspace = true
    rust_decimal_macros.workspace = true
  • edit in common/beancount-types/Cargo.toml at line 3
    [3.25822][3.25822:25863]()
    version = "0.0.0-dev.0"
    edition = "2021"
  • replacement in common/beancount-types/Cargo.toml at line 4
    [3.25864][3.25864:25961]()
    # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
    [3.25864]
    [3.25961]
    edition.workspace = true
    rust-version.workspace = true
    version.workspace = true
  • replacement in common/beancount-types/Cargo.toml at line 9
    [3.25977][3.25977:26015](),[3.26015][3.0:114]()
    arrayvec = "0.7.2"
    delegate = "0.8.0"
    lazy-regex = "2.3.0"
    once_cell = "1.15.0"
    regex = "1.6.0"
    rust_decimal = "1.26.1"
    snafu = "0.7.1"
    time = "0.3.14"
    [3.25977]
    [3.26127]
    # Inherited dependencies
    arrayvec.workspace = true
    delegate.workspace = true
    lazy-regex.workspace = true
    once_cell.workspace = true
    regex.workspace = true
    rust_decimal.workspace = true
    snafu.workspace = true
    time.workspace = true
  • replacement in common/beancount-types/Cargo.toml at line 20
    [3.26147][3.115:132](),[3.132][3.26164:26243](),[3.26164][3.26164:26243]()
    insta = "1.20.0"
    proptest = "1.0.0"
    static_assertions = "1.1.0"
    test-case = "2.2.1"
    [features]
    [3.26147]
    # Inherited dependencies
    insta.workspace = true
    static_assertions.workspace = true
    test-case.workspace = true
  • edit in common/beancount-tree-writer/Cargo.toml at line 9
    [3.4616][3.4616:4724]()
    camino = "1.1.1"
    color-eyre = "0.6.2"
    itertools = "0.10.5"
    rayon = "1.5.3"
    time = "0.3.14"
    snafu = "0.7.1"
  • replacement in common/beancount-tree-writer/Cargo.toml at line 13
    [3.4802][2.1820:1847]()
    # Inherited from workspace
    [3.4802]
    [2.1847]
    # Inherited dependencies
    camino.workspace = true
    color-eyre.workspace = true
    dashmap.workspace = true
    itertools.workspace = true
    rayon.workspace = true
  • replacement in common/beancount-tree-writer/Cargo.toml at line 20
    [2.1870][2.1870:1871](),[2.1871][3.4861:4924](),[3.4861][3.4861:4924]()
    [dependencies.dashmap]
    version = "5.4.0"
    features = ["rayon"]
    [2.1870]
    snafu.workspace = true
    time.workspace = true
  • edit in common/beancount-pretty-printer/Cargo.toml at line 3
    [3.5104][3.5104:5145]()
    version = "0.0.0-dev.0"
    edition = "2021"
  • replacement in common/beancount-pretty-printer/Cargo.toml at line 4
    [3.5146][3.5146:5243]()
    # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
    [3.5146]
    [3.5243]
    edition.workspace = true
    rust-version.workspace = true
    version.workspace = true
  • edit in common/beancount-pretty-printer/Cargo.toml at line 25
    [3.1063][3.2220:2221](),[3.1766][3.2220:2221](),[3.5343][3.2220:2221](),[3.2221][3.1767:1873]()
    [build-dependencies]
    icu_datagen.workspace = true
    icu_decimal.workspace = true
    icu_locid.workspace = true
  • edit in common/beancount-pretty-printer/Cargo.toml at line 27
    [3.2241]
    [3.2241]
    # Inherited dependencies
  • edit in common/beancount-pretty-printer/Cargo.toml at line 31
    [3.2286]
    [build-dependencies]
    # Inherited dependencies
    icu_datagen.workspace = true
    icu_decimal.workspace = true
    icu_locid.workspace = true
  • edit in Cargo.toml at line 11
    [3.2350]
    [3.1064]
    arrayvec = "0.7.2"
  • edit in Cargo.toml at line 13
    [3.1079]
    [3.776]
    clap-verbosity-flag = "2.0.0"
    color-eyre = "0.6.2"
    delegate = "0.8.0"
  • edit in Cargo.toml at line 21
    [3.1999]
    [3.2350]
    icu_testdata = "1.0.0"
  • edit in Cargo.toml at line 23
    [3.2367]
    [3.2000]
    inventory = "0.3.1"
    itertools = "0.10.5"
    lazy-regex = "2.3.0"
  • edit in Cargo.toml at line 28
    [3.2039]
    [3.7673]
    proptest = "1.0.0"
  • edit in Cargo.toml at line 30
    [3.7689]
    [3.2367]
    regex = "1.6.0"
    ron = "0.8.0"
  • edit in Cargo.toml at line 34
    [3.2422]
    [3.7690]
    snafu = "0.7.1"
    static_assertions = "1.1.0"
    test-case = "2.2.2"
    tracing = "0.1.36"
    tracing-error = "0.2.0"
    tracing-log = "0.1.3"
  • edit in Cargo.toml at line 42
    [3.2058]
    [3.2422]
    [workspace.dependencies.camino]
    features = ["serde1"]
    version = "1.1.1"
  • edit in Cargo.toml at line 47
    [3.2423]
    [3.2059]
    [workspace.dependencies.clap]
    features = ["derive"]
    version = "4.0.8"
  • edit in Cargo.toml at line 51
    [3.2060]
    [3.2423]
    [workspace.dependencies.dashmap]
    features = ["rayon"]
    version = "5.4.0"
    [workspace.dependencies.serde]
    features = ["derive"]
    version = "1.0.145"
  • edit in Cargo.toml at line 62
    [3.2494]
    [workspace.dependencies.tracing-subscriber]
    features = ["env-filter"]
    version = "0.3.15"
    [workspace.package]
    edition = "2021"
    rust-version = "1.64"
    version = "0.0.0-dev.0"
  • edit in Cargo.lock at line 59
    [3.2806]
    [3.2806]
    ]
    [[package]]
    name = "ansi_term"
    version = "0.12.1"
    source = "registry+https://github.com/rust-lang/crates.io-index"
    checksum = "d52a9bb7ec0cf484c551830a7ce27bd20d67eac647e1befb56b0be4ee39a55d2"
    dependencies = [
    "winapi",
  • edit in Cargo.lock at line 86
    [3.10225]
    [3.10225]
    name = "atty"
    version = "0.2.14"
    source = "registry+https://github.com/rust-lang/crates.io-index"
    checksum = "d9b39be18770d11421cdb1b9947a45dd3f37e93092cbf377614828a319d5fee8"
    dependencies = [
    "hermit-abi",
    "libc",
    "winapi",
    ]
    [[package]]
  • edit in Cargo.lock at line 151
    [3.4106]
    [3.5470]
    name = "beancount-importers-framework"
    version = "0.0.0-dev.0"
    dependencies = [
    "beancount-pretty-printer",
    "beancount-tree-writer",
    "camino",
    "clap",
    "clap-verbosity-flag",
    "color-eyre",
    "inventory",
    "ron",
    "serde",
    "tracing",
    "tracing-error",
    "tracing-log",
    "tracing-subscriber",
    "uniondepot",
    ]
    [[package]]
  • replacement in Cargo.lock at line 175
    [3.5565][3.1080:1089]()
    "bstr",
    [3.5565]
    [3.801]
    "bstr 1.0.1",
  • edit in Cargo.lock at line 187
    [3.2530]
    [3.4198]
    "serde",
  • edit in Cargo.lock at line 204
    [3.5875]
    [3.5875]
    "serde",
  • edit in Cargo.lock at line 218
    [3.26666][3.26666:26679]()
    "proptest",
  • edit in Cargo.lock at line 275
    [3.5088]
    [3.5088]
    ]
    [[package]]
    name = "bstr"
    version = "0.2.17"
    source = "registry+https://github.com/rust-lang/crates.io-index"
    checksum = "ba3569f383e8f1598449f1a423e72e99569137b47740b1da11ef19af3d5c3223"
    dependencies = [
    "lazy_static",
    "memchr",
    "regex-automata 0.1.10",
    "serde",
  • edit in Cargo.lock at line 389
    [3.6072]
    [3.6072]
    dependencies = [
    "serde",
    ]
  • edit in Cargo.lock at line 436
    [3.7649]
    [3.7649]
    ]
    [[package]]
    name = "clap"
    version = "4.0.8"
    source = "registry+https://github.com/rust-lang/crates.io-index"
    checksum = "5840cd9093aabeabf7fd932754c435b7674520fc3ddc935c397837050f0f1e4b"
    dependencies = [
    "atty",
    "bitflags",
    "clap_derive",
    "clap_lex",
    "once_cell",
    "strsim",
    "termcolor",
  • edit in Cargo.lock at line 454
    [3.6286]
    [3.7652]
    name = "clap-verbosity-flag"
    version = "2.0.0"
    source = "registry+https://github.com/rust-lang/crates.io-index"
    checksum = "23e2b6c3dcdb73299f48ae05b294da14e2f560b3ed2c09e742269eb1b22af231"
    dependencies = [
    "clap",
    "log",
    ]
    [[package]]
    name = "clap_derive"
    version = "4.0.8"
    source = "registry+https://github.com/rust-lang/crates.io-index"
    checksum = "92289ffc6fb4a85d85c246ddb874c05a87a2e540fb6ad52f7ca07c8c1e1840b1"
    dependencies = [
    "heck",
    "proc-macro-error",
    "proc-macro2",
    "quote",
    "syn",
    ]
    [[package]]
    name = "clap_lex"
    version = "0.3.0"
    source = "registry+https://github.com/rust-lang/crates.io-index"
    checksum = "0d4198f73e42b4936b35b5bb248d81d2b595ecb170da0bac7655c54eedfa8da8"
    dependencies = [
    "os_str_bytes",
    ]
    [[package]]
  • replacement in Cargo.lock at line 643
    [3.7418][3.7418:7437]()
    version = "0.9.10"
    [3.7418]
    [3.7437]
    version = "0.9.11"
  • replacement in Cargo.lock at line 645
    [3.7502][3.7502:7580]()
    checksum = "045ebe27666471bb549370b4b0b3e51b07f56325befa4284db65fc89c02511b1"
    [3.7502]
    [3.7580]
    checksum = "f916dfc5d356b0ed9dae65f1db9fc9770aa2851d2662b988ccf4fe3516e86348"
  • edit in Cargo.lock at line 651
    [3.7654][3.7654:7668]()
    "once_cell",
  • replacement in Cargo.lock at line 656
    [3.7723][3.7723:7742]()
    version = "0.8.11"
    [3.7723]
    [3.7742]
    version = "0.8.12"
  • replacement in Cargo.lock at line 658
    [3.7807][3.7807:7885]()
    checksum = "51887d4adc7b564537b15adcfb307936f8075dfcd5f00dde9a9f1d29383682bc"
    [3.7807]
    [3.7885]
    checksum = "edbafec5fa1f196ca66527c1b12c2ec4745ca14b50f1ad8f9f6f720b55d11fac"
  • edit in Cargo.lock at line 661
    [3.10254][3.7913:7927](),[3.7913][3.7913:7927]()
    "once_cell",
  • edit in Cargo.lock at line 671
    [3.10501]
    [3.10501]
    ]
    [[package]]
    name = "csv"
    version = "1.1.6"
    source = "registry+https://github.com/rust-lang/crates.io-index"
    checksum = "22813a6dc45b335f9bade10bf7271dc477e81113e89eb251a0bc2a8a81c536e1"
    dependencies = [
    "bstr 0.2.17",
    "csv-core",
    "itoa 0.4.8",
    "ryu",
    "serde",
    ]
    [[package]]
    name = "csv-core"
    version = "0.1.10"
    source = "registry+https://github.com/rust-lang/crates.io-index"
    checksum = "2b2466559f260f48ad25fe6317b3c8dac77b5bdb5763ac7d9d6103530663bc90"
    dependencies = [
    "memchr",
  • edit in Cargo.lock at line 696
    [3.10516]
    [3.10516]
    name = "ctor"
    version = "0.1.23"
    source = "registry+https://github.com/rust-lang/crates.io-index"
    checksum = "cdffe87e1d521a10f9696f833fe502293ea446d7f256c06128293a4119bdf4cb"
    dependencies = [
    "quote",
    "syn",
    ]
    [[package]]
  • edit in Cargo.lock at line 1132
    [3.10481]
    [3.10481]
    "proptest",
  • edit in Cargo.lock at line 1149
    [3.8675]
    [3.8675]
    name = "ghost"
    version = "0.1.6"
    source = "registry+https://github.com/rust-lang/crates.io-index"
    checksum = "eb19fe8de3ea0920d282f7b77dd4227aea6b8b999b42cdf0ca41b2472b14443a"
    dependencies = [
    "proc-macro2",
    "quote",
    "syn",
    ]
    [[package]]
  • replacement in Cargo.lock at line 1268
    [3.20674][3.20674:20683]()
    "itoa",
    [3.20674]
    [3.20683]
    "itoa 1.0.3",
  • replacement in Cargo.lock at line 1309
    [3.21649][3.21649:21658]()
    "itoa",
    [3.21649]
    [3.21658]
    "itoa 1.0.3",
  • edit in Cargo.lock at line 1757
    [3.30174]
    [3.30174]
    name = "inventory"
    version = "0.3.1"
    source = "registry+https://github.com/rust-lang/crates.io-index"
    checksum = "30a61b8101d87996f82d725ba701b1987b7afc72f481c13513a30b855b9c9133"
    dependencies = [
    "ctor",
    "ghost",
    ]
    [[package]]
  • edit in Cargo.lock at line 1783
    [3.30380]
    [3.30380]
    version = "0.4.8"
    source = "registry+https://github.com/rust-lang/crates.io-index"
    checksum = "b71991ff56294aa922b450139ee08b3bfc70982c6b2c7562771375cf73542dd4"
    [[package]]
    name = "itoa"
  • replacement in Cargo.lock at line 1848
    [3.30771][3.232:252]()
    version = "0.2.133"
    [3.30771]
    [3.30791]
    version = "0.2.134"
  • replacement in Cargo.lock at line 1850
    [3.30856][3.253:331]()
    checksum = "c0f80d65747a3e43d1596c7c5492d95d5edddaabd45a7fcdb02b95f644164966"
    [3.30856]
    [3.30934]
    checksum = "329c933548736bc49fd575ee68c89e8be4d260064184389a5b77517cddd99ffb"
  • edit in Cargo.lock at line 1924
    [3.32556]
    [3.32556]
    ]
    [[package]]
    name = "matchers"
    version = "0.1.0"
    source = "registry+https://github.com/rust-lang/crates.io-index"
    checksum = "8263075bb86c5a1b1427b5ae862e8889656f126e9f77c484496e8b47cf5c5558"
    dependencies = [
    "regex-automata 0.1.10",
  • edit in Cargo.lock at line 2148
    [3.36177]
    [3.10848]
    name = "os_str_bytes"
    version = "6.3.0"
    source = "registry+https://github.com/rust-lang/crates.io-index"
    checksum = "9ff7415e9ae3fff1225851df9e0d9e4e5479f947619774677a63572e55e80eff"
    [[package]]
  • replacement in Cargo.lock at line 2278
    [3.10784][3.10784:10803]()
    version = "1.0.43"
    [3.10784]
    [3.10803]
    version = "1.0.46"
  • replacement in Cargo.lock at line 2280
    [3.10868][3.10868:10946]()
    checksum = "0a2ca2c61bc9f3d74d2886294ab7b9853abd9c1ad903a3ac7815c58989bb7bab"
    [3.10868]
    [3.10946]
    checksum = "94e2ef8dbfc347b10c094890f778ee2e36ca9bb4262e86dc99cd217e35f3470b"
  • edit in Cargo.lock at line 2434
    [3.1538]
    [3.38499]
    dependencies = [
    "regex-syntax",
    ]
  • edit in Cargo.lock at line 2565
    [3.40860]
    [3.40860]
    ]
    [[package]]
    name = "ron"
    version = "0.8.0"
    source = "registry+https://github.com/rust-lang/crates.io-index"
    checksum = "300a51053b1cb55c80b7a9fde4120726ddf25ca241a1cbb926626f62fb136bff"
    dependencies = [
    "base64",
    "bitflags",
    "serde",
  • replacement in Cargo.lock at line 2775
    [3.44749][3.44749:44758]()
    "itoa",
    [3.44749]
    [3.44758]
    "itoa 1.0.3",
  • replacement in Cargo.lock at line 2787
    [3.45015][3.45015:45024]()
    "itoa",
    [3.45015]
    [3.45024]
    "itoa 1.0.3",
  • edit in Cargo.lock at line 2972
    [3.48257]
    [3.48257]
    [[package]]
    name = "strsim"
    version = "0.10.0"
    source = "registry+https://github.com/rust-lang/crates.io-index"
    checksum = "73473c0e59e6d5812c5dfe2a064a6444949f089e20eec9a2e5506596494e4623"
  • replacement in Cargo.lock at line 2987
    [3.36342][3.629:649]()
    version = "1.0.100"
    [3.36342]
    [3.36361]
    version = "1.0.101"
  • replacement in Cargo.lock at line 2989
    [3.36426][3.650:728]()
    checksum = "52205623b1b0f064a4e71182c3b18ae902267282930c6d5462c91b859668426e"
    [3.36426]
    [3.36504]
    checksum = "e90cde112c4b9690b8cbe810cba9ddd8bc1d7472e2cae317b69e9438c1cba7d2"
  • edit in Cargo.lock at line 3037
    [3.36857]
    [3.36857]
    ]
    [[package]]
    name = "termcolor"
    version = "1.1.3"
    source = "registry+https://github.com/rust-lang/crates.io-index"
    checksum = "bab24d30b911b2376f3a13cc2cd443142f0c81dda04c118693e35b3835757755"
    dependencies = [
    "winapi-util",
  • replacement in Cargo.lock at line 3060
    [3.37128][3.37128:37146]()
    version = "2.2.1"
    [3.37128]
    [3.37146]
    version = "2.2.2"
  • replacement in Cargo.lock at line 3062
    [3.37211][3.37211:37289]()
    checksum = "07aea929e9488998b64adc414c29fe5620398f01c2e3f58164122b17e567a6d5"
    [3.37211]
    [3.37289]
    checksum = "21d6cf5a7dffb3f9dceec8e6b8ca528d9bd71d36c9f074defb548ce161f598c0"
  • replacement in Cargo.lock at line 3069
    [3.37368][3.37368:37386]()
    version = "2.2.1"
    [3.37368]
    [3.37386]
    version = "2.2.2"
  • replacement in Cargo.lock at line 3071
    [3.37451][3.37451:37529]()
    checksum = "c95968eedc6fc4f5c21920e0f4264f78ec5e4c56bb394f319becc1a5830b3e54"
    [3.37451]
    [3.37529]
    checksum = "e45b7bf6e19353ddd832745c8fcf77a17a93171df7151187f26623f2b75b5b26"
  • replacement in Cargo.lock at line 3147
    [3.37820][3.50442:50451]()
    "itoa",
    [3.37820]
    [3.37820]
    "itoa 1.0.3",
  • edit in Cargo.lock at line 3307
    [3.13876]
    [3.13876]
    ]
    [[package]]
    name = "tracing-log"
    version = "0.1.3"
    source = "registry+https://github.com/rust-lang/crates.io-index"
    checksum = "78ddad33d2d10b1ed7eb9d1f518a5674713876e97e5bb9b7345a7984fbb4f922"
    dependencies = [
    "lazy_static",
    "log",
    "tracing-core",
  • edit in Cargo.lock at line 3326
    [3.14098]
    [3.14098]
    "ansi_term",
    "matchers",
    "once_cell",
    "regex",
  • edit in Cargo.lock at line 3331
    [3.14115]
    [3.14115]
    "smallvec",
  • edit in Cargo.lock at line 3333
    [3.14132]
    [3.14132]
    "tracing",
  • edit in Cargo.lock at line 3335
    [3.14149]
    [3.37845]
    "tracing-log",
  • edit in Cargo.lock at line 3382
    [3.54286]
    [3.54286]
    [[package]]
    name = "uniondepot"
    version = "0.0.0-dev.0"
    dependencies = [
    "beancount-types",
    "color-eyre",
    "csv",
    "german-decimal",
    "inventory",
    "once_cell",
    "time 0.3.14",
    ]
  • edit in Cargo.lock at line 3869
    [3.38977]
    [3.38977]
    name = "winapi-util"
    version = "0.1.5"
    source = "registry+https://github.com/rust-lang/crates.io-index"
    checksum = "70ec6ce85bb158151cae5e5c87f95a8e97d2c0c4b001223f33a334e3ce5de178"
    dependencies = [
    "winapi",
    ]
    [[package]]