Skip to content
  • Russell Cohen's avatar
    a0b60ed5
    Add clippy.toml with forbidden methods & fix SystemTime usages (#2882) · a0b60ed5
    Russell Cohen authored
    
    
    ## Motivation and Context
    - #2087 
    
    ## Description
    - remove lingering usages of SystemTime::now()
    - ensure they don't return by adding a clippy.toml
    
    ## Testing
    - CI
    - Ran the webassembly example
    
    ## Checklist
    <!--- If a checkbox below is not applicable, then please DELETE it
    rather than leaving it unchecked -->
    - [ ] I have updated `CHANGELOG.next.toml` if I made changes to the
    smithy-rs codegen or runtime crates
    - [ ] I have updated `CHANGELOG.next.toml` if I made changes to the AWS
    SDK, generated SDK code, or SDK runtime crates
    
    ----
    
    _By submitting this pull request, I confirm that you can use, modify,
    copy, and redistribute this contribution, under the terms of your
    choice._
    
    ---------
    
    Co-authored-by: default avatarJohn DiSanti <jdisanti@amazon.com>
    a0b60ed5
    Add clippy.toml with forbidden methods & fix SystemTime usages (#2882)
    Russell Cohen authored
    
    
    ## Motivation and Context
    - #2087 
    
    ## Description
    - remove lingering usages of SystemTime::now()
    - ensure they don't return by adding a clippy.toml
    
    ## Testing
    - CI
    - Ran the webassembly example
    
    ## Checklist
    <!--- If a checkbox below is not applicable, then please DELETE it
    rather than leaving it unchecked -->
    - [ ] I have updated `CHANGELOG.next.toml` if I made changes to the
    smithy-rs codegen or runtime crates
    - [ ] I have updated `CHANGELOG.next.toml` if I made changes to the AWS
    SDK, generated SDK code, or SDK runtime crates
    
    ----
    
    _By submitting this pull request, I confirm that you can use, modify,
    copy, and redistribute this contribution, under the terms of your
    choice._
    
    ---------
    
    Co-authored-by: default avatarJohn DiSanti <jdisanti@amazon.com>
Loading