Git Product home page Git Product logo

Comments (1)

tarcieri avatar tarcieri commented on July 3, 2024

If I add the exact line you provided to a Cargo.toml in an otherwise empty project:

p256 = { version = "0.9.0", features = ["ecdsa"], default-features = false }

Then getrandom does not appear in the Cargo.lock:

$ cargo lock -d
- block-buffer 0.9.0
  - generic-array 0.14.4
- cfg-if 1.0.0
- cpufeatures 0.2.1
  - libc 0.2.103
- crypto-bigint 0.2.10
  - generic-array 0.14.4
  - rand_core 0.6.3
  - subtle 2.4.1
  - zeroize 1.4.2
- crypto-mac 0.11.1
  - generic-array 0.14.4
  - subtle 2.4.1
- der 0.4.3
- digest 0.9.0
  - generic-array 0.14.4
- ecdsa 0.12.4
  - der 0.4.3
  - elliptic-curve 0.10.6
  - hmac 0.11.0
  - signature 1.3.1
- elliptic-curve 0.10.6
  - crypto-bigint 0.2.10
  - ff 0.10.1
  - generic-array 0.14.4
  - group 0.10.0
  - rand_core 0.6.3
  - subtle 2.4.1
  - zeroize 1.4.2
- ff 0.10.1
  - rand_core 0.6.3
  - subtle 2.4.1
- generic-array 0.14.4
  - typenum 1.14.0
  - version_check 0.9.3
- group 0.10.0
  - ff 0.10.1
  - rand_core 0.6.3
  - subtle 2.4.1
- herpderp 0.1.0
  - p256 0.9.0
- hmac 0.11.0
  - crypto-mac 0.11.1
  - digest 0.9.0
- libc 0.2.103
- opaque-debug 0.3.0
- p256 0.9.0
  - ecdsa 0.12.4
  - elliptic-curve 0.10.6
  - sha2 0.9.8
- rand_core 0.6.3
- sha2 0.9.8
  - block-buffer 0.9.0
  - cfg-if 1.0.0
  - cpufeatures 0.2.1
  - digest 0.9.0
  - opaque-debug 0.3.0
- signature 1.3.1
  - digest 0.9.0
  - rand_core 0.6.3
- subtle 2.4.1
- typenum 1.14.0
- version_check 0.9.3
- zeroize 1.4.2

Another check:

$ grep getrandom Cargo.lock
$

You must be pulling in getrandom via some other dependency.

from elliptic-curves.

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.