Permalink
Switch branches/tags
Nothing to show
Commits on Jun 24, 2017
  1. Major version bump

    erickt committed Jun 24, 2017
  2. Stop exporting Data's variants; StrVal->String, VecVal->Vec, split Op…

    erickt committed Jun 24, 2017
    …tVal
    
    This updates the Data enum to follow the more standard practice of not
    exporting enum variants. Furthermore, this also renames a few of the
    variants to match a more modern style. So `StrVal` -> `String`,
    `VecVal` -> `Vec`, and `OptVal` is converted into a `Null` variant.
  3. wip: Encode

    erickt committed Jun 24, 2017
  4. Switch over to using serde 1.x

    erickt committed Jun 22, 2017
Commits on Jun 22, 2017
  1. Extract out most of the tests into `tests/`

    erickt committed Jun 19, 2017
    The only tests not extracted are compiler and parser,
    which depend on the private `Token` type.
  2. Merge pull request #50 from ibabushkin/master

    erickt committed Jun 22, 2017
    Added truthy interpretation of nonempty strings
Commits on Jun 17, 2017
  1. I meant rust 1.16 and 1.17

    erickt committed Jun 17, 2017
  2. Stop exporting variants

    erickt committed Jun 17, 2017
    Modern rust doesn't really export variants except in special circumstances.
    There's no strong reason to export these, so this patch just removes them.
  3. Fix some warnings

    erickt committed Jun 17, 2017
  4. Merge pull request #44 from lfairy/cleanup

    erickt committed Jun 17, 2017
    Fix a few compilation warnings
Commits on Mar 18, 2017
Commits on Dec 11, 2016
  1. Partially revert e0535ae

    lfairy committed Dec 11, 2016
    Past versions of Rust have different import semantics so we need these
    extra lines around
  2. Remove `TokenClass::WhiteSpaceNewLine`

    lfairy committed Dec 11, 2016
    While this variant was matched, no part of the code actually constructed
    it. So it should be removed.
Commits on Nov 14, 2016
  1. feat(version): 0.8.0

    Ryman committed Nov 14, 2016
Commits on Jul 15, 2016
  1. Merge pull request #39 from Ryman/issue-35

    Ryman committed Jul 15, 2016
    fix(parser): handle implicit iteration with unescaped interpolation tags
Commits on Jul 14, 2016
Commits on Jul 13, 2016
  1. Merge pull request #36 from Ryman/propagate_errors

    Ryman committed Jul 13, 2016
    This should remove runtime panics in most cases, there are a few bug! panics remaining but if they fire it's likely a logic error in mustache itself rather than a data problem and should be logged & fixed.
    
    There are a number of breaking changes in this changeset, please see individual commits
    for more information.
  2. refactor(encoder): make Encoder internals private

    Ryman committed Jul 13, 2016
    BREAKING CHANGE:
    A `stack` method has been added if you need to access the data.
  3. refactor(encoder): stop exporting all the Error variants

    Ryman committed Jul 13, 2016
    BREAKING CHANGE:
    You now need to access the variants through mustache::encoder::Error::*
  4. refactor(error): disallow exhaustive matching on the library Error types

    Ryman committed Jul 13, 2016
    This means we can add more variants in future without bumping the
    major release version.
    
    BREAKING CHANGE:
    Code which matches on any of the current Error types will need
    to add a new arm which matches `_` to handle all future variants.
  5. feat(rustc): require rust 1.4 due to Result::expect usage

    Ryman committed Jul 2, 2016
    BREAKING CHANGE:
    The new minimum rust version is 1.4!
  6. refactor(error): add an overarching Error type instead of overloading…

    Ryman committed Jul 1, 2016
    … encoder::Error
    
    BREAKING CHANGE:
    Use of encoder::Error should probably be replaced with mustache::Error
  7. style(tests): introduce assert_let macro to remove raw panics from tests

    Ryman committed Jul 1, 2016
    There should be no raw panics left after this commit, except in the macros module!