Skip to content

Rust crate typenum fails to compile, on a clean new project #463

@Kinflou

Description

@Kinflou

Hello, i pretty much just created a new project with rust and it compile errors on deploy.
I searched github issues on dfinity/cdk-rs(here) and dfinity/ic but there seemed to be no one pointing this out

Steps to reproduce:

dfx new service -> Picked Rust, SvelteKit and Internet Identity
cd service
dfx start --background
dfx deploy

and that gives me a lot of errors(150 erriors) on the crate typenum about the crate crypto-common, here's a brief of some

error[E0433]: failed to resolve: use of undeclared type `N3`
   --> ~/.cargo/registry/src/index.crates.io-6f17d22bba15001f/typenum-1.17.0/src/type_operators.rs:249:14
    |
249 |     let n3 = N3::new();
    |              ^^ use of undeclared type `N3`

Regards.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions