Code Monkey home page Code Monkey logo

Comments (3)

alice-i-cecile avatar alice-i-cecile commented on May 10, 2024 2

criterion should be a dev-dependency, which would take it out of the tree for the purposes that @james7132 cares about (reducing Bevy's dependency bloat).

Edit: looks like it already is, so I'm going to close this out.

from taffy.

Weibye avatar Weibye commented on May 10, 2024

Looking at the dependency tree, it is criterion which is reason lazy_static is included.

sprawl v0.1.0
├── arrayvec v0.7.2
├── hash32 v0.2.1
│   └── byteorder v1.4.3
├── hash32-derive v0.1.1 (proc-macro)
│   ├── proc-macro2 v1.0.39
│   │   └── unicode-ident v1.0.0
│   ├── quote v1.0.18
│   │   └── proc-macro2 v1.0.39 (*)
│   └── syn v1.0.95
│       ├── proc-macro2 v1.0.39 (*)
│       ├── quote v1.0.18 (*)
│       └── unicode-ident v1.0.0
├── heapless v0.7.13
│   ├── hash32 v0.2.1 (*)
│   ├── spin v0.9.3
│   │   └── lock_api v0.4.7
│   │       └── scopeguard v1.1.0
│   │       [build-dependencies]
│   │       └── autocfg v1.1.0
│   └── stable_deref_trait v1.2.0
│   [build-dependencies]
│   └── rustc_version v0.4.0
│       └── semver v1.0.9
├── num-traits v0.2.15
│   [build-dependencies]
│   └── autocfg v1.1.0
└── typenum v1.15.0
[dev-dependencies]
└── criterion v0.3.5
    ├── atty v0.2.14
    │   └── winapi v0.3.9
    ├── cast v0.2.7
    │   [build-dependencies]
    │   └── rustc_version v0.4.0 (*)
    ├── clap v2.34.0
    │   ├── bitflags v1.3.2
    │   ├── textwrap v0.11.0
    │   │   └── unicode-width v0.1.9
    │   └── unicode-width v0.1.9
    ├── criterion-plot v0.4.4
    │   ├── cast v0.2.7 (*)
    │   └── itertools v0.10.3
    │       └── either v1.6.1
    ├── csv v1.1.6
    │   ├── bstr v0.2.17
    │   │   ├── lazy_static v1.4.0                       <------------
    │   │   ├── memchr v2.5.0
    │   │   ├── regex-automata v0.1.10
    │   │   └── serde v1.0.137
    │   ├── csv-core v0.1.10
    │   │   └── memchr v2.5.0
    │   ├── itoa v0.4.8
    │   ├── ryu v1.0.10
    │   └── serde v1.0.137
    ├── itertools v0.10.3 (*)
    ├── lazy_static v1.4.0                                <------------
    ├── num-traits v0.2.15 (*)
    ├── oorandom v11.1.3
    ├── plotters v0.3.1
    │   ├── num-traits v0.2.15 (*)
    │   ├── plotters-backend v0.3.2
    │   └── plotters-svg v0.3.1
    │       └── plotters-backend v0.3.2
    ├── rayon v1.5.3
    │   ├── crossbeam-deque v0.8.1
    │   │   ├── cfg-if v1.0.0
    │   │   ├── crossbeam-epoch v0.9.8
    │   │   │   ├── cfg-if v1.0.0
    │   │   │   ├── crossbeam-utils v0.8.8
    │   │   │   │   ├── cfg-if v1.0.0
    │   │   │   │   └── lazy_static v1.4.0            <------------
    │   │   │   ├── lazy_static v1.4.0                <------------
    │   │   │   ├── memoffset v0.6.5
    │   │   │   │   [build-dependencies]
    │   │   │   │   └── autocfg v1.1.0
    │   │   │   └── scopeguard v1.1.0
    │   │   │   [build-dependencies]
    │   │   │   └── autocfg v1.1.0
    │   │   └── crossbeam-utils v0.8.8 (*)
    │   ├── either v1.6.1
    │   └── rayon-core v1.9.3
    │       ├── crossbeam-channel v0.5.4
    │       │   ├── cfg-if v1.0.0
    │       │   └── crossbeam-utils v0.8.8 (*)
    │       ├── crossbeam-deque v0.8.1 (*)
    │       ├── crossbeam-utils v0.8.8 (*)
    │       └── num_cpus v1.13.1
    │   [build-dependencies]
    │   └── autocfg v1.1.0
    ├── regex v1.5.6
    │   └── regex-syntax v0.6.26
    ├── serde v1.0.137
    ├── serde_cbor v0.11.2
    │   ├── half v1.8.2
    │   └── serde v1.0.137
    ├── serde_derive v1.0.137 (proc-macro)
    │   ├── proc-macro2 v1.0.39 (*)
    │   ├── quote v1.0.18 (*)
    │   └── syn v1.0.95 (*)
    ├── serde_json v1.0.81
    │   ├── itoa v1.0.2
    │   ├── ryu v1.0.10
    │   └── serde v1.0.137
    ├── tinytemplate v1.2.1
    │   ├── serde v1.0.137
    │   └── serde_json v1.0.81 (*)
    └── walkdir v2.3.2
        ├── same-file v1.0.6
        │   └── winapi-util v0.1.5
        │       └── winapi v0.3.9
        ├── winapi v0.3.9
        └── winapi-util v0.1.5 (*)

from taffy.

Weibye avatar Weibye commented on May 10, 2024

Which is to say: I'm not sure what is the course of action we can take here to solve this. Do we find something other than Criterion to use? Do we convince them to change their dependencies?

from taffy.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.