Skip to content

Commit

Permalink
Merge pull request #13 from jzebedee/update-docs-and-deps
Browse files Browse the repository at this point in the history
Update docs and deps
  • Loading branch information
jzebedee authored Sep 21, 2023
2 parents 7c708dd + e472b60 commit bc8fa0b
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 16 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# ThumbHash
# [ThumbHash](https://github.com/jzebedee/ThumbHash)

[![ThumbHash nuget package](https://img.shields.io/nuget/v/ThumbHash.svg?style=flat)](https://www.nuget.org/packages/ThumbHash)
[![CI build-test-pack](https://github.com/jzebedee/ThumbHash/actions/workflows/ci.yml/badge.svg)](https://github.com/jzebedee/ThumbHash/actions/workflows/ci.yml)
Expand All @@ -11,8 +11,8 @@ A very compact representation of a placeholder for an image. Store it inline wit

|Image|ThumbHash|ThumbHash Image|
|-----|---------|---------------|
|![Flower](assets/flower.jpg)|<p>`93 4A 06 2D 06 92 56 C3 74 05 58 67 DA 8A B6 67 94 90 51 07 19`</p>21 bytes|<img alt="Flower ThumbHash" src="/assets/flower_thumbhash_rust.png" width=75 height=100>|
|![Tux](assets/tux.png)|<p>`A1 19 8A 1C 02 38 3A 25 D7 27 F6 8B 97 1F F7 F9 71 7F 80 37 67 58 98 79 06`</p>25 bytes|<img alt="Tux ThumbHash" src="/assets/tux_thumbhash_rust.png" width=84 height=100>|
|![Flower](https://github.com/jzebedee/ThumbHash/blob/master/assets/flower.jpg?raw=1)|93 4A 06 2D 06 92 56 C3 74 05 58 67 DA 8A B6 67 94 90 51 07 19|<img alt="Flower ThumbHash" src="https://github.com/jzebedee/ThumbHash/blob/master/assets/flower_thumbhash_rust.png?raw=1" width=75 height=100>|
|![Tux](https://github.com/jzebedee/ThumbHash/blob/master/assets/tux.png?raw=1)|A1 19 8A 1C 02 38 3A 25 D7 27 F6 8B 97 1F F7 F9 71 7F 80 37 67 58 98 79 06|<img alt="Tux ThumbHash" src="https://github.com/jzebedee/ThumbHash/blob/master/assets/tux_thumbhash_rust.png?raw=1" width=84 height=100>|

[See a demo of ThumbHash for .NET in Blazor _here_](https://jzebedee.github.io/ThumbHashBlazorWasm/)

Expand Down
6 changes: 3 additions & 3 deletions bench/ThumbHash.Benchmarks.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="BenchmarkDotNet" Version="0.13.5" />
<PackageReference Include="BenchmarkDotNet.Diagnostics.Windows" Version="0.13.5" />
<PackageReference Include="SkiaSharp" Version="2.88.3" />
<PackageReference Include="BenchmarkDotNet" Version="0.13.8" />
<PackageReference Include="BenchmarkDotNet.Diagnostics.Windows" Version="0.13.8" />
<PackageReference Include="SkiaSharp" Version="2.88.6" />
</ItemGroup>

<ItemGroup>
Expand Down
10 changes: 8 additions & 2 deletions src/ThumbHash/ThumbHash.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,11 @@
<ImplicitUsings>enable</ImplicitUsings>
<LangVersion>latest</LangVersion>
<Nullable>enable</Nullable>
<IsTrimmable>true</IsTrimmable>
<RootNamespace>ThumbHashes</RootNamespace>

<Product>ThumbHash</Product>
<Authors>jzebedee</Authors>
<VersionPrefix>2.1</VersionPrefix>
<VersionPrefix>2.1.1</VersionPrefix>
<Description>A very compact representation of a placeholder for an image. Store it inline with your data and show it while the real image is loading for a smoother loading experience.</Description>
<PackageProjectUrl>https://github.com/jzebedee/ThumbHash</PackageProjectUrl>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
Expand All @@ -24,6 +23,13 @@
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
</PropertyGroup>

<!-- Trimming support -->
<!-- see: Breaking change: IsTrimmable for netstandard libs #36775 -->
<!-- https://github.com/dotnet/docs/pull/36775 -->
<PropertyGroup Condition="$([MSBuild]::IsTargetFrameworkCompatible('$(TargetFramework)', 'net6.0'))">
<IsTrimmable>true</IsTrimmable>
</PropertyGroup>

<!-- Source Link Support -->
<PropertyGroup Condition="'$(GITHUB_ACTIONS)' == 'true'">
<ContinuousIntegrationBuild>true</ContinuousIntegrationBuild>
Expand Down
16 changes: 8 additions & 8 deletions test/ThumbHash.Tests/ThumbHash.Tests.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -25,14 +25,14 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.6.3" />
<PackageReference Include="Microsoft.TestPlatform.ObjectModel" Version="17.6.3" />
<PackageReference Include="SkiaSharp" Version="2.88.3" />
<PackageReference Include="SkiaSharp.NativeAssets.Linux.NoDependencies" Version="2.88.3" />
<PackageReference Include="SkiaSharp.NativeAssets.macOS" Version="2.88.3" />
<PackageReference Include="SkiaSharp.NativeAssets.Win32" Version="2.88.3" />
<PackageReference Include="xunit" Version="2.5.0" />
<PackageReference Include="xunit.runner.visualstudio" Version="2.5.0">
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.7.2" />
<PackageReference Include="Microsoft.TestPlatform.ObjectModel" Version="17.7.2" />
<PackageReference Include="SkiaSharp" Version="2.88.6" />
<PackageReference Include="SkiaSharp.NativeAssets.Linux.NoDependencies" Version="2.88.6" />
<PackageReference Include="SkiaSharp.NativeAssets.macOS" Version="2.88.6" />
<PackageReference Include="SkiaSharp.NativeAssets.Win32" Version="2.88.6" />
<PackageReference Include="xunit" Version="2.5.1" />
<PackageReference Include="xunit.runner.visualstudio" Version="2.5.1">
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
<PrivateAssets>all</PrivateAssets>
</PackageReference>
Expand Down

0 comments on commit bc8fa0b

Please sign in to comment.