Ashley Mannix
967b716b5e
try use cargo update again
2019-11-24 13:31:23 +10:00
Ashley Mannix
f9514e4629
fix up build and bump msrv
2019-11-24 09:55:47 +10:00
Yoshua Wuyts
6ad361009e
remove named tests
...
Signed-off-by: Yoshua Wuyts <yoshuawuyts@gmail.com>
2019-11-09 11:23:49 +01:00
Yoshua Wuyts
40b7f3b7b1
better macro names
...
Signed-off-by: Yoshua Wuyts <yoshuawuyts@gmail.com>
2019-11-09 11:23:49 +01:00
Yoshua Wuyts
debccc4913
update macro tests
...
Signed-off-by: Yoshua Wuyts <yoshuawuyts@gmail.com>
2019-11-09 11:23:49 +01:00
Yoshua Wuyts
6dab6ffb54
push broken test
...
Signed-off-by: Yoshua Wuyts <yoshuawuyts@gmail.com>
2019-11-09 11:23:49 +01:00
Yoshua Wuyts
7f2387d7db
add test & fix breakage
...
Signed-off-by: Yoshua Wuyts <yoshuawuyts@gmail.com>
2019-11-09 11:23:49 +01:00
Yoshua Wuyts
0a157f19ee
kodraus feedback
...
Signed-off-by: Yoshua Wuyts <yoshuawuyts@gmail.com>
2019-11-09 11:23:49 +01:00
Yoshua Wuyts
b99c0fb53a
rm dyn mention
...
Signed-off-by: Yoshua Wuyts <yoshuawuyts@gmail.com>
2019-11-09 11:23:48 +01:00
Yoshua Wuyts
20627cbc03
fix tests
...
Signed-off-by: Yoshua Wuyts <yoshuawuyts@gmail.com>
2019-11-09 11:23:48 +01:00
Yoshua Wuyts
17063f07d6
panic if used without feature
...
Signed-off-by: Yoshua Wuyts <yoshuawuyts@gmail.com>
2019-11-09 11:23:48 +01:00
Yoshua Wuyts
e7e8e62c04
add kv support to macros
...
Signed-off-by: Yoshua Wuyts <yoshuawuyts@gmail.com>
2019-11-09 11:23:48 +01:00
Steven Fackler
b366b470a1
Merge pull request #354 from alexcrichton/switch-to-gh-actions
...
Switch from Travis/AppVeyor to GitHub Actions
2019-09-03 13:31:09 -04:00
Alex Crichton
e5a5c8a2eb
Run cargo fmt
2019-09-03 10:24:12 -07:00
Alex Crichton
65921c72cf
Switch from Travis/AppVeyor to GitHub Actions
2019-09-03 10:18:27 -07:00
Ashley Mannix
17cd2f7f65
Merge pull request #352 from yoshuawuyts/inline-doc-kv-value
...
inline docs for kv::value
2019-09-02 08:28:21 +10:00
Yoshua Wuyts
9fdb238af7
inline docs for kv::value
...
Signed-off-by: Yoshua Wuyts <yoshuawuyts@gmail.com>
2019-09-01 11:54:34 +02:00
Steven Fackler
364b9b6ebf
Merge pull request #349 from vmalloc/master
...
Fix documentation for static max_level_xxx filters
2019-08-22 10:41:47 -04:00
Rotem Yaari
eafc1ac916
Fix documentation for static max_level_xxx filters
...
closes #348
2019-08-22 07:20:54 +03:00
Steven Fackler
d3dc8cc586
Merge pull request #347 from juchiast/patch-1
...
Fix struct's name in documentation
2019-08-20 07:25:59 -04:00
Do Duy
cfa10a4749
Fix struct's name in documentation
2019-08-20 14:15:56 +07:00
Ashley Mannix
70b78abf07
Merge pull request #345 from KodrAus/cargo/0.4.8
...
prepare for 0.4.8 release
2019-07-29 07:03:20 +10:00
Ashley Mannix
782d4f7cf1
prepare for 0.4.8 release
2019-07-28 10:59:59 +10:00
Ashley Mannix
b0957eaf14
Merge pull request #344 from sfackler/static-str
...
Dynamically track the 'static-ness of record strings
2019-07-28 10:51:28 +10:00
Steven Fackler
459c59ea0f
Dynamically track the 'static-ness of record strings
...
Logger implementations commonly need to convert a `Record` into a
non-borrowed form to e.g. log it asynchronously on a separate thread.
This allows them to avoid having to allocate owned `String`s for the
module path and file fields, which will in practice almost always be
`'static`.
cc #206
2019-07-26 20:37:21 -07:00
Ashley Mannix
c098145024
Merge pull request #342 from KodrAus/feat/sval-values
...
Add structured support to kv::Value using sval
2019-07-25 07:17:08 +10:00
Ashley Mannix
368a7777dc
test sval feature in CI
...
split consumer builds of MSRV from dev builds
2019-07-17 09:39:58 +10:00
Ashley Mannix
06beb05c42
add sval support for Value
...
bump to 1.31.0
2019-07-16 14:31:40 +10:00
Ashley Mannix
15ccf07784
refactor value layout for easier additional frameworks
2019-07-16 14:27:57 +10:00
Ashley Mannix
e5bfc5459c
Merge pull request #341 from atouchet/travis
...
Update Travis CI URL
2019-07-16 09:08:39 +10:00
Alex Touchet
4628688c01
Update Travis CI URL
2019-07-09 13:08:09 -07:00
Steven Fackler
be6980d5b1
Merge pull request #340 from KodrAus/cargo/0.4.7
...
Prepare for 0.4.7 release
2019-07-09 11:25:58 -07:00
Ashley Mannix
8075b6912d
include kv_unstable feature in docs.rs
2019-07-06 12:02:36 +10:00
Ashley Mannix
af184520e8
prepare for 0.4.7 release
2019-07-06 11:59:53 +10:00
Ashley Mannix
9b71d367a0
Make it easier to create a Value from owned or erased external types ( #339 )
...
* refactor Value internals to avoid needing to buffer
that means doing two things:
1. allowing us to create a value with any lifetime from some owned
primitive, like u8, bool etc
2. allowing us to create a value from some type that _can_ produce
a concrete value we can use, but doesn't guarantee it will live as
long as the value itself
* add test for Fill
2019-07-06 11:41:32 +10:00
Ashley Mannix
a764fdaad8
Merge pull request #338 from dereckson/clean-duplicate-in-readme-for-rust-2018
...
Remove duplicate Rust 2018 documentation
2019-07-06 11:27:46 +10:00
Ashley Mannix
d85209f218
Merge pull request #337 from tmccombs/std-kv-sources
...
Add impls for Source for HashMap and BTreeMap
2019-07-04 07:52:32 +10:00
Ashley Mannix
bcbee9f64f
Merge pull request #336 from tmccombs/kv-error
...
Add conversion to/from io::Error for kv::Error
2019-07-04 07:51:14 +10:00
Sébastien Santoro
aa796fb93c
Remove duplicate Rust 2018 documentation
...
This is a follow-up for changes 0da4245527
and 0f3ffb9d05
.
2019-07-02 14:58:21 +00:00
Thayne McCombs
86748c8f19
Fix error with rustc 1.21
2019-07-01 12:29:32 -06:00
Thayne McCombs
506167c3e7
Add impls for Source for HashMap and BTreeMap
2019-07-01 12:24:00 -06:00
Thayne McCombs
e81509fab1
Add conversion to/from io::Error for kv::Error
...
And keep the original error, so that an io error inside the visitor is
returned accessible by the call to `visit`.
2019-07-01 11:37:12 -06:00
Ashley Mannix
569175ef4d
Merge pull request #335 from KodrAus/feat/source-get
...
Add a Source::get method for finding a single value
2019-07-01 10:12:17 +10:00
Ashley Mannix
11ba139652
add a Source::get method for finding a single value
2019-06-28 13:03:16 +10:00
Steven Fackler
8dbb2f51e9
Merge pull request #333 from johndrinkwater/master
...
Respect padding for LevelFilter Display
2019-05-16 09:22:37 -07:00
John Drinkwater
f9eb14c8a1
Respect padding for LevelFilter Display
...
This mirrors a similar commit fe073054a0
that changed output for Level, it seems sensible if the user wishes to
output the logging filter level to afford the same formatting choices.
2019-05-16 11:10:40 +01:00
David Tolnay
5213657b81
Switch to SPDX 2.1 license expression
2019-05-09 15:33:21 -07:00
Ashley Mannix
533662d167
Merge pull request #330 from dtolnay/edition
...
Update documentation to 2018 edition
2019-05-01 08:14:54 +10:00
David Tolnay
0f3ffb9d05
Update documentation to 2018 edition
2019-04-30 01:33:31 -07:00
David Tolnay
41193b9223
Clean up trailing whitespace
2019-04-30 01:33:21 -07:00