0c6bbaf1 — pyrossh

HEAD -> master

3 weeks ago
v8.7.2: Update repo links to sub-packages

98407c58 — pyrossh

1 month ago
release 8.7.1

7d5313d3 — pyrossh

1 month ago
update formatting

cba24b8a — pyrossh

1 month ago
improve docs

b8c122cd — pyrossh

1 month ago
update readme

54216544 — pyrossh

1 month ago
remove workflows

91d54812 — pyrossh

1 month ago
update info

80b24a27 — pyrossh

1 month ago
update README

ab55a843 — pyrossh

1 month ago
update link to repo

d04e72ad — pyrossh

1 month ago
rename readme

a9accda3 — Peter John

1 month ago
add LICENSE

f292486b — Peter John

1 month ago
v8.7.0

9b1dc2ae — Peter John

2 months ago
Merge pull request #259 from daywalker90/fix-deterministic-release-build

fix non-deterministic release builds
e09d3401 — daywalker90

2 months ago
add deterministic timestamps flag for deterministic builds

52179a4c — Peter John

3 months ago
Merge pull request #258 from slowtec/update-to-axum-v0.8

Update axum to v0.8.x
4be481cd — Markus Kohlhase

3 months ago
Update axum to v0.8.x

cbc2b18c — Peter John

3 months ago
release v8.6.0

769f661b — Peter John

3 months ago
Merge pull request #256 from lirannl/master

Add allow_missing option to derive macro
5655966b — Liran Piade

3 months ago
Ensure examples/missing is missing

7275dfbc — Liran Piade

3 months ago
Add unit test

439e72e9 — Liran Piade

5 months ago
Don't change folder-not-found message

f4874638 — Liran Piade

5 months ago
Revert irrelevant change to readme

097d1878 — Liran Piade

5 months ago
Add allow_missing option to derive macro

2e690812 — Peter John

5 months ago
Merge pull request #255 from hamirmahal/refactor/replace-map-unwrap-or-else

refactor: replace `map().unwrap_or_else()`
6ef52c61 — Peter John

5 months ago
Merge pull request #253 from wkmyws/master

Compatible with Axum 0.7.9
7ced6cd2 — Hamir Mahal

5 months ago
refactor: replace `map().unwrap_or_else()`

f38c3995 — SuperYY

5 months ago
Compatible with Axum 0.7.9

3ae5a2c2 — Peter John

6 months ago
Update readme.md

0f77282b — Peter John

7 months ago
Merge pull request #250 from hamirmahal/refactor/remove-redundant-reference-and-closure

refactor: remove redundant reference and closure
55026353 — Hamir Mahal

8 months ago
refactor: remove redundant reference and closure

edeab18b — Peter John

10 months ago
Update readme.md

c25b1f7b — pyrossh

10 months ago
fix tests

67377504 — pyrossh

10 months ago
release v8.5.0

105fdfeb — Peter John

1 year ago
Merge pull request #246 from krant/master

Update include-flate to 0.3
7ec554ea — Peter John

1 year ago
Merge pull request #232 from Wulf/wulf/custom-crate-path

Allow users to specify a custom path to the rust_embed crate in generated code
d426541c — krant

1 year ago
Update include-flate to 0.3

e1f172ee — Haris Khan

1 year ago
Allow users to specify a custom path to the rust_embed crate in generated code

07455675 — pyrossh

1 year ago
increase minimum rust-version to v1.7.0.0

4e605255 — pyrossh

1 year ago
v8.4.0

362cea10 — Peter John

1 year ago
Merge pull request #245 from pyrossh/fixes_222

lib: re-export RustEmbed as Embed
ec83ecb3 — pyrossh

1 year ago
chore: cargo warnings

4527045d — pyrossh

1 year ago
lib: re-export RustEmbed as Embed

36bf70e1 — Peter John

1 year ago
Merge pull request #244 from osiewicz/include-exclude-do-not-build-globs-repeatedly

perf: Do not build glob matchers repeatedly when include-exclude feature is enabled
133ce098 — Piotr Osiewicz

1 year ago
perf: Do not build glob matchers repeatedly when include-exclude feature is enabled

I've noticed in my profiles that if include-exclude feature is enabled, the call to ::iter() function is dominated by path filtering.
This commit fixes that by explicitly passing in a premade Globset for a given object.

Note that we're using std::sync::OnceLock to lazily store away premade Globsets, which bumps MSRV to 1.70. An alternative would be to use once_cell as an explicit dependency.

For my use case, in debug builds this takes down the matching time from 650ms to 6ms. I know you shouldn't benchmark debug builds, but rust-embed::iter is on my app's initialization path and that's how I noticed it in the first place. I'd expect release timings to be somewhat similar
1d17cae5 — Peter John

1 year ago
Merge pull request #241 from ddfisher/master

Add `metadata_only` attribute
4a2a281c — Day Fisher

1 year ago
add small comment

4ac6f5b3 — Day Fisher

1 year ago
add docs

a735c9e9 — Peter John

1 year ago
Merge pull request #240 from costinsin/fix_expect

Replace `expect` with a safer alternative that returns `None` instead
73dab7ba — Costin-Robert Sin

1 year ago
Replace `expect` with a safer alternative that returns `None` instead

Given the fact that this function returns a `Result`, in case of a
failure, the function should either return an `Err` or silent fail.

When using `expect`, the program just panics, so none of the above
situations happen.

I have replaced `expect` with `and_then`. Now the code silent fails
in case time before UNIX epoch is not supported, returning `None` instead.

Signed-off-by: Costin-Robert Sin <sin.costinrobert@gmail.com>
f7c7268a — Peter John

1 year ago
Merge pull request #239 from smoelius/patch-1

Eliminate unnecessary `to_path` call
36cd42c0 — Samuel Moelius

1 year ago
Eliminate unnecessary `to_path` call

287a73fe — Day Fisher

1 year ago
Add metadata_only to dynamic mode; add test

9c65ce09 — Day Fisher

1 year ago
simple metadata_only

c2693827 — Peter John

1 year ago
Merge pull request #237 from dimfeld/dimfeld-patch-1

Fix typo in changelog.md
39d1145c — Daniel Imfeld

1 year ago
Fix typo in changelog.md

baa8e736 — pyrossh

1 year ago
v8.3.0

02469a4d — Peter John

1 year ago
Merge pull request #235 from Buckram123/symlinks-does-not-work-in-debug

Symbolic links in debug mode
23c8cbf2 — Buckram

1 year ago
add symlink traversal attack test

e7c5447d — Buckram

1 year ago
add todo

639ec4dc — Buckram

1 year ago
found better function

42bb1fee — Buckram

1 year ago
format

249ee3c8 — Buckram

1 year ago
tests fixes

47e1f89c — Buckram

1 year ago
Fixed symlinks in debug mode

f0996283 — Buckram

1 year ago
fmt

895e611c — Buckram

1 year ago
symlinks does not work in debug mode

ed8faec3 — pyrossh

1 year ago
v8.2.0

786d0187 — Peter John

1 year ago
Merge pull request #230 from hwittenborn/naming-collision

Fix naming collisions in macros
75a0093b — Hunter Wittenborn

1 year ago
Fix clippy lints

6bed3e6c — Hunter Wittenborn

1 year ago
Fix naming collisions in macros

Previously the macro code wasn't using absolute paths in the code it generated, which could result in naming collisions from items the caller had in scope. This fixes such by making imports have absolute paths.

Currently the 'rust_embed' crate isn't absolutely scoped, as I'm unaware of a way to handle that reliably in proc macros (i.e. when the user renames the 'rust_embed' crate in their Cargo.toml). If that should be addressed in this PR I'm more than open to doing such, but even with this in itself it's still good progress compared to what was present before.

Closes #229.
253340f3 — Peter John

1 year ago
Merge pull request #227 from slowtec/update-axum

Update axum to v0.7
5fe13a57 — Markus Kohlhase

1 year ago
Update axum to v0.7

774f2013 — pyrossh

1 year ago
release v8.1.0

91899db7 — Peter John

1 year ago
Merge pull request #225 from ngalaiko/master

include created into file metadata
d308513c — Nikita Galaiko

1 year ago
include created into file metadata

207d1be6 — Peter John

1 year ago
Merge pull request #220 from wyatt-herkamp/master

Move Panics to Compile Errors, Update shellexpand, and remove deprecated feature from rustfmt.toml
7a14d89d — Wyatt Herkamp

1 year ago
Move Panics to Compile Errors, Update shellexpand, and remove deprecated feature from rustfmt.toml

ea7de475 — Peter John

1 year ago
Merge pull request #218 from Samet195/master-1

Changed the "items" constant to UPPER_CASE
ea7be21f — Samet Arık

1 year ago
Changed the "items" constant to UPPER_CASE

Changed the "items" constant to UPPER_CASE for silence the "rust-analyzer(non_upper_case_globals)" warning.
bc81e374 — Peter John

1 year ago
Update readme to latest version

f48d06af — pyrossh

1 year ago
Set minimum supported rust version to v1.60.0

8b194437 — pyrossh

1 year ago
v8.0.0

c286171b — Peter John

1 year ago
Merge pull request #217 from osiewicz/binary_search_by_path

feat: Store file contents statically and use binary search for lookup.
01a4457d — Piotr Osiewicz

1 year ago
Fix test failures (mostly under 'compression' feature).

If 'compression' is enabled, the static data contains function pointers to get contents of embedded file. That is done so as to work around 'include_flate' using lazy_static.
ce93f7e5 — Piotr Osiewicz

1 year ago
feat: Store file contents statically and use binary search for lookup.

For large directories, RustEmbed generates large amounts of LLVM IR. This is mostly caused by use of match expression with string literals.

In Rust, literals from match set are compared one by one; it is kind of like a big if-else chain. Instead, we can store a static lookup table (sorted by file name) and run a binary search over that.
This should make file lookup more efficient in runtime and improve compile time too.
This improves LLVM IR even for small uses of rust-embed; for examples/basic.rs a size of generated IR goes down by 7% from 4397 to 4082 lines.
1623d294 — Peter John

1 year ago
Merge pull request #214 from Chtau/const_upper_snake_case

Change const to upper case
2f877845 — Christoph Taucher

1 year ago
change const to upper case

a1f5565d — Peter John

1 year ago
Merge pull request #213 from hongquan/feature/shorter-axum

Shorter example code for axum
2c88c439 — Nguyễn Hồng Quân

1 year ago
Fix code format

7f1de531 — Nguyễn Hồng Quân

1 year ago
Shorter example code for axum

Leveraging axum's IntoResponse trait
494d979f — pyrossh

1 year ago
v6.8.1

1fb92450 — Peter John

1 year ago
Merge pull request #212 from osiewicz/issue-182/include_flate_0.2

Pass relative paths to include_flate. 
826d67fb — Piotr Osiewicz

1 year ago
Pass relative paths to include_flate. Disallow use of absolute paths with compression feature on.

14ec0156 — pyrossh

1 year ago
v6.8.0

292380f0 — pyrossh

1 year ago
update changelog

a37527e2 — pyrossh

1 year ago
v6.7.0

e956a1ed — Peter John

2 years ago
Merge pull request #211 from smoelius/syn-2

Upgrade to `syn` 2.0
bcc37add — Samuel Moelius

2 years ago
Upgrade to `syn` 2.0

64ec5a7a — Peter John

2 years ago
Update readme.md

880610db — Peter John

2 years ago
Update readme.md

16050362 — Peter John

2 years ago
release v6.6.1

fe35dbdc — Peter John

2 years ago
release v6.6.0

d64c02c4 — Peter John

2 years ago
Merge pull request #207 from NfNitLoop/patch-1

Fix #206
7eafc915 — Cody Casterline

2 years ago
Fix #206

sort_by_file_name() requires walkdir v2.3.2
7c0fc42f — Mark Drobnak

2 years ago
Merge pull request #203 from BBaoVanC/static-mime-guess

Add mime-guess feature to statically store mimetype
ad862f56 — BBaoVanC

2 years ago
Reformat

0bb1f1c4 — BBaoVanC

2 years ago
Rewrite mimetype interpolation

6afa7480 — BBaoVanC

2 years ago
Don't need to run mimetype through quote!

f4b0d815 — BBaoVanC

2 years ago
No need to use ToString on Metadata::mimetype()

f4ef0c74 — BBaoVanC

2 years ago
Make Metadata::mimetype return &str

227c4e09 — BBaoVanC

2 years ago
Add test to actions and fix it in release mode

d904123f — BBaoVanC

2 years ago
Add tests

29ebae9a — BBaoVanC

2 years ago
Fix compilation with mime-guess feature disabled

527baaee — BBaoVanC

2 years ago
Don't duplicate the entire __rust_embed_new function

e43967d9 — BBaoVanC

2 years ago
Run rustfmt

8d4838e1 — BBaoVanC

2 years ago
Add mime-guess feature to store mimetype as metadata

f5dd61b4 — Peter John

2 years ago
Merge pull request #201 from DusterTheFirst/axum-fix

Fix failing axum-spa example
53a12dbc — Peter John

2 years ago
Merge pull request #202 from DusterTheFirst/salvo-fix

Fix salvo example missing feature requirements
121835e7 — Zachary Kohnen

2 years ago
Add salvo example to Cargo.toml

daf60e97 — Zachary Kohnen

2 years ago
Fix failing axum-spa example

f207a831 — Peter John

2 years ago
Merge pull request #199 from davidpdrsn/axum-0.6.0

Update to axum 0.6.0
0ef4f291 — David Pedersen

2 years ago
Update to axum 0.6.0

0c0794bb — Peter John

2 years ago
Merge pull request #197 from jaztec/revert-193-master

Revert "Add is_dir helper function to metadata"
252afab3 — Jasper van Herpt

2 years ago
Revert "Add is_dir helper function to metadata"

3177a27f — Peter John

2 years ago
Revert "v6.5.0"

This reverts commit 26f8b53760360f574ffcd62354b0d0916fa96be6.
26f8b537 — Peter John

2 years ago
v6.5.0

00066480 — Peter John

2 years ago
Merge pull request #193 from jaztec/master

Add is_dir helper function to metadata
88b94eab — Jasper van Herpt

2 years ago
Get directory entries in release builds as well

d1843470 — Jasper van Herpt

2 years ago
Fetch metadata when a folder is fetched instead of a file

f88e699a — Jasper van Herpt

2 years ago
Remove unused import

dacbdc3c — Jasper van Herpt

2 years ago
Make sure it is provided at the correct place

a4af5644 — Jasper van Herpt

2 years ago
Run cargo fmt

86d7f802 — Jasper van Herpt

2 years ago
Extend property to macro

f7605ebe — Jasper van Herpt

2 years ago
Add notion of `is_dir` to README

38274263 — Jasper van Herpt

2 years ago
Add `is_dir` function to the file metadata structure

d3c2a929 — Peter John

2 years ago
v6.4.2

110d412e — Peter John

2 years ago
Merge pull request #191 from pyrossh/tweak/fail-if-include-exclude-not-enabled

Fail the proc macro if include/exclude are used without the feature
d41db441 — Mark Drobnak

2 years ago
Fail the proc macro if include/exclude are used without the feature

40598944 — Peter John

2 years ago
Merge pull request #188 from madmo/master

Add support for SOURCE_DATE_EPOCH
ee262051 — Moritz Bitsch

2 years ago
Add support for SOURCE_DATE_EPOCH

This is required for reproducible builds, see
https://reproducible-builds.org/docs/source-date-epoch/ for details.

When SOURCE_DATE_EPOCH is set, use the value as last_modified value
instead of the actual file modifiacion time.
7ae3cac1 — Peter John

2 years ago
v6.4.1 update sha2 dependency

ae15c131 — Mark Drobnak

2 years ago
Merge pull request #184 from frederikhors/add-axum-spa-example

add axum-spa example
b5e57f1e — frederikhors

2 years ago
use Response everywhere

65d00423 — frederikhors

2 years ago
use Response

20c6c7fc — frederikhors

2 years ago
use path only

3fc67976 — frederikhors

2 years ago
upd assets dir

00d74dbf — frederikhors

2 years ago
register in Cargo.toml; move main.rs in example root

799c0a91 — frederikhors

2 years ago
remove Cargo.toml and .gitignore

3a2b677f — frederikhors

2 years ago
remove unnecessary `to_string()`

4ab417b4 — frederikhors

2 years ago
remove redundant mime_guess import

b6b17c21 — frederikhors

2 years ago
add axum-spa example

29b4ebe0 — Peter John

2 years ago
Update readme.md

f06863e0 — Peter John

3 years ago
Fix false positive cargo pants vulnerability

13bdf24f — Mark Drobnak

3 years ago
Merge pull request #179 from acim/feature/bump-deps

bump deps
770fbef9 — Boban Acimovic

3 years ago
bump deps

451568cd — Peter John

3 years ago
Merge pull request #175 from pyrossh/update/actix-4.0

Update Actix Web to 4.0
de8830ce — Mark Drobnak

3 years ago
Update Actix Web to 4.0

ef6e84b9 — Peter John

3 years ago
Update readme.md

9a3bffa9 — Peter John

3 years ago
v6.4.0

9585e1df — Peter John

3 years ago
Merge pull request #173 from apognu/dev/reproducible-ordering

Dev/reproducible ordering
5574de9c — Antoine POPINEAU

3 years ago
Sort directory entries by file name to provide consistent ordering in embedded entries.

a1f9a0b3 — Antoine POPINEAU

3 years ago
Fix example to work on current version of poem.

74a3e07c — Peter John

3 years ago
Merge pull request #169 from robertwayne/axum-example-fix

Corrected route matching on axum example
2846da94 — Rob

3 years ago
Corrected route matching on axum example

Tidied up comments as well.
7ab05903 — Peter John

3 years ago
Merge pull request #167 from lopopolo/lopopolo/remove-syn-features

Remove `syn` features that are not required
367db9c6 — Ryan Lopopolo

3 years ago
Remove `syn` features that are not required

The `impl` proc macro depends on `syn`. Not all of the features enabled
in `syn`'s set of default features are required to build the `impl` proc
macro.

Disable default features in the `syn` dependency and only enable the
minimum set of features required to get the APIs needed by the `impl`
crate. This has a nice side effect of slightly speeding up compile
times.
9df099dd — Peter John

3 years ago
Merge pull request #166 from fergus-hou/add-salvo

Add savlo support
ff1bf2f8 — Fergus Hou

3 years ago
Add savlo support

5a0a27cc — Peter John

3 years ago
Merge pull request #165 from chanble/fix164

fix issue #164
a4423fa0 — chanble

3 years ago
fix poem example error

fba378e1 — Peter John

3 years ago
Merge pull request #162 from pyros2097/update/rocket-example

Update Rocket to 0.5.0-rc.1 and add to CI
dba3f53e — Peter John

3 years ago
Merge branch 'master' into update/rocket-example

17ea0fd5 — Peter John

3 years ago
Merge pull request #163 from pyros2097/update/axum-example

Update Axum example to 0.4
bd942230 — AzureMarker

3 years ago
Add axum to CI

a8d0627f — AzureMarker

3 years ago
Update Axum example to 0.4

6477b2ac — AzureMarker

3 years ago
Include Rocket example in CI and remove nightly requirement

I didn't remove the nightly job because it's still useful to test
against nightly (in case an upcoming change breaks our code).
3a6139a8 — AzureMarker

3 years ago
Update Rocket to 0.5.0-rc.1 along with the example

6aafae61 — Peter John

3 years ago
v6.3.0

51ee3fa6 — Peter John

3 years ago
Merge pull request #160 from pyros2097/fix/path-traversal-attack

Prevent path traversal attacks in debug mode
e1720ce3 — AzureMarker

3 years ago
Prevent path traversal attacks in debug mode

This is not a problem in release mode because we are in control of which
files are loaded/embedded during compile time.
34299eb1 — Peter John

3 years ago
Merge pull request #156 from ay524/use-globset

Use globset instead of glob
a6144be0 — Ahmad Yasser

3 years ago
bump globset to v0.4.8

e3038b71 — Ahmad Yasser

3 years ago
use globset instead of glob

524927fb — Peter John

3 years ago
Merge pull request #155 from lazywalker/master

add example of poem
744cb6a6 — lazywalker

3 years ago
add example of poem

71d66a06 — Mark Drobnak

3 years ago
Merge pull request #149 from lazywalker/master

Axum example
a6ac30cd — lazywalker

3 years ago
bump warp to 0.3, tokio to 1.0

0d927381 — Peter John

3 years ago
Merge pull request #152 from atouchet/badge

Fix crates.io badge
6fe143e6 — Alex Touchet

3 years ago
Fix crates.io badge

28a0b8b6 — lazywalker

3 years ago
use tokio-1 with axum demo use rename-dependency to keep multi version of tokio

b7ff1434 — lazywalker

3 years ago
fix the 404 and broken images of index.html

5d9df8de — Peter John

3 years ago
v6.2.0

2a1e14f0 — Peter John

3 years ago
Merge pull request #151 from pyros2097/fix/resolver-v2

Enable the util crate's include-exclude feature when necessary
ba611a02 — AzureMarker

3 years ago
Enable the util crate's include-exclude feature when necessary

Fixes https://github.com/pyros2097/rust-embed/issues/150
c343cd50 — lazywalker

3 years ago
intro to show how to run the axum example

282e71fe — lazywalker

3 years ago
add example of axum

5795ee40 — Peter John

3 years ago
v6.1.0

b65b10d5 — Mark Drobnak

3 years ago
Merge pull request #148 from mbme/master

implement support for multiple include/exclude glob attributes
c3fb0c4e — mbme

3 years ago
apply changes suggested in PR

ddf29925 — mbme

3 years ago
apply PR suggestions and address clippy warnings

aa8483be — mbme

3 years ago
implement support for multiple include/exclude glob attributes

d6454eab — Peter John

3 years ago
v6.0.1

d448b57b — Peter John

3 years ago
Merge pull request #146 from orhun/master

Add doc comments to macro generated functions
3c2a0424 — orhun

3 years ago
Add doc comments to macro generated functions (#145)

c530a6ce — Peter John

3 years ago
update readme

253240a4 — Peter John

3 years ago
v6.0.0

894f3819 — pyros2097

3 years ago
Merge pull request #143 from pyros2097/tweak/update-outdated-docs

Update documentation with EmbeddedFile changes
d0336a67 — AzureMarker

3 years ago
Update documentation with EmbeddedFile changes

Also made some general improvements to the docs.
59dad3da — pyros2097

3 years ago
Merge pull request #142 from pyros2097/feature/file-metadata

Embed File Metadata
970837f2 — AzureMarker

3 years ago
Fix rocket example index page

abf8c849 — AzureMarker

3 years ago
Move sha2 into dev-dependencies of rust-embed

d291ad15 — AzureMarker

3 years ago
Add tests and more documentation for file metadata

2cc36e30 — AzureMarker

3 years ago
Fix backwards compression codegen

2cecab75 — AzureMarker

3 years ago
Add support for embedded file metadata

bd7b743e — pyros2097

3 years ago
Merge pull request #141 from pyros2097/remove-license-file

Remove the license-file Cargo.toml setting
596c2839 — AzureMarker

3 years ago
Remove the license-file Cargo.toml setting

c3b70848 — Peter John

4 years ago
Goodbye cool screenshots of my terminal 😭

5ccd807d — Mark Drobnak

4 years ago
Merge pull request #136 from fhoehle/add_license_file_to_crate

add license file to crate
1952ef0c — fhoehle

4 years ago
add license file to crate

8ddb02fa — Mark Drobnak

4 years ago
Merge pull request #134 from billyb2/master

Forbid unsafe code
537fbeb0 — William Batista

4 years ago
Fixed formatting issue

07e32fcb — William Batista

4 years ago
Forbid unsafe code

Saw @ralpha's issue about unsafe code, and just decided to mak a quick
PR
dddf71c8 — pyros2097

4 years ago
v5.9.0 readme

cdb6501c — pyros2097

4 years ago
v5.9.0

b3d8cb00 — Peter

4 years ago
Merge pull request #133 from pyros2097/feature/prefix

Add a prefix attribute
3223b6b5 — Mcat12

4 years ago
Undo the renaming of a function param

2ea69bc8 — Mcat12

4 years ago
Format prefix tests

3db19b9c — Mcat12

4 years ago
Document the prefix attribute

71637d93 — Mcat12

4 years ago
Support a prefix annotation

8e0bbe92 — pyros2097

4 years ago
update readme version

9ece1fc8 — pyros2097

4 years ago
bump version to 5.8.0

f5b99ffc — Peter John

4 years ago
Merge pull request #129 from paolobarbolini/syn-compat

Fix compiling with latest version of syn
b69ce28d — Paolo Barbolini

4 years ago
Fix compiling with latest version of syn

Turns out `syn::export::TokenStream2` was just
a re-export of `proc_macro2::TokenStream`,
but despite it being `doc(hidden)` RLS
must have suggested it to me when I wrote
the migration to syn 1.0 in #93.
62f6ff39 — Peter John

4 years ago
Update build status

eb58829b — pyros2097

4 years ago
bump version to 5.7.0

83eaed49 — Peter John

4 years ago
Merge pull request #125 from djmarcin/master

Follow symlinks and defer debug_assertion evaluation
0f225832 — Peter John

4 years ago
Merge branch 'master' into master

b3a4a1aa — Peter John

4 years ago
Run actions on pr

d4dc6f73 — David Marcin

4 years ago
Fix feature flag typo

4d06e326 — David Marcin

4 years ago
Bazel compatibility

Bazel uses symlinks to make files available in a sandbox, so follow symlinks.
proc-macros should not assume their build configuration matches the build
configuration of the expanded code. Defer evaluation of debug_assertions until
the expanded code is compiled.
12771515 — Mark Drobnak

4 years ago
Merge pull request #123 from cuviper/actix-web-3

Upgrade to actix-web 3
910f4f35 — Josh Stone

4 years ago
Use actix_web::main instead of actix_rt

bf42a46f — Josh Stone

4 years ago
Upgrade to actix-web 3

6d48b6e3 — Mark Drobnak

4 years ago
Merge pull request #121 from trevyn/patch-1

Change URL to `https` for meritbadge.herokuapp.com
ec26b7e1 — Eden

4 years ago
Change URL to `https` for meritbadge.herokuapp.com

23d6b3d8 — Peter John

4 years ago
Merge pull request #120 from pyros2097/v5.6.0

V5.6.0
5af7d6d7 — Peter John

4 years ago
Merge branch 'master' into v5.6.0

58b60b3d — pyros2097

4 years ago
release v5.6.0

2c0015b0 — Peter John

4 years ago
Merge pull request #119 from pyros2097/actions

use github actions for CI
97d355ec — pyros2097

4 years ago
rustfmt: remve unstable_features

a14a51c5 — Peter John

4 years ago
Merge branch 'master' into actions

d5129ec5 — pyros2097

4 years ago
actions: rename check too format

e2dca5e8 — pyros2097

4 years ago
move nightly to a single matrix

eb42d494 — pyros2097

4 years ago
fix cargo fmt add check job

29eefde3 — pyros2097

4 years ago
use actions-rs/toolchain@v1

3115af1f — pyros2097

4 years ago
handle nightly failures and move release builds to the bottom

e2b52382 — pyros2097

4 years ago
fix test command

88027902 — pyros2097

4 years ago
use github actions for CI

69842842 — Peter John

4 years ago
Merge pull request #113 from pyros2097/renovate/rust-rocket-0.x

Update Rust crate rocket to 0.4.5
0fe343e6 — Peter John

4 years ago
Merge branch 'master' into renovate/rust-rocket-0.x

fc65a881 — Peter John

4 years ago
Merge pull request #118 from CAD97/patch-1

This isn't an http server implementation
c3940f87 — Christopher Durham

4 years ago
This does work with the filesystem

1dfe2c2d — Christopher Durham

4 years ago
This isn't an http server implementation

5aad862c — Renovate Bot

4 years ago
Update Rust crate rocket to 0.4.5

1ce92fa9 — Peter John

4 years ago
Merge pull request #114 from pyros2097/renovate/rust-walkdir-2.x

Update Rust crate walkdir to 2.3.1
fd54add3 — Renovate Bot

4 years ago
Update Rust crate walkdir to 2.3.1

0e0db89f — Peter John

4 years ago
Merge pull request #117 from pyros2097/fix/windows-path-separator

Allow Windows-style path separator `\` in `RustEmbed::get`
2e342784 — Mcat12

4 years ago
Allow Windows-style path separator `\` in `RustEmbed::get`

07c59d08 — Mark Drobnak

5 years ago
Merge pull request #112 from paolobarbolini/actix-example

examples: improve actix-web example
b547dcb3 — Paolo Barbolini

5 years ago
examples: improve actix-web example

8e401265 — Peter John

5 years ago
Merge pull request #109 from ignatenkobrain/required-features

Specify required-features for examples/tests which require non-defaul…
dc4d0fee — Igor Raits

5 years ago
Specify required-features for examples/tests which require non-default features

Signed-off-by: Igor Raits <i.gnatenko.brain@gmail.com>
d75c1ea9 — Peter John

5 years ago
Merge pull request #107 from ignatenkobrain/master

Add license file to the sub-crates
db9dc173 — Igor Raits

5 years ago
Add license file to the sub-crates

Otherwise tarballs on crates.io do not contain license file which is
mandatory.

Signed-off-by: Igor Raits <i.gnatenko.brain@gmail.com>
9c530ba1 — pyros2097

5 years ago
Merge branch 'master' of github.com:pyros2097/rust-embed

6af0493a — pyros2097

5 years ago
release v5.5.1

62fe6609 — Peter John

5 years ago
Merge pull request #104 from cquintana-verbio/fix/clippy-verbose-file-reads

Fix clippy::verbose_file_reads warning in nightly
d59ed674 — cquintana-verbio

5 years ago
Fix clippy::verbose_file_reads warning in nightly

46b5c016 — pyros2097

5 years ago
release v5.5.0

5d5ae812 — Peter John

5 years ago
Merge pull request #101 from pyros2097/fix/relative-path-resolution

Root relative paths using CARGO_MANIFEST_DIR
686d5664 — Mark Drobnak

5 years ago
Merge branch 'master' into fix/relative-path-resolution

4ae23085 — Mcat12

5 years ago
Use to_str instead of to_string_lossy

3e0ed685 — Mark Drobnak

5 years ago
Merge pull request #102 from paolobarbolini/warp-fix

Fix warp example
cdb46da3 — Paolo Barbolini

5 years ago
Fix warp example

ac98c794 — Mcat12

5 years ago
Update changelog

36b5e6e5 — Mcat12

5 years ago
Root relative paths using CARGO_MANIFEST_DIR

Fixes #34 and #99
f87dd289 — pyros2097

5 years ago
release v5.4.0

d476f3e0 — Peter John

5 years ago
Merge pull request #100 from paolobarbolini/improvements

Update readme and examples
4a625c42 — Paolo Barbolini

5 years ago
cargo: update shellexpand

e216e133 — Paolo Barbolini

5 years ago
ci: use travis' default Rust settings

d4c824d4 — Paolo Barbolini

5 years ago
examples: reduce compile times by disabling default features

faef00db — Paolo Barbolini

5 years ago
examples: update warp to 0.2

a1865f7f — Paolo Barbolini

5 years ago
examples: update actix-web to 2.0

eb42c093 — Paolo Barbolini

5 years ago
rustc: upgrade to the 2018 edition

79e6baf4 — Paolo Barbolini

5 years ago
cargo: make impl and utils part of the same workspace

c4755ca3 — Paolo Barbolini

5 years ago
clippy: fix warnings

d7c60d33 — Paolo Barbolini

5 years ago
examples: import RustEmbed directly instead of using #[macro_use]

14d3817b — Paolo Barbolini

5 years ago
readme: add the warp example

b28d36b8 — pyros2097

5 years ago
update readme

cd459f56 — pyros2097

5 years ago
release v5.3.0

647cc1b4 — Peter John

5 years ago
Merge pull request #98 from pyros2097/tweak/document-compression

Document the compression feature and add to CI
01e8212e — Mcat12

5 years ago
Document the compression feature and add to CI

Signed-off-by: Mcat12 <newtoncat12@yahoo.com>
1e7147e1 — Peter John

5 years ago
Merge pull request #97 from pyros2097/feature/compression

Add optional compression with include_flate
76b17096 — Mcat12

5 years ago
Hide the flate macro from docs

Signed-off-by: Mcat12 <newtoncat12@yahoo.com>
38da804c — Mcat12

5 years ago
Add compression feature with include_flate

Signed-off-by: Mcat12 <newtoncat12@yahoo.com>
0dda9198 — pyros2097

5 years ago
v5.2.0 for real now :( :(

1342ebc0 — pyros2097

5 years ago
release v5.2.0 again :(

f141dec8 — pyros2097

5 years ago
release v5.2.0

10e0643f — Peter John

5 years ago
Merge pull request #92 from paolobarbolini/fix-rustfmt

Fix rustfmt.toml
c3fab701 — Peter John

5 years ago
Merge branch 'master' into fix-rustfmt

caf490bd — Peter John

5 years ago
Merge pull request #93 from paolobarbolini/update-syn

Update to syn 1.x
7b777a69 — Paolo Barbolini

5 years ago
Fix rustfmt.toml

`fn_args_density` was an unstable configuration option when it was added
to the project and it was renamed to `fn_args_layout` with the stabilization
in rustfmt v1.3.0

https://github.com/rust-lang/rustfmt/blob/v1.3.1/CHANGELOG.md#130-2019-06-09
2644963e — Paolo Barbolini

5 years ago
Update to syn 1.x

9f7aa882 — Mark Drobnak

5 years ago
Merge pull request #91 from paolobarbolini/update-deps1

Update dependencies for examples
24737392 — Paolo Barbolini

5 years ago
Update dependencies for examples

5d983bd5 — Mark Drobnak

5 years ago
Merge pull request #81 from pyros2097/tweak/shell-expand-help-message

Show a help message if the folder was not found and includes a variable
50614ebf — Peter John

5 years ago
Merge branch 'master' into tweak/shell-expand-help-message

aca235a0 — Peter John

5 years ago
Merge pull request #89 from pyros2097/tweak/readme-interoplate-folder-path

Document the interpolate-folder-path feature
79df0640 — Mcat12

5 years ago
Run rustfmt

Signed-off-by: Mcat12 <newtoncat12@yahoo.com>
ff99a581 — Mark Drobnak

5 years ago
Document the interpolate-folder-path feature

A result of the discussion in #88
9e5bda6c — Mcat12

5 years ago
Fix mime_guess error in Warp example

Signed-off-by: Mcat12 <newtoncat12@yahoo.com>
1385925a — Mcat12

5 years ago
Show a help message if the folder was not found and includes a variable

Related to #80

Signed-off-by: Mcat12 <newtoncat12@yahoo.com>
dfc6e7d1 — Peter

5 years ago
Create FUNDING.yml

01d1ddaf — pyros2097

5 years ago
release v5.1.0

f44b950b — pyros2097

5 years ago
bump version to v5.1.0

b953a289 — pyros2097

5 years ago
update impl to v5.1.0

18af2a48 — Peter

5 years ago
Merge pull request #75 from pyros2097/fix/util-debug-import-error

Fix import error due to #71
deb213a0 — Mcat12

5 years ago
Fix import error due to #71

The utils crate is re-exported from the main crate for use in debug
builds.

Debug builds are compiled by the macro to use certain functions from the
utils crate. This is different than in release mode, where the macro
itself uses the functions and does not require them at runtime. When the
debug code tries to import the utils crate, it fails because it is not
an explicit dependency in Cargo.toml.

Fixes #74

Signed-off-by: Mcat12 <newtoncat12@yahoo.com>
aff2630c — Peter

5 years ago
Merge pull request #73 from pyros2097/v5.0.1

V5.0.1
cf77c652 — pyros2097

5 years ago
update changelog

08d9c254 — pyros2097

5 years ago
v5.0.1 release

67e956ce — pyros2097

5 years ago
Merge branch 'master' into v5.0.1

2d0ab0a0 — pyros2097

5 years ago
v5.0.1 - impl

34649856 — pyros2097

5 years ago
v5.0.1

67b31bbb — Peter

5 years ago
Merge pull request #72 from pyros2097/v5.0.0

release v5.0.0
510f9b10 — pyros2097

5 years ago
bump libs version to 5.0.0 also

cd8d591c — pyros2097

5 years ago
release v5.0.0

af538b52 — Peter

5 years ago
Merge pull request #71 from AletiCodes/utils-fix

Move utils to their own package, fixes #66.
21f5f510 — Aleti

5 years ago
Fixes based on comments received

2cf5ab28 — Aleti

5 years ago
Re-doing it a bit so tests & examples both work.

03e7ed7c — Aleti

5 years ago
Move utils to their own package

e269d1c5 — Mark Drobnak

5 years ago
Merge pull request #70 from pyros2097/fix/better-error-messages

Improve error messages when deriving on enum or struct with atttributes
288cd683 — Mcat12

5 years ago
Improve error messages when deriving on enum or struct with atttributes

Fixes #68

Signed-off-by: Mcat12 <newtoncat12@yahoo.com>
7c95bd1d — pyros2097

5 years ago
release v4.5.0

b31a8f2a — pyros2097

5 years ago
update changelog

be85dd94 — pyros2097

5 years ago
Merge branch 'master' of github.com:pyros2097/rust-embed

30689574 — pyros2097

5 years ago
v4.5.0

643650ed — Mark Drobnak

5 years ago
Merge pull request #69 from pyros2097/renovate/rust-rocket-0.x

Update Rust crate rocket to v0.4.2
d71042ad — Renovate Bot

5 years ago
Update Rust crate rocket to v0.4.2

db3d1362 — Peter

5 years ago
Merge pull request #67 from lopopolo/env-vars-in-folder-path

Env vars in folder path
ced3e1a4 — Ryan Lopopolo

5 years ago
Run test in appveyor

f29f16c3 — Ryan Lopopolo

5 years ago
Run test in travis

c7b12c89 — Ryan Lopopolo

5 years ago
fixup test

806f43e0 — Ryan Lopopolo

5 years ago
revert explicitly enumerated examples and tests

4b19359e — Ryan Lopopolo

5 years ago
Fix doctest build failures on nightly

extern crate declarations can only occur at the crate root. Without an
explicit main function in a doctest, the code is wrapped in one making
the extern crate declrations inside a function scope. Declaring an
empty main function works around this issue.
07a1135d — Ryan Lopopolo

5 years ago
Enumerate examples to require features

On a clean build, cargo build failes because optional dependencies are not
installed. Enumerate the examples so they may specify their required features.
ccc650bd — Ryan Lopopolo

5 years ago
Enumerate tests in Cargo.toml to enable specific features

e327b2d2 — Ryan Lopopolo

5 years ago
Add test for Asset struct with interpolated path

c7c2b8fc — Ryan Lopopolo

5 years ago
Add interpolate-folder-path feature to rust-embed Cargo.toml

f3cf632d — Ryan Lopopolo

5 years ago
Interpolate environment variables in folder path

This enables loading sources relative to OUT_DIR or CARGO_MANIFEST_ROOT
which fixes a bug where rust-embed causes a panic during doc tests for
crates in a workspace.
b51c27da — Mark Drobnak

6 years ago
Merge pull request #49 from Tangent128/master

RustEmbed trait
74744a7b — Tangent 128

6 years ago
Make RustEmbed trait static

fd159578 — Tangent 128

6 years ago
Optimization: don't box iterators in release mode

a283b903 — Tangent 128

6 years ago
Impl the RustEmbed trait on asset types

663001dd — Tangent 128

6 years ago
Define a trait describing the interface for embedded asset directories

f150d772 — pyros2097

6 years ago
oops forgot the main package

b8526621 — Peter

6 years ago
Merge pull request #63 from pyros2097/renovate/rust-rocket-0.x

Update Rust crate rocket to v0.4.1
0905c88f — Renovate Bot

6 years ago
Update Rust crate rocket to v0.4.1

a198533b — pyros2097

6 years ago
Merge branch 'master' of github.com:pyros2097/rust-embed

178e3c29 — Peter

6 years ago
Update changelog.md

60b94eeb — pyros2097

6 years ago
bump v4.4.0

01189b51 — Peter

6 years ago
Merge pull request #62 from pyros2097/fix/doc-comment-panic

Fix panic when struct has doc comments
0b5a1c5c — Mcat12

6 years ago
Fix panic when struct has doc comments

Fixes #61

Added doc comment to tests to ensure that the bug stays fixed.

Signed-off-by: Mcat12 <newtoncat12@yahoo.com>
831f6eed — Peter

6 years ago
Merge pull request #60 from D4nte/warp-example

Add warp example
0fb2054a — Franck Royer

6 years ago
Add warp example

925dda79 — Peter

6 years ago
Merge pull request #57 from pyros2097/renovate/rust-walkdir-2.x

Update Rust crate walkdir to v2.2.7
0d9f0c80 — Renovate Bot

6 years ago
Update Rust crate walkdir to v2.2.7

d1915a19 — Peter

6 years ago
Merge pull request #56 from pyros2097/renovate/configure

Configure Renovate
01f00bba — Renovate Bot

6 years ago
Add renovate.json

f168a2be — Peter

6 years ago
Merge pull request #54 from Tangent128/rocket_4.0

Update rocket example to Rocket 0.4.0 so that it builds again.
c394b282 — Tangent 128

6 years ago
Update rocket example to Rocket 0.4.0 so that it builds again.

7c35933f — Peter

6 years ago
Update changelog.md

94cb0097 — pyros2097

6 years ago
update readme

e616ab4f — pyros2097

6 years ago
bump version to 4.3.0

f9feb1a9 — Peter

6 years ago
Merge pull request #51 from vemoo/fix-debug-embed

fix debug-embed feature
0561ecc4 — Bernardo

6 years ago
pass debug-embed feature to impl crate

34dabb93 — Peter

6 years ago
Merge pull request #47 from vemoo/cow-opt

return Cow<'static, [u8]>
89d3274e — Bernardo

6 years ago
bump version, update changelog and readme

087fb35a — Bernardo

6 years ago
avoid panics in rocket example

6851ff01 — Bernardo

6 years ago
return Cow to give user more flexibility

b11ef880 — Peter

6 years ago
Update readme.md

e45dfe18 — pyros2097

6 years ago
add readme

5b1c1f17 — Peter

6 years ago
Merge pull request #46 from vemoo/path-join

restore original folder resolution but leave path.join
83fd5e85 — Bernardo

6 years ago
restore original folder resolution but leave path.join

72ec32c6 — Peter

6 years ago
Merge pull request #45 from vemoo/list-files

Add iter() method to list files
1626073e — Bernardo

6 years ago
bump minor version and complete readme

e411b7be — Bernardo

6 years ago
no need for separate tests since implementations are the same

85fb10ee — Bernardo

6 years ago
resolve files relative to working dir in debug

eeceaf9a — Bernardo

6 years ago
fix symlink in appveyor

6e11b751 — Bernardo

6 years ago
update readme

32a496df — Bernardo

6 years ago
list files implementation create impl crate for proc_macro main crate reexports macro add utils.rs symlinked in both crates for code reuse export get_files method in main crate for use when in debug

b914b2b8 — Peter

6 years ago
Merge pull request #44 from lukad/debug-embed

add debug-embed feature to allow embedding in debug builds
03ec2aa6 — Luka Dornhecker

6 years ago
add debug-embed feature to allow embedding in debug builds

44e80818 — Peter

6 years ago
Merge pull request #43 from lukad/cargo-fmt

enforce cargo fmt
2d655637 — Luka Dornhecker

6 years ago
check cargo fmt on ci build

9059a4a0 — Luka Dornhecker

6 years ago
format project using cargo fmt

41a4d0a4 — Peter

6 years ago
Merge pull request #40 from vemoo/avoid-vec

Avoid vector allocation
dc0fae9f — Bernardo

6 years ago
update readme and bump version

49357864 — Bernardo

6 years ago
avoid vector allocation

fb2b653e — Bernardo

6 years ago
rustfmt

21e0a175 — pyros2097

6 years ago
Update readme.md

8f1216b8 — pyros2097

6 years ago
Update readme.md

3c3c6bed — pyros2097

6 years ago
Improve documentation a bit

f5ea0ec3 — pyros2097

6 years ago
Merge pull request #39 from pyros2097/pyros2097-patch-1

Update changelog.md
50c74d5e — pyros2097

6 years ago
Update changelog.md

2d945174 — pyros2097

6 years ago
add appveyor badge

5f9f2de6 — pyros2097

6 years ago
release v3.0.2

a4ec4045 — pyros2097

6 years ago
Merge pull request #37 from vemoo/windows

handle windows paths and add appveyor
c16212f0 — Bernardo

6 years ago
reduce appveyor build matrix

1247b971 — Bernardo

6 years ago
setup msys paths

1c9f81bf — Bernardo

6 years ago
handle windows paths and add appveyor

3e640137 — pyros2097

6 years ago
use strip_prefix closes #35

458a322f — pyros2097

6 years ago
panic if folder does not exist closes #31

46d4c2ce — pyros2097

6 years ago
Merge pull request #32 from Gowee/master

Improve actix-web example: set content-type, update actix-web to 0.7
a23df270 — Hung-I Wang

6 years ago
Improve actix-web example: set content-type, update actix-web to 0.7

e493f787 — pyros2097

6 years ago
Closes #27 Again

8b2e6fab — pyros2097

6 years ago
Closes #27

8b691714 — pyros2097

6 years ago
Merge pull request #28 from Gowee/master

Complete the example for actix-web
d80cbff3 — Hung-I Wang

6 years ago
Complete the example for actix-web

a9058a11 — pyros2097

7 years ago
Merge pull request #22 from Mcat12/fix/tests

Only run the integration tests in `lib.rs` in CI
f5a60c89 — pyros2097

7 years ago
update readme

ed4b61d7 — pyros2097

7 years ago
Merge branch 'master' into fix/tests

c52b10e8 — pyros2097

7 years ago
update readme to specify v3.0.0

601b03d6 — pyros2097

7 years ago
release v3.0.0

2f74da1a — pyros2097

7 years ago
add contributor to changelog

217f0c49 — pyros2097

7 years ago
update changelog

9761757d — pyros2097

7 years ago
update changelog and readme

c329b109 — Mcat12

7 years ago
Make each CI command separate

Helps when viewing the build log.

Signed-off-by: Mcat12 <newtoncat12@yahoo.com>
dd33060f — Mcat12

7 years ago
Only run the integration tests in `lib.rs`

Once Rust 1.27 is released we can use a more general command for both
unit and integration tests:
```
cargo test --tests --lib
```
https://github.com/rust-lang/cargo/issues/5387#issuecomment-388937131

Signed-off-by: Mcat12 <newtoncat12@yahoo.com>
02e6404d — pyros2097

7 years ago
improve println message and add bigger file to images

b36c90fc — pyros2097

7 years ago
remove rouille and fern and add actix-web

4ef3a1d4 — pyros2097

7 years ago
Merge pull request #20 from Mcat12/feature/stable-rust

Compile on stable Rust versions
306ff0e2 — pyros2097

7 years ago
Merge branch 'master' into feature/stable-rust

dad74ef0 — pyros2097

7 years ago
Merge pull request #21 from Mcat12/tweak/remove-log

Remove log from the dependencies
10a58961 — pyros2097

7 years ago
Merge pull request #19 from Mcat12/tweak/gitignore

Ignore editor files
c5d664e7 — Mcat12

7 years ago
Remove log from the dependencies

Signed-off-by: Mcat12 <newtoncat12@yahoo.com>
8fcad8aa — Mcat12

7 years ago
Remove extra --tests from CI

Signed-off-by: Mcat12 <newtoncat12@yahoo.com>
0affe1d8 — Mcat12

7 years ago
Missed some `cargo clean`'s

Signed-off-by: Mcat12 <newtoncat12@yahoo.com>
07baa11f — Mcat12

7 years ago
Fix travis yaml again and actually use the cache

Signed-off-by: Mcat12 <newtoncat12@yahoo.com>
2ca02185 — Mcat12

7 years ago
Fix travis yaml

Signed-off-by: Mcat12 <newtoncat12@yahoo.com>
41b5a2dd — Mcat12

7 years ago
Move the rocket behind a feature flag to run tests on stable

Signed-off-by: Mcat12 <newtoncat12@yahoo.com>
d626eb41 — Mcat12

7 years ago
Change version in travis from 1.26 to stable

Signed-off-by: Mcat12 <newtoncat12@yahoo.com>
547bcc09 — Mcat12

7 years ago
Compile on stable Rust versions

Changed the derive attribute style so we don't need `attr_literals`:
```rust
#[folder("assets/")]
```
to
```rust
#[folder = "assets/"]
```

Also added Rust 1.26 to the CI.

Signed-off-by: Mcat12 <newtoncat12@yahoo.com>
e0820704 — Mcat12

7 years ago
Ignore editor files

Signed-off-by: Mcat12 <newtoncat12@yahoo.com>
b943f43f — pyros2097

7 years ago
Remove unneccessary links to my other projects

1cf49abf — pyros2097

7 years ago
fix changelog userprofile links

2d41ba6f — pyros2097

7 years ago
release 2.0.0

1a795b49 — pyros2097

7 years ago
Merge pull request #16 from lukad/use-include-bytes

use include_bytes
3752341e — Luka Dornhecker

7 years ago
use include_bytes

5144db96 — pyros2097

7 years ago
Merge pull request #12 from Mcat12/fix/log-macro-usage

Use standard logging in debug mode
693408db — pyros2097

7 years ago
Merge pull request #13 from Mcat12/fix/debug-use-statements

Move the debug mode use statments into `get`
ad3f790b — pyros2097

7 years ago
Merge pull request #11 from Mcat12/fix/remove-cargo-lock

Add Cargo.lock to .gitignore
c952c5a0 — Mcat12

7 years ago
Move the debug mode use statments into `get`

When the use statements are ouside of the implementation, the imports
can conflict with the deriving code's imports. For example, if some code
using rust-embed also imports `Path`, there will be an error because
`Path` was imported twice.

Signed-off-by: Mcat12 <newtoncat12@yahoo.com>
7b5bbdb4 — Mcat12

7 years ago
Use standard logging in debug mode

In debug mode, the `quote!`'d code is not guarrenteed to have access to
the `log` macros, and in some cases the macros may be completely
different (Rocket has its own `error!` macro).

Change `info` to `println` and `error` to `eprintln`.

Signed-off-by: Mcat12 <newtoncat12@yahoo.com>
3ef0ee7a — Mcat12

7 years ago
Add Cargo.lock to .gitignore

Libraries are not supposed to have Cargo.lock files:
https://doc.rust-lang.org/cargo/faq.html#why-do-binaries-have-cargolock-in-version-control-but-not-libraries

In this situation, the latest nightlies do not work with the
dependencies specified in the lock file.

Signed-off-by: Mcat12 <newtoncat12@yahoo.com>
ac96d40f — pyros2097

7 years ago
remove logger

5d69b283 — pyros2097

7 years ago
add proper log when compiling files in release

3bee74ef — pyros2097

7 years ago
fix help message

075637cd — pyros2097

7 years ago
fix help message

0fd4ff2b — pyros2097

7 years ago
fix release bundling and release v1.1.0

89b83a82 — pyros2097

7 years ago
add dev version of custom derive macro

63512550 — pyros2097

7 years ago
add logging in example

46e64b3d — pyros2097

7 years ago
add badges

fe5ece67 — pyros2097

7 years ago
release 0.5.2

84f1294c — pyros2097

7 years ago
Merge pull request #9 from jgrowl/master

Uses $crate variable so embed! works in external macros
00e57eba — Jonathan Rowlands

7 years ago
Uses $crate variable so embed! works in external macros

ad489ebe — pyros2097

7 years ago
tes only on nightly for now

b05f90c3 — pyros2097

7 years ago
release 0.5.1

8d722d3e — pyros2097

7 years ago
update readme

582feaba — pyros2097

7 years ago
update redme

3824aa16 — pyros2097

7 years ago
Merge branches 'master' and 'master' of github.com:pyros2097/rust-embed

a398d880 — pyros2097

7 years ago
update readme

df3b84d8 — pyros2097

7 years ago
release 0.5.0

1164bd35 — pyros2097

7 years ago
improve  embed and rocket example

aec2df0f — pyros2097

7 years ago
fix content type issues

44533ec6 — pyros2097

7 years ago
add rocket example

051375a1 — pyros2097

7 years ago
Update readme.md

f425055b — pyros2097

7 years ago
expose generate assets again

7b884351 — pyros2097

7 years ago
update logs

ac35a268 — pyros2097

7 years ago
fix registry problem

248743a9 — pyros2097

7 years ago
Merge branch 'master' of github.com:pyros2097/rust-embed

95a6c79e — pyros2097

7 years ago
fix typo

3ce5d7bd — pyros2097

7 years ago
make plugin again

1a712729 — pyros2097

7 years ago
make it proc

b4c45a55 — pyros2097

7 years ago
change lib name

63f22834 — pyros2097

7 years ago
add lib export

af0ee5fe — pyros2097

7 years ago
Update readme.md

84583c8a — pyros2097

7 years ago
Update readme.md

a5b435dd — pyros2097

7 years ago
Update .travis.yml

afca7d59 — pyros2097

7 years ago
Create .travis.yml

b189cbe6 — pyros2097

7 years ago
Update readme.md

ac40a183 — pyros2097

7 years ago
fix cargo checks

5a7a548d — pyros2097

7 years ago
get impl working

26bf2b61 — pyros2097

7 years ago
0.3.0 initial commit

a9b0dfa9 — pyros2097

7 years ago
Update README.md

e65ae2ae — pyros2097

7 years ago
Update README.md

30239788 — pyros2097

7 years ago
Merge pull request #7 from AlexW-GH/master

Add #![allow(clippy)] to generated file
612610ae — AlexW-GH

7 years ago
add #![allow(unknown_lints)]

Due to clippy being an "unknown_lint", this removes the additional warning on builds
7ca262cb — AlexW-GH

7 years ago
Add #![allow(clippy)] to generated file

d95cf309 — pyros2097

8 years ago
fix hyper version

7271b0ef — pyros2097

8 years ago
fix docs

f36533df — pyros2097

8 years ago
make it publish ready

87e6c4f8 — pyros2097

8 years ago
Fix http example

c5943eaf — pyros2097

8 years ago
Fix Readme example

e74a7905 — pyros2097

8 years ago
Improve docs

79a5519b — pyros2097

8 years ago
Merge pull request #5 from msmith491/list-function

Adding asset listing function
7ca3dd13 — Matt Smith

8 years ago
Adding asset listing function

This function returns a Vector of available asset filename strings
with a static lifetime and is available from the generated asset file.

Additionally added a function for generating asset names from
their filepaths.
109d107a — pyros2097

8 years ago
Merge pull request #4 from msmith491/name-fix

Fixing bug in filenames with dashes
0b14084a — pyros2097

8 years ago
Merge branch 'master' into name-fix

4b659678 — pyros2097

8 years ago
Merge pull request #2 from hhatto/use-same-file-name

use file of the same name
6cd870fe — Matt Smith

8 years ago
Fixing bug in filenames with dashes

Filenames with dasesh would not create valid rust identifiers since they
cannot include dashes in the identifier.

Additionally added attribute to turn off unused code warnings and moved
the #[allow(non_upper_case_globals)] to a global attribute
73591efa — pyros2097

8 years ago
Update README.md

7cc08bff — pyros2097

8 years ago
Update README.md

3e1df30f — Hideo Hattori

8 years ago
use file of the same name

d0933af5 — pyros2097

8 years ago
Update README.md

05585237 — pyros2097

9 years ago
Update README.md

cba17f26 — Peter John

9 years ago
Make it work

7177135f — Peter John

9 years ago
initial commit

48814079 — pyros2097

9 years ago
Initial commit